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 204931 - IllegalArgumentException: Task: org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask@66fb8e49 is already scheduled
Summary: IllegalArgumentException: Task: org.netbeans.modules.java.editor.fold.JavaEle...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.1
Hardware: All All
: P1 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-11-10 12:16 UTC by jrwhitley
Modified: 2011-11-14 15:44 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182769


Attachments
stacktrace (6.89 KB, text/plain)
2011-11-10 12:16 UTC, jrwhitley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jrwhitley 2011-11-10 12:16:13 UTC
This bug was originally marked as duplicate of bug 193261, 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 201110310600)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Linux

User Comments:
Geoff_C: Opened a java file for editing, inserted cursor into a line between an annotation and the beginning of a method signature, then hit enter. Moved to the next annotation & method to do the same reformatting and this error message came up. Attempts to cancel the message display a new dialog with the same message.

aajn88: I just had created a JavaFX application...

jskrivanek: I opened MessageListWriter.java file from MessageBoard project created from Samples|Web Services|REST Message Board template.




Stacktrace: 
java.lang.IllegalArgumentException: Task: org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask@66fb8e49 is already scheduled
   at org.netbeans.modules.java.source.JavaSourceAccessor.addPhaseCompletionTask(JavaSourceAccessor.java:186)
   at org.netbeans.api.java.source.JavaSourceTaskFactory$3.addPhaseCompletionTask(JavaSourceTaskFactory.java:234)
   at org.netbeans.api.java.source.JavaSourceTaskFactory.stateChangedImpl(JavaSourceTaskFactory.java:187)
   at org.netbeans.api.java.source.JavaSourceTaskFactory.access$000(JavaSourceTaskFactory.java:81)
   at org.netbeans.api.java.source.JavaSourceTaskFactory$1.run(JavaSourceTaskFactory.java:142)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
Comment 1 jrwhitley 2011-11-10 12:16:17 UTC
Created attachment 113081 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-11-11 08:42:53 UTC
Is this just recent regression ?
Comment 3 Jan Lahoda 2011-11-13 06:53:41 UTC
http://hg.netbeans.org/jet-main/rev/06165f387835
Comment 4 Quality Engineering 2011-11-14 15:44:25 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/06165f387835
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #204931: IllegalArgumentException: Task: org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask@66fb8e49 is already scheduled