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 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)
It seems to be caused by javac failure. See the following stack trace.
Created attachment 58620 [details] full stack trace
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.
fixed as http://hg.netbeans.org/main/rev/95c6a73d4f4a http://hg.netbeans.org/main/nb-javac/rev/d149d10fa7d1
JDK team assigned new bug id to this. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6735320
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)