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 20875 - NPE when getting help on solaris8.
Summary: NPE when getting help on solaris8.
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-26 00:30 UTC by _ hlu
Modified: 2008-12-23 10:49 UTC (History)
3 users (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 _ hlu 2002-02-26 00:30:59 UTC
It happened in build 020225 or solaris8. It did not happen on windows2000. This
is a regression.
How to reproduce:
1. use installer to install ide.
2. start ide.
3. F1 to get help.
The following exception is thrown:

Mon Feb 25 16:26:27 PST 2002: java.util.MissingResourceException: <no message>
Nested annotation: cannot find resource for
org/netbeans/modules/jdbc/docs/JavaHelpSearch2/CHILDREN.TAB
java.lang.NullPointerException
        at
javax.help.plaf.basic.BasicTOCNavigatorUI.merge(BasicTOCNavigatorUI.java:367)
        at javax.help.JHelpTOCNavigator.merge(JHelpTOCNavigator.java:118)
        at javax.help.JHelp.addHelpSet(JHelp.java:322)
        at javax.help.JHelp.setupNavigators(JHelp.java:131)
        at javax.help.JHelp.<init>(JHelp.java:91)
        at javax.help.JHelp.<init>(JHelp.java:63)
        at org.netbeans.core.JavaHelp.createJHelp(JavaHelp.java:634)
        at org.netbeans.core.JavaHelp.showHelp(JavaHelp.java:192)
        at
org.netbeans.core.Help$HelpCtxProcessor$Presenter.actionPerformed(Help.java:923)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
        at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
        at java.awt.Component.processMouseEvent(Component.java:5021)
        at java.awt.Component.processEvent(Component.java:4818)
        at java.awt.Container.processEvent(Container.java:1380)
        at java.awt.Component.dispatchEventImpl(Component.java:3526)
        at java.awt.Container.dispatchEventImpl(Container.java:1437)
        at java.awt.Component.dispatchEvent(Component.java:3367)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
        at java.awt.Container.dispatchEventImpl(Container.java:1423)
        at java.awt.Window.dispatchEventImpl(Window.java:1566)
        at java.awt.Component.dispatchEvent(Component.java:3367)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
        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)
Mon Feb 25 16:26:27 PST 2002: java.util.MissingResourceException: Missing
resource from class: org.netbeans.modules.jdbc.docs.JavaHelpSearch2.CHILDREN
Annotation: Missing resource from class:
org.netbeans.modules.jdbc.docs.JavaHelpSearch2.CHILDREN
Annotation: Key which was not found: 
java.util.MissingResourceException: cannot find resource for
org/netbeans/modules/jdbc/docs/JavaHelpSearch2/CHILDREN.TAB
        at org.openide.util.NbBundle.getLocalizedFile(NbBundle.java:135)
        at org.netbeans.core.Help$NbDocsURLConnection.connect(Help.java:536)
        at
org.netbeans.core.Help$NbDocsURLConnection.getInputStream(Help.java:599)
        at
com.sun.java.help.search.SearchEnvironment.readChildrenData(SearchEnvironment.java:245)
        at
com.sun.java.help.search.SearchEnvironment.readFromDB(SearchEnvironment.java:299)
        at
com.sun.java.help.search.SearchEnvironment.<init>(SearchEnvironment.java:70)
        at com.sun.java.help.search.QueryEngine.<init>(QueryEngine.java:50)
        at
com.sun.java.help.search.DefaultSearchEngine.<init>(DefaultSearchEngine.java:69)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at
javax.help.search.MergingSearchEngine.makeEngine(MergingSearchEngine.java:148)
        at
javax.help.search.MergingSearchEngine.merge(MergingSearchEngine.java:82)
        at javax.help.JHelpSearchNavigator.merge(JHelpSearchNavigator.java:160)
        at javax.help.JHelp.addHelpSet(JHelp.java:322)
        at javax.help.JHelp.setupNavigators(JHelp.java:131)
        at javax.help.JHelp.<init>(JHelp.java:91)
        at javax.help.JHelp.<init>(JHelp.java:63)
        at org.netbeans.core.JavaHelp.createJHelp(JavaHelp.java:634)
        at org.netbeans.core.JavaHelp.showHelp(JavaHelp.java:192)
        at
org.netbeans.core.Help$HelpCtxProcessor$Presenter.actionPerformed(Help.java:923)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
        at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
        at java.awt.Component.processMouseEvent(Component.java:5021)
        at java.awt.Component.processEvent(Component.java:4818)
        at java.awt.Container.processEvent(Container.java:1380)
        at java.awt.Component.dispatchEventImpl(Component.java:3526)
        at java.awt.Container.dispatchEventImpl(Container.java:1437)
        at java.awt.Component.dispatchEvent(Component.java:3367)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
        at java.awt.Container.dispatchEventImpl(Container.java:1423)
        at java.awt.Window.dispatchEventImpl(Window.java:1566)
        at java.awt.Component.dispatchEvent(Component.java:3367)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
        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 Jesse Glick 2002-02-26 11:23:45 UTC
Please file a BugTraq bug against the JDBC module. Or perhaps Patrick
knows what happened.
Comment 2 Patrick Keegan 2002-02-26 11:40:19 UTC
No idea. To my knowledge, nothing changed there. Bob and Radko, FYI. I guess you should expect to see a 
BugTraq issue on this.
Comment 3 _ hlu 2002-02-26 18:50:53 UTC
A new bug has been entered in bugtraq(id=4643326) in help module.
I did not enter the bug in JDBC module as there are two jdbc module(jdbc-client and jdbc-drivers).
Comment 4 Radko Najman 2002-03-12 09:51:30 UTC
Bugtraq category for JDBC module is jdbc-client.
Comment 5 Bob May 2002-03-12 16:38:42 UTC
Radko, this is a problem from an older build. It's been fixed, and is
not specific to JDBC. Please get a newer build and confirm.
Comment 6 Radko Najman 2002-03-13 08:06:30 UTC
Confirm. Cannot reproduce in the latest build.
Comment 7 Bob May 2002-03-13 16:33:02 UTC
Verified, per Radko's confirmation.
Comment 8 Quality Engineering 2003-07-01 16:18:21 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.