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.
Build: NetBeans IDE 7.0 (Build 201104211303) VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows 7 User Comments: m_potociar: Clicked on a link in the Javadoc window. Javadoc to javax.ws.rs.core.UriBuilder class, link to application/x-www-form-urlencoded media type Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.ui.ElementJavadoc.getText(ElementJavadoc.java:157) at org.netbeans.modules.java.navigation.DocumentationScrollPane.setDocumentation(DocumentationScrollPane.java:225) at org.netbeans.modules.java.navigation.DocumentationScrollPane.setData(DocumentationScrollPane.java:138) at org.netbeans.modules.java.navigation.DocumentationScrollPane.access$200(DocumentationScrollPane.java:81) at org.netbeans.modules.java.navigation.DocumentationScrollPane$HyperlinkAction$1$1.run(DocumentationScrollPane.java:446) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 108154 [details] stacktrace
2 problems there. The first already fixed in the 46b326add382 - the javadoc may be null. The second is visibility problem EJ is created in other thread then the EJ.getText() is called.
Fixed jet-main 58f6ab2e3576
Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/58f6ab2e3576 User: Tomas Zezula <tzezula@netbeans.org> Log: #198397:NullPointerException at org.netbeans.api.java.source.ui.ElementJavadoc.getText