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 203855 - 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: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 19:18 UTC by Jesse Glick
Modified: 2011-10-24 14:07 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182071


Attachments
stacktrace (5.25 KB, text/plain)
2011-10-17 19:18 UTC, Jesse Glick
Details
stacktrace (4.50 KB, text/plain)
2011-10-18 14:08 UTC, javydreamercsw
Details
stacktrace (5.25 KB, text/plain)
2011-10-18 15:26 UTC, Jesse Glick
Details
stacktrace (4.50 KB, text/plain)
2011-10-20 08:41 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-10-17 19:18:26 UTC
Build: NetBeans IDE Dev (Build 20111017-30e8a9bbbbe8)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

User Comments:
jglick: Trying to run focused test.




Stacktrace: 
java.lang.AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only
   at org.openide.text.CloneableEditorSupport.getOpenedPanes(CloneableEditorSupport.java:1122)
   at org.netbeans.modules.junit.actions.TestMethodAction.getTestMethod(TestMethodAction.java:98)
   at org.netbeans.modules.junit.actions.TestMethodAction.access$000(TestMethodAction.java:60)
   at org.netbeans.modules.junit.actions.TestMethodAction$1.run(TestMethodAction.java:80)
   at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:151)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
Comment 1 Jesse Glick 2011-10-17 19:18:31 UTC
Created attachment 112149 [details]
stacktrace
Comment 2 javydreamercsw 2011-10-18 14:08:49 UTC
Created attachment 112180 [details]
stacktrace

Trying to run a focused test.
Comment 3 Jesse Glick 2011-10-18 15:26:49 UTC
Created attachment 112186 [details]
stacktrace

Cannot run a single JUnit test.
Comment 4 Jan Lahoda 2011-10-20 08:41:56 UTC
Created attachment 112245 [details]
stacktrace
Comment 5 Exceptions Reporter 2011-10-20 08:42:08 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182071
Comment 6 Jan Lahoda 2011-10-20 08:57:20 UTC
http://hg.netbeans.org/jet-main/rev/83d34d478374
Comment 7 Quality Engineering 2011-10-24 14:07:32 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/83d34d478374
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #203855: correcting synchronization so that AWT-only methods are really called from the AWT thread.