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 161134 - IllegalStateException at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError
Summary: IllegalStateException at org.netbeans.modules.java.editor.javadoc.JavadocComp...
Status: RESOLVED DUPLICATE of bug 139147
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 13:41 UTC by jxt
Modified: 2009-04-08 15:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148240


Attachments
stacktrace (1.42 KB, text/plain)
2009-03-25 13:41 UTC, jxt
Details
stacktrace (1.40 KB, text/plain)
2009-03-25 16:18 UTC, Jiri Prox
Details
dumpfile (4.22 KB, text/plain)
2009-03-25 16:19 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jxt 2009-03-25 13:41:19 UTC
Build: NetBeans IDE Dev (Build 200903230201)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
jirka_x1: deleted api some lines of comments

GUEST: creating a class in mobiity pack

GUEST: Working on a Filter

GUEST: I tried to document an attribute

GUEST: adding javadoc to a constant.

jxt: Adding javadocs, I think.

GUEST: copy & pasted some sourcecode from one class to another

GUEST: tried to delete a comment

jxt: Writing some javadoc comments

GUEST: I writing java doc for an instance field. I had typed
/**
 */

and placed another * and the end resulting in the following comment 
/**
 **/

An at that time the i got an exception

GUEST: creating a comment /***/ in a midlet class.

GUEST: Moved the cusor into an empty javadoc tag



Stacktrace: 
java.lang.IllegalStateException
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError(JavadocCompletionUtils.java:481)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.findJavadoc(JavadocCompletionUtils.java:186)
        at org.netbeans.modules.java.editor.javadoc.JavadocImports.findReferencedElement(JavadocImports.java:242)
        at org.netbeans.modules.java.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:372)
        at org.netbeans.modules.java.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:153)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:681)
Comment 1 jxt 2009-03-25 13:41:28 UTC
Created attachment 78817 [details]
stacktrace
Comment 2 Jiri Prox 2009-03-25 16:18:22 UTC
Build: NetBeans IDE Dev (Build 20090325053257)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Linux, 2.6.24-23-generic, i386

User Comments: 
ISE when editing file

Stacktrace: 
java.lang.IllegalStateException
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError(JavadocCompletionUtils.java:481)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.findJavadoc(JavadocCompletionUtils.java:186)
        at org.netbeans.modules.java.editor.javadoc.JavadocImports.findReferencedElement(JavadocImports.java:242)
        at org.netbeans.modules.java.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:372)
        at org.netbeans.modules.java.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:153)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:681)
Comment 3 Jiri Prox 2009-03-25 16:18:32 UTC
Created attachment 78839 [details]
stacktrace
Comment 4 Jiri Prox 2009-03-25 16:19:56 UTC
Created attachment 78840 [details]
dumpfile
Comment 5 Karol Harezlak 2009-04-07 10:24:18 UTC
It brakes Visual Mobile Designer source code and throws exception while source is edited.
Comment 6 Max Sauer 2009-04-07 14:27:44 UTC
Honzo, please have a look, thanks.
Comment 7 Jan Pokorsky 2009-04-08 15:23:33 UTC
jiriprox: Thanks for dump file! It help us to fix issue 139147.



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