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.
To reproduce the bug: Open Javadoc Index Search (e.g. for 1.4.2) Find the word "help" You get helpButtonMnemonic helpButtonText helpButtonToolTipText Click "fast" between helpButtonMnemonic and helpButtonText. Yout get this exception: java.lang.NullPointerException [catch] at javax.swing.JEditorPane$3.run(JEditorPane.java:565) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) regards, josh.
Yes, I can reproduce it smoothly too [winXP, jdk 1.5.0-b64] and it is pretty annoying. The javadoc module can hardly fix this since it delegates showing of url to the HtmlBrowser.setURL that is a part of openide. NPE occurs because the document is missing Document.StreamDescriptionProperty (should be URL). So I would suggest to investigate why the SwingBrowserImpl is resetting that property to null.
Stan, please take care of this, thanks.
fixed Checking in SwingBrowserImpl.java; /cvs/openide/src/org/openide/awt/SwingBrowserImpl.java,v <-- SwingBrowserImpl.java new revision: 1.35; previous revision: 1.34 done
Verified in NetBeans 4.2 Build 200507041800