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.

Bug 30188 - java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
Summary: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-16 20:06 UTC by Srinivas Gundeaboina
Modified: 2008-12-23 10:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (253.74 KB, patch)
2003-01-16 20:08 UTC, Srinivas Gundeaboina
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Srinivas Gundeaboina 2003-01-16 20:06:42 UTC
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)
Comment 1 Srinivas Gundeaboina 2003-01-16 20:08:30 UTC
Created attachment 8600 [details]
ide log file
Comment 2 _ tboudreau 2003-01-17 02:12:46 UTC
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
Comment 3 _ tboudreau 2003-02-27 16:14:33 UTC
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.
Comment 4 Srinivas Gundeaboina 2003-07-19 01:06:29 UTC
This issue never happened after RefactorIT has been removed from the
build.  So closing this issue.