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.
This bug was originally marked as duplicate of bug 178095, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201004090201) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Linux User Comments: zolta: working with JJTree GUEST: Out of sync error: source file file:/xxxx/test/module/junit/fasttools/jhmi/set/actionui/NameSpaceManagerTest.java ----- Element: ------------------------------------------------------- kind: METHOD, createItems() ----- Tree: ------------------------------------------------------- kind: METHOD private StructureItem[] createItems() { } ----- Offset: ------------------------------------------------------- offset: 1700 ----- Token sequence: ---------------------------------------- TokenSequence for text/x-java/text/x-javadoc at tokenIndex=0. TokenList contains 1 tokens: *[0]: "****************************************\n *****************************************" <1700,1785> OTHER_TEXT[5] DefT, IHC=9334266 ----- Doc instance: ------------------------------------------------------- class: class org.netbeans.modules.java.source.JavadocEnv$JavadocMethod, toString: module.junit.fasttools.jhmi.set.actionui.NameSpaceManagerTest.createItems(), raw text:'' ----- Stack trace: ------------------ GUEST: Just opening any .java file for editing.. here the .jddump file : Out of sync error: source file file:/D:/VSS/33I080002_WebHMI_P2/dis/jhmi/test/module/junit/fasttools/jhmi/set/actionui/NameSpaceManagerTest.java ----- Element: ------------------------------------------------------- kind: METHOD, createItems(fasttools.jhmi.set.actionui.IActionResource,java.lang.String[]) ----- Tree: ------------------------------------------------------- kind: METHOD private StructureItem[] createItems(IActionResource resource, String[] strings) { StructureItem[] mItems = new StructureItem[strings.length]; for (int t = 0; t < strings.length; t++) { try { mItems[t] = new StructureItem(resource, strings[t]); } catch (URISyntaxException ex) { Assert.fail("Failed, but not part of this test"); } } return mItems; } ----- Offset: ------------------------------------------------------- offset: 4092 ----- Token sequence: -------------------------- GUEST: Out of sync error: source file file:/D:/VSS/33I080002_WebHMI_P2/dis/jhmi/test/module/junit/fasttools/jhmi/set/actionui/NameSpaceManagerTest.java ----- Element: ------------------------------------------------------- kind: METHOD, createItems(fasttools.jhmi.set.actionui.IActionResource,java.lang.String[]) ----- Tree: ------------------------------------------------------- kind: METHOD private StructureItem[] createItems(IActionResource resource, String[] strings) { StructureItem[] mItems = new StructureItem[strings.length]; for (int t = 0; t < strings.length; t++) { try { mItems[t] = new StructureItem(resource, strings[t]); } catch (URISyntaxException ex) { Assert.fail("Failed, but not part of this test"); } } return mItems; } ----- Offset: ------------------------------------------------------- offset: 4092 ----- Token sequence: ---------------------------------------- TokenSequence for text/x-java/text/x-javadoc at toke Stacktrace: java.lang.IllegalStateException: Please attach dump file file:/home/zolta/.netbeans/dev/var/log/Parser.jddump to bug. at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError(JavadocCompletionUtils.java:511) at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError(JavadocCompletionUtils.java:593) at org.netbeans.modules.java.editor.javadoc.DocPositions$DocPositionsManager.get(DocPositions.java:520) at org.netbeans.modules.java.editor.javadoc.DocPositions.get(DocPositions.java:86) at org.netbeans.modules.java.editor.javadoc.JavadocImports.computeReferencedElements(JavadocImports.java:116) at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.handleJavadoc(SemanticHighlighter.java:736)
Created attachment 96965 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=167829
Created attachment 96966 [details] stacktrace
Could you please attach the requested dump file to the issue? Thanks.
Created attachment 97541 [details] the requested dump file
Reproducible. Thanks. for the dump file. Raising priority because exception is thrown after each keystroke.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/ca98a728e7ee
Integrated into 'main-golden', will be available in build *201004220200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ca98a728e7ee User: Dusan Balek <dbalek@netbeans.org> Log: Issue #183776: IllegalStateException - fixed.