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.
Product Version: NetBeans IDE Dev (Build 200803250006) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============= try to refactor - rename form class => AE is thrown. I assigned this issue to openide for evaluation according to stack trace. StackTrace: =========== java.lang.AssertionError at org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:803) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane(MultiViewCloneableTopComponent.java:224) at org.netbeans.modules.form.FormEditorSupport.getEditorPane(FormEditorSupport.java:406) at org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents(JavaCodeGenerator.java:944) at org.netbeans.modules.form.JavaCodeGenerator.regenerateCode(JavaCodeGenerator.java:3376) at org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged(JavaCodeGenerator.java:3845) at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:1268)
Created attachment 59049 [details] 131068
Increasing priority due to consequences in JDA projects. Renaming of form classes in Java Desktopapplication Project causes compilation errors which cannot be simply removed because of guarded blocks But workaround exit. Just check/uncheck "Use Intendation Engine" in advance options and restart corrupted form class. Then compilation is possible.
Form calls getEditorPane() off AWT thread.
Fixed. Modified file: http://hg.netbeans.org/main/rev/83407e33cd37
verified on Product Version: NetBeans IDE Dev (Build 200803302302) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)