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 131148 - java.lang.IllegalStateException org.netbeans.modules.java.editor.javadoc.DocPositions
Summary: java.lang.IllegalStateException org.netbeans.modules.java.editor.javadoc.DocP...
Status: RESOLVED DUPLICATE of bug 130987
Alias: None
Product: usersguide
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 11:31 UTC by unr303
Modified: 2008-03-26 13:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 40197


Attachments
ide log (100.38 KB, text/plain)
2008-03-26 11:32 UTC, unr303
Details
source (25.88 KB, text/plain)
2008-03-26 11:32 UTC, unr303
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unr303 2008-03-26 11:31:26 UTC
exception occurs when clicking on variable of function or class in source


Build: NetBeans IDE Dev (Build 080325)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b13
OS: Windows Vista, 6.0, x86
User comments: 25 Mar 2008
STACKTRACE: (first 10 lines)
java.lang.IllegalStateException: '@return String object
'
org.netbeans.modules.java.editor.javadoc.DocPositions@1689ca
token sequence dump: T[0]: " " <2904,2905> OTHER_TEXT[5] DefT, IHC=10917044
T[1]: "@return" <2905,2912> TAG[1] DefT, IHC=7128619
T[2]: " " <2912,2913> OTHER_TEXT[5] DefT, IHC=21380500
T[3]: "String" <2913,2919> IDENT[0] DefT, IHC=7652954
T[4]: " " <2919,2920> OTHER_TEXT[5] DefT, IHC=9076626
T[5]: "object" <2920,2926> IDENT[0] DefT, IHC=12410108
*[6]: "\n     " <2926,2932> OTHER_TEXT[5] DefT, IHC=2335941

        at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve(DocPositions.java:189)
        at org.netbeans.modules.java.editor.javadoc.DocPositions.getTags(DocPositions.java:129)
        at org.netbeans.modules.java.editor.javadoc.JavadocImports.computeReferencedElements(JavadocImports.java:115)
        at
org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.handleJavadoc(SemanticHighlighter.java:686)
        at
org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitMethod(SemanticHighlighter.java:872)
        at
org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitMethod(SemanticHighlighter.java:410)
        at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:678)
        at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
        at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:91)
        at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:80)
Comment 1 unr303 2008-03-26 11:32:26 UTC
Created attachment 59120 [details]
ide log
Comment 2 unr303 2008-03-26 11:32:42 UTC
Created attachment 59122 [details]
source
Comment 3 Max Sauer 2008-03-26 13:08:23 UTC

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