It seems I can reproduce this. I am opening the project "jedit" for the first time, which is of course, in SVN.
Previously, I was using a project that was in GIT, so that was my version control service.
I closed that project (my opening parent group). so far, so good.
But now whenever I open project "jedit" it throws this exception, and it seems it still thinks PV is using GIT for some reason....
[ezust@cerberus] /home/ezust/workspace/jedit/plugins/GitPlugin> 3:27:28 PM [AWT-EventQueue-0] [error] SideKickTree$ActionHandler: SideKick: can't determine mode of current buffer:anchors.xml ($qtbook/doc/)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.ArrayIndexOutOfBoundsException: 9
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at git.GitService.getIcon(GitService.java:95)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at projectviewer.vpt.IconComposer.composeIcon(IconComposer.java:133)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at projectviewer.vpt.VPTCellRenderer.getIcon(VPTCellRenderer.java:105)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at projectviewer.vpt.VPTCellRenderer.getTreeCellRendererComponent(VPTCellRenderer.java:94)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2785)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1495)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1287)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:742)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:108)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:410)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3393)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.Component.firePropertyChange(Component.java:8382)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.JTree.setModel(JTree.java:879)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at projectviewer.ProjectViewer$ProjectLoader$1.run(ProjectViewer.java:1465)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.access$200(EventQueue.java:103)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$3.run(EventQueue.java:694)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$3.run(EventQueue.java:692)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessController.doPrivileged(Native Method)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
3:27:33 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
activity log
So the steps to reproduce.
Exit jEdit with 1 view, with PV open to any project that has the Git version control service.
Run jEdit again. PV should have that project open.
Switch to jEdit (or another project that has the SVN version control service active).
This exception gets thrown, and projectviewer crashes.
can't reproduce this anymore.