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 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)
Created attachment 113081 [details] stacktrace
Is this just recent regression ?
http://hg.netbeans.org/jet-main/rev/06165f387835
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