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 223123 - 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: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 12:15 UTC by markiewb
Modified: 2012-12-07 02:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195980


Attachments
stacktrace (5.62 KB, text/plain)
2012-12-02 12:15 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2012-12-02 12:15:06 UTC
Build: NetBeans IDE Dev (Build 201211290002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b17
OS: Windows 7

User Comments:
markiewb: Renamed a template file in the "template editor" which is based on an open project.




Stacktrace: 
java.lang.AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only
   at org.openide.text.CloneableEditorSupport.getOpenedPanes(CloneableEditorSupport.java:1230)
   at org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.isFromEditor(CssActionsImplementationProvider.java:222)
   at org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.isCssContext(CssActionsImplementationProvider.java:197)
   at org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.canRename(CssActionsImplementationProvider.java:105)
   at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.canRename(ActionsImplementationFactory.java:75)
   at org.netbeans.modules.refactoring.spi.impl.RenameAction.applicable(RenameAction.java:97)
Comment 1 markiewb 2012-12-02 12:15:09 UTC
Created attachment 128706 [details]
stacktrace
Comment 2 Marek Fukala 2012-12-04 13:31:56 UTC
fixed in web-main#26dee2aa3ee4
Comment 3 Petr Jiricka 2012-12-04 14:04:09 UTC
BTW, what is the outcome of the discusion in bug 186117? Should ec.getOpenedPanes() be deprecated, and should something else be used?
Comment 4 Marek Fukala 2012-12-06 09:39:31 UTC
(In reply to comment #3)
> BTW, what is the outcome of the discusion in bug 186117? Should
> ec.getOpenedPanes() be deprecated, and should something else be used?

I've asked Jarda about this in the issue, but no reply yet.
Comment 5 Quality Engineering 2012-12-07 02:38:16 UTC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/26dee2aa3ee4
User: Marek Fukala <mfukala@netbeans.org>
Log: #223123 - AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only