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 69011 - AIOOBE from org.netbeans.modules.javahelp.JavaHelp.displayInJHelp
Summary: AIOOBE from org.netbeans.modules.javahelp.JavaHelp.displayInJHelp
Status: RESOLVED DUPLICATE of bug 72957
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-11-20 20:31 UTC by _ pkuzel
Modified: 2008-12-22 15:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2005-11-20 20:31:22 UTC
From issue #68917: 
 
I hit F-1 for help.  I got the following exception: 
 
[org.netbeans.modules.javahelp] *********** Exception occurred ************ at 
5:33 PM on Nov 17, 2005 
java.lang.ArrayIndexOutOfBoundsException: 348 >= 333 
        at java.util.Vector.elementAt(Vector.java:432) 
        at 
javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230) 
        at 
javax.help.plaf.basic.BasicIndexNavigatorUI.findID(BasicIndexNavigatorUI.java:623) 
        at 
javax.help.plaf.basic.BasicIndexNavigatorUI.idChanged(BasicIndexNavigatorUI.java:599) 
        at 
javax.help.DefaultHelpModel.fireIDChanged(DefaultHelpModel.java:427) 
        at javax.help.DefaultHelpModel.setCurrentID(DefaultHelpModel.java:162) 
        at javax.help.DefaultHelpModel.setCurrentID(DefaultHelpModel.java:95) 
        at javax.help.JHelp.setCurrentID(JHelp.java:453) 
[catch] at 
org.netbeans.modules.javahelp.JavaHelp.displayInJHelp(JavaHelp.java:740) 
        at org.netbeans.modules.javahelp.JavaHelp.showHelp(JavaHelp.java:371) 
        at org.netbeans.api.javahelp.Help.showHelp(Help.java:44) 
        at 
org.netbeans.modules.javahelp.HelpAction.actionPerformed(HelpAction.java:142) 
        at 
org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:849) 
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2776) 
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2693) 
        at java.awt.Component.processEvent(Component.java:5265) 
        at java.awt.Container.processEvent(Container.java:1966) 
        at java.awt.Component.dispatchEventImpl(Component.java:3955) 
        at java.awt.Container.dispatchEventImpl(Container.java:2024) 
        at java.awt.Component.dispatchEvent(Component.java:3803) 
        at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810) 
        at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:668) 
        at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916) 
        at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794) 
        at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632) 
        at java.awt.Component.dispatchEventImpl(Component.java:3841) 
        at java.awt.Container.dispatchEventImpl(Container.java:2024) 
        at java.awt.Window.dispatchEventImpl(Window.java:1766) 
        at java.awt.Component.dispatchEvent(Component.java:3803) 
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) 
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) 
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) 
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) 
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) 
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 mslama 2005-11-21 17:21:50 UTC
Is it reproducible? It is exception from Java Help.
Comment 2 Marian Mirilovic 2006-01-03 10:54:02 UTC
Too late for NB5.0, please reevaluate.
Comment 3 mslama 2006-01-05 13:44:49 UTC
It looks like some inconsistency in JavaHelp internal data. But as we do not
know how to reproduce it I cannot file useful bug report against JavaHelp. We
can wait if there will be another report and if we can get more info about it.
Closing for now as WORKSFORME. (It is not clear from original report if help set
was changed during invoking JavaHelp. It looks like some internal data was
modified from another thread. But again as there is no way how to reproduce we
cannot confirm it.)
Comment 4 Marian Mirilovic 2006-01-05 16:14:31 UTC
verified, I can't reproduce it
Comment 5 mslama 2006-12-13 16:55:12 UTC
Duplicate
Comment 6 mslama 2006-12-13 16:57:23 UTC

*** This issue has been marked as a duplicate of 72957 ***