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 235160 - AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only
Summary: AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from A...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 10:58 UTC by Tomas Danek
Modified: 2013-08-28 13:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203396


Attachments
stacktrace (11.69 KB, text/plain)
2013-08-28 10:58 UTC, Tomas Danek
Details
stacktrace (11.69 KB, text/plain)
2013-08-28 11:40 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2013-08-28 10:58:41 UTC
Build: NetBeans IDE Dev (Build 201308280001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b55, Java(TM) SE Runtime Environment, 1.7.0_40-b42
OS: Mac OS X

User Comments:
musilt2: Appeared after Refactor-rename on source package of maven app (having lot of project files opened n editor) ...reproducible

GUEST: Appeared after Refactor-rename on source package of maven app (having lot of project files opened n editor)




Stacktrace: 
java.lang.AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only
   at org.openide.text.CloneableEditorSupport.getOpenedPanes(CloneableEditorSupport.java:811)
   at org.netbeans.modules.nbform.FormEditorSupport.getFoldState(FormEditorSupport.java:1248)
   at org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents(JavaCodeGenerator.java:999)
   at org.netbeans.modules.form.JavaCodeGenerator.regenerateCode(JavaCodeGenerator.java:3473)
   at org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged(JavaCodeGenerator.java:3976)
   at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:1327)
Comment 1 Tomas Danek 2013-08-28 10:58:43 UTC
Created attachment 139358 [details]
stacktrace
Comment 2 Tomas Danek 2013-08-28 11:00:04 UTC
seems to be reproducible by:
- create new maven java project
- create new package
- create new jframe form in new package
- refactor-rename that package -> AE
Comment 3 Tomas Danek 2013-08-28 11:40:25 UTC
Created attachment 139363 [details]
stacktrace

Plain java app, create JFrame, rename. Reproducible.
Comment 4 Tomas Danek 2013-08-28 11:41:59 UTC
Rising to P2, steps are even more simple and straightforward:
- create new java app
- create new jframe
- rename jframe -> AE
Comment 5 Tomas Pavek 2013-08-28 13:29:55 UTC
http://hg.netbeans.org/jet-main/rev/0e0b26aaef00