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 132927 - NullPointerException at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve
Summary: NullPointerException at org.netbeans.modules.java.editor.javadoc.DocPositions...
Status: RESOLVED DUPLICATE of bug 131826
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 21:10 UTC by misterm
Modified: 2008-04-16 09:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 30187


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2008-04-15 21:10:23 UTC
Build: NetBeans IDE Dev (Build 200802191203)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Windows XP, 5.1, x86
User comments: Just installed new version and was testing the new javadoc comment auto completion feature. I inserted an
author tag then presssed undo and recived this error.
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve(DocPositions.java:168)
        at org.netbeans.modules.java.editor.javadoc.DocPositions.getTag(DocPositions.java:107)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.resolveTagToken(JavadocCompletionQuery.java:253)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.analyzeContext(JavadocCompletionQuery.java:229)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.access$100(JavadocCompletionQuery.java:110)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery$1.run(JavadocCompletionQuery.java:182)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery$1.run(JavadocCompletionQuery.java:174)
        at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:660)
        at org.netbeans.api.java.source.JavaSource.runWhenScanFinished(JavaSource.java:792)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.runInJavac(JavadocCompletionQuery.java:172)
Comment 1 Jiri Prox 2008-04-16 09:01:54 UTC
This should be fixed now in current daily build. See issue 131826

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