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 196218 - NullPointerException at org.netbeans.api.java.source.ui.ElementJavadoc.getText
Summary: NullPointerException at org.netbeans.api.java.source.ui.ElementJavadoc.getText
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 196963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-03 10:16 UTC by rov63rus
Modified: 2011-03-30 08:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177199


Attachments
stacktrace (1.63 KB, text/plain)
2011-03-03 10:16 UTC, rov63rus
Details
stacktrace (1.24 KB, text/plain)
2011-03-29 12:30 UTC, dds.dhawal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rov63rus 2011-03-03 10:16:07 UTC
Build: NetBeans IDE Dev (Build 201103020001)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.ui.ElementJavadoc.getText(ElementJavadoc.java:157)
   at org.netbeans.modules.editor.java.JavaCompletionDoc.getText(JavaCompletionDoc.java:78)
   at org.netbeans.modules.editor.completion.DocumentationScrollPane.setDocumentation(DocumentationScrollPane.java:228)
   at org.netbeans.modules.editor.completion.DocumentationScrollPane.setData(DocumentationScrollPane.java:148)
   at org.netbeans.modules.editor.completion.DocumentationScrollPane$HyperlinkAction$1$1.run(DocumentationScrollPane.java:457)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 rov63rus 2011-03-03 10:16:20 UTC
Created attachment 106643 [details]
stacktrace
Comment 2 dds.dhawal 2011-03-29 12:30:59 UTC
Created attachment 107364 [details]
stacktrace

clicked on java doc link in URLEncoder.encode() method
Comment 3 Exceptions Reporter 2011-03-29 12:31:10 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=177199
Comment 4 Dusan Balek 2011-03-29 14:40:05 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/46b326add382
Comment 5 Dusan Balek 2011-03-29 14:42:28 UTC
*** Bug 196963 has been marked as a duplicate of this bug. ***
Comment 6 Quality Engineering 2011-03-30 08:43:56 UTC
Integrated into 'main-golden', will be available in build *201103300400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/46b326add382
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #196218: NullPointerException at org.netbeans.api.java.source.ui.ElementJavadoc.getText - fixed.