This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From IDE selected Help->Contents and search for some string, this exception occurs everytime you do a new search. java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:427) at javax.swing.tree.VariableHeightLayoutCache.getNode (VariableHeightLayoutCache.java:976) at javax.swing.tree.VariableHeightLayoutCache.getPathClosestTo (VariableHeightLayoutCache.java:315) at javax.swing.plaf.basic.BasicTreeUI.getClosestPathForLocatio n(BasicTreeUI.java:464) at javax.swing.plaf.basic.BasicTreeUI.paint (BasicTreeUI.java:1088) at javax.swing.plaf.metal.MetalTreeUI.paint (MetalTreeUI.java:143) at javax.swing.plaf.ComponentUI.update (ComponentUI.java:142) at javax.swing.JComponent.paintComponent (JComponent.java:537) at javax.swing.JComponent.paint (JComponent.java:804) at javax.swing.JComponent.paintChildren (JComponent.java:643) at javax.swing.JComponent.paintWithOffscreenBuffer (JComponent.java:4742) at javax.swing.JComponent.paintDoubleBuffered (JComponent.java:4688) at javax.swing.JComponent._paintImmediately (JComponent.java:4632) at javax.swing.JComponent.paintImmediately (JComponent.java:4464) at javax.swing.RepaintManager.paintDirtyRegions (RepaintManager.java:410) [catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest. run(SystemEventQueueUtilities.java:117) at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent (EventQueue.java:443) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:191) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:130) at java.awt.EventDispatchThread.run (EventDispatchThread.java:98)
Created attachment 8600 [details] ide log file
This is the second similar stack trace I've seen in 24 hours, involving an NPE when invoking help. In both cases, the RefactorIt module had been installed prior to the problem occuring. I have a sneaking suspicion that this is RefactorIt's bug, not ours (though perhaps there is a vulnerability in the help system that could be managed without throwing exceptions all over the place. Could you try to reproduce this with a clean install/userdir and see if the problem recurs if the foreign module was never installed? Thanks, Tim
I believe it was determined that RefactorIt was had help set problems. If you can reproduce this with a clean userdir and no RefactorIt, please reopen.
This issue never happened after RefactorIT has been removed from the build. So closing this issue.