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 178096 - [68cat] IllegalStateException: Please attach dump file file:/C:/Documents%20and%20Settings/ersmith/.netbeans/dev/var/log/EDFApprovalTypeBean_3.jddump to bug.
Summary: [68cat] IllegalStateException: Please attach dump file file:/C:/Documents%20a...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks: 139147
  Show dependency tree
 
Reported: 2009-12-03 11:11 UTC by esmithbss
Modified: 2010-01-05 08:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163298


Attachments
stacktrace (1.31 KB, text/plain)
2009-12-03 11:11 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-12-03 11:11:41 UTC
This bug was originally marked as duplicate of bug 139147, 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 200911291400)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows XP, 5.1, x86

User Comments:
sdvic: Adding a long row of ****** for a comment

GUEST: deplying the application

bolboln01: deplying my application

GUEST: I was editing code, using the javadoc auto-completion feature.

jonathanramsey: I was half way through adding a new test method to a JUnit test class.

I was just in the middle of typing the method name in this code block:

    /**
     * Handle error from Mayrise lighting web service.
     */
     @Test
     public void handleErrorFrom

then I moved the cursor - either to edit the comment or att the @Test annotation (can't remember which) - then I got the exception in NetBeans.

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

GUEST: Was generating a java doc for a method.  Typed in /** then enter.  The method however had an error next to it in the editor.
    /**
     * 
     */
	
	
       @Test
	public void testSetDigitalHighwayEnabled throws Exception {
	try
	{
	    Integer iPracticeID = 50100;
	    AddressCorrections instance = new AddressCorrections();
	    Connection qbConn = instance.getQbConn();
	    PreparedStatement stmt = qbConn.prepareStatement("Update practice set digital_highway_enabled = 0 where practice_id = ?");
	    stmt.setInt(0, iPracticeID);
	    stmt.execute();
	    PracticeController.getInstance().setDigitalHighwayEnabled(qbConn, iPracticeID);
	}
	catch (SQLException ex)
	{
	    throw ex;
	}

GUEST: After add 
  /** <Enter>

and then delete from 
/**
  *
  */

to obtain this: /**  */

GUEST: tried to delete a comment

GUEST: Juste working as usual, nothing special noticed...

GUEST: Problem occurred after inserting comment with /** then hitting the Enter key.
I inserted the /** between an existing comment part and a nested class.
However the result is as expected.

See code below:

     *******************************************************************************/    <- exists
    /**                                                                                                     <- new
     * 
     */
    private void writeIndent( )                                                                     <- exists

GUEST: Debugging a project, while editing code

bburette: Using SHITF-TAB to unindent code

GUEST: Trying to insert javadoc, removing an empty line of comment.

GUEST: I was browsing a java file, then scrolled down using a mouse.

GUEST: adding javadoc to a constant.

GUEST: Happened when editing the comments for a java file

GUEST: Adding javadoc comment to a private int[] field.

GUEST: java doc of constructor was /** construct me */

marked " construct me " and pressed enter:

/**
 */

is it correctly now as i wanted.

GUEST: !!

javacavaj: Editting JavaDoc method description

GUEST: Adding javadoc to a private method

GUEST: Just writing some code. nothing special.

GUEST: Moved the cusor into an empty javadoc tag

jiriprox: ISE when editing file

GUEST: creating a class in mobiity pack

GUEST: I tried to document an attribute

GUEST: Editing java code.

theshadow27: Commented my own method

with: /** **/ 


       /** Delay object counts ms from a certin time**/
        private class Delay {

            long from;

            /** creates a delay from now */
            public Delay() {
                this(System.currentTimeMillis());
            }

            /** Create a delay, from the given time **/
            public Delay(long from) {
                this.from = from;
            }

            /** How may ms have passed since 'from' */
            public long passed() {
                return System.currentTimeMillis() - from;
            }

            /** Return difference between target delay and the actual delay (min 0)*/
            public long split(long target) {
                return Math.max(target - passed(), 0);
            }
        }

sidlo: editing source code java

theshadow27: Commented my own Javadoc /** **/

GUEST: I've just open a Project

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

kharezlak: While editing Comments in VMD

jirka_x1: deleted api some lines of comments

esmithbss: Editing a Java Bean File

GUEST: Working on a Filter

GUEST: declared a method as

public void switch(int index1, int index2){
}

(switch is a keyword, invalid definition).  I then went to the top of the declaration and typed /** <Enter> to generate the javadocs, and got this exception.

GUEST: I was reading the news when this happened.  I have no idea.

GUEST: Adding comments around a class variable declaration.

Example:

/* Action Commands */
private final String TEST = "test";
/*********/

GUEST: 1. Created a comment like this:

/** **/

2. Went inside the comment an started  typing.

/** .... **/

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: First, enter this in a Java source file:
/** */
(an empty Javadoc comment).
Then, add a third star:
/*** */
And we get a cascade of errors that doesn't end until you delete the third star.

GUEST: working on a comment. not using "strg+return" - as doing it yesterday, I suppose.

GUEST: Deleting a line from comments on a method that has just been renamed to become the class constructor.

GUEST: opened a new java class and added a new comment line ( /**                                                    **/) with no content and hit return.

GUEST: Deleting TODO comment.  Basically had something like this "/**********8 TODO List **************/".
I was deleting the "8 TODO List" by holding the delete key.

GUEST: coding a java comment

GUEST: still coding the same java comment

jxt: Adding javadocs, I think.

GUEST: writing a commentary

GUEST: trying to add comment in my servlet class, after I had deleted the prewriten methods and kept only the doGet()

GUEST: i was making comments on my source code.

GUEST: I've types a line of commnet:
/***********************************************/

Crash happens each time I place the cursor inside the astrisks.

-- might be related to the javadoc's crash on typing /**  */?

GUEST: Deleting pre-existing comments from main in a new blank class.



Stacktrace: 
java.lang.IllegalStateException: Please attach dump file file:/C:/Documents%20and%20Settings/ersmith/.netbeans/dev/var/log/EDFApprovalTypeBean_3.jddump to bug.
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError(JavadocCompletionUtils.java:511)
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.findJavadoc(JavadocCompletionUtils.java:192)
        at org.netbeans.modules.java.editor.javadoc.JavadocImports.findReferencedElement(JavadocImports.java:287)
        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:654)
Comment 1 esmithbss 2009-12-03 11:11:46 UTC
Created attachment 92064 [details]
stacktrace
Comment 2 Max Sauer 2009-12-07 05:56:00 UTC
Honzo, please have a look. Perhaps similar to issue 178095.
Comment 3 Jan Pokorsky 2010-01-05 08:54:10 UTC
Most of reported cases have been already fixed in NB 6.8 and trunk. There has been also added detailed diagnostic (jet-main#904fbc29f393) that generates detailed info to .jddump files. It has been available in development daily builds since 20091126. If you encounter this again it is necessary to attach .jddump file mentioned in the exception to the issue.

The issue with EDFApprovalTypeBean_3.jddump has been fixed as bug 178095.