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 183776 - IllegalStateException: Please attach dump file file:/home/zolta/.netbeans/dev/var/log/Parser.jddump to bug.
Summary: IllegalStateException: Please attach dump file file:/home/zolta/.netbeans/dev...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 14:21 UTC by zolta
Modified: 2010-04-22 04:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167829


Attachments
stacktrace (3.53 KB, text/plain)
2010-04-09 14:21 UTC, zolta
Details
stacktrace (3.53 KB, text/plain)
2010-04-09 14:42 UTC, zolta
Details
the requested dump file (206.46 KB, text/x-c++)
2010-04-16 14:48 UTC, zolta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zolta 2010-04-09 14:21:16 UTC
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)
Comment 1 zolta 2010-04-09 14:21:22 UTC
Created attachment 96965 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-04-09 14:39:11 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167829
Comment 3 zolta 2010-04-09 14:42:08 UTC
Created attachment 96966 [details]
stacktrace
Comment 4 Dusan Balek 2010-04-15 18:13:46 UTC
Could you please attach the requested dump file to the issue? Thanks.
Comment 5 zolta 2010-04-16 14:48:20 UTC
Created attachment 97541 [details]
the requested dump file
Comment 6 Dusan Balek 2010-04-21 11:47:56 UTC
Reproducible. Thanks. for the dump file. Raising priority because exception is thrown after each keystroke.
Comment 7 Dusan Balek 2010-04-21 12:26:24 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/ca98a728e7ee
Comment 8 Quality Engineering 2010-04-22 04:28:35 UTC
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.