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.
Summary: | [70cat] IllegalArgumentException: Task: org.netbeans.modules.java.editor.fold.JavaElementFoldManager$JavaElementFoldTask@1273129 is already scheduled | ||
---|---|---|---|
Product: | java | Reporter: | anrielgilang |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | abhijeetnayak, aglynn42, asmotrich, Chiana, defascat, eltony81, Geoff_C, gtzabari, imadbougataya, javydreamercsw, jdlee, jiai, jmborer, jonesg1, jskrivanek, Leperous, MackSix, mkhramov, mklaehn, mps77, sigals, ske, supachai, swpalmer, torsten_paul, venelin.valev, waseam |
Priority: | P1 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 172319 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
anrielgilang
2010-12-10 22:51:04 UTC
Created attachment 103956 [details]
stacktrace
Created attachment 104759 [details]
stacktrace
Created attachment 106004 [details]
stacktrace
Opened a small .java file
Created attachment 106785 [details]
stacktrace
Occured after fresh install and opened the very first java editor window.
*** Bug 195151 has been marked as a duplicate of this bug. *** Created attachment 110902 [details]
stacktrace
I opened MessageListWriter.java file from MessageBoard project created from Samples|Web Services|REST Message Board template.
Created attachment 111160 [details]
stacktrace
Created attachment 111259 [details]
stacktrace
Refactoring code between modules.
(http://statistics.netbeans.org/analytics/exception.do?id=529924) I can recreate the problem with the following steps 1) Create new project "A" (Java Application), Create Main Class a.A (NetBeans opens the java file automatically) 2) Context-Menu "Rename..." project to "B", tick the "Also Rename Project Folder" checkbox (NetBeans closes the editor) 3) Open the automatically created class a.A in Java editor again 4) Context-Menu "Refactor->Rename..." the "a" package to "b" I guess it's important to have the file open in the java editor when doing the renames... The exception window is only popping up a second and vanishes again, when repeating the steps, the exception window sometimes stays visible. This is with the 7.1beta on Linux: Product Version: NetBeans IDE 7.1 Beta (Build 201109222201) Java: 1.7.0_147-icedtea; OpenJDK Client VM 21.0-b17 System: Linux version 3.0.0-1-686-pae running on i386; UTF-8; en_US (nb) This bug already has 100 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=172319 Thanks to torsten_paul for a reproducible test case: http://hg.netbeans.org/jet-main/rev/b03c76356e00 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b03c76356e00 User: Jan Lahoda <jlahoda@netbeans.org> Log: #193261: the OpenedEditors.visibleEditors2Files map can apparently contain several entries for one DataObject some rare cases, making sure the DO will appear only once in the getVisibleEditorsFiles(). |