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 130169 - IllegalStateException: ' @serialField ' org.netbeans.modules.java.editor.javadoc.DocPositions
Summary: IllegalStateException: ' @serialField ' org.netbeans.modules.java.editor.jav...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL: http://statistics.netbeans.org/except...
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2008-03-14 15:51 UTC by Jiri Prox
Modified: 2009-01-15 21:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 36740


Attachments
full stack trace (2.63 KB, text/plain)
2008-03-18 20:12 UTC, Jan Pokorsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2008-03-14 15:51:16 UTC
Build: NetBeans IDE Dev (Build 20080313092248)
VM: Java HotSpot(TM) Client VM, 11.0-b11
OS: Linux, 2.6.22-14-generic, i386
User comments: ISE thrown when invoking javadoc completion at position marked by |

    /**
     * @serialField |
     */
    int i;


STACKTRACE: (first 10 lines)
java.lang.IllegalStateException: ' @serialField 
'
org.netbeans.modules.java.editor.javadoc.DocPositions@858616
token sequence dump: T[0]: "\n     * " <243,251> OTHER_TEXT[5] DefT, la=1, IHC=2475907
T[1]: "@serialField" <251,263> TAG[1] DefT, la=1, IHC=15020055
*[2]: " \n     " <263,270> OTHER_TEXT[5] DefT, la=1, IHC=12083070

        at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve(DocPositions.java:179)
        at org.netbeans.modules.java.editor.javadoc.DocPositions.getTag(DocPositions.java:111)
        at
org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.resolveOtherText(JavadocCompletionQuery.java:1239)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.analyzeContext(JavadocCompletionQuery.java:241)
        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:665)
        at org.netbeans.api.java.source.JavaSource.runWhenScanFinished(JavaSource.java:797)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.runInJavac(JavadocCompletionQuery.java:172)
Comment 1 Jan Pokorsky 2008-03-18 20:11:51 UTC
It seems to be caused by javac failure. See the following stack trace.
Comment 2 Jan Pokorsky 2008-03-18 20:12:56 UTC
Created attachment 58620 [details]
full stack trace
Comment 3 Jan Pokorsky 2008-03-19 11:48:02 UTC
It is a JDK bug. You can reproduce it if you try to generate javadoc for your source code. I have submitted
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=1209927.
Comment 5 Jan Pokorsky 2008-09-08 12:56:19 UTC
JDK team assigned new bug id to this. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6735320
Comment 6 Jiri Prox 2009-01-15 21:40:47 UTC
verified in
Product Version: NetBeans IDE Dev (Build 20090115032805)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: Linux version 2.6.24-23-generic running on i386; UTF-8; en_US (nb)