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 252521

Summary: AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only
Product: xml Reporter: terje7601
Component: CodeAssignee: Svata Dedic <sdedic>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 188553
Attachments: stacktrace

Description terje7601 2015-05-21 07:15:46 UTC
Build: NetBeans IDE Dev (Build 201504230001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
terje7601: Created an XML Schema file using the wizard & pasted an XML fragment inside

GUEST: added an XSD file as a "other file"

terje7601: And again...

terje7601: Same issue




Stacktrace: 
java.lang.AssertionError: CloneableEditorSupport.getOpenedPanes() must be called from AWT thread only
   at org.openide.text.CloneableEditorSupport.getOpenedPanes(CloneableEditorSupport.java:830)
   at org.netbeans.modules.xml.text.XMLTextRepresentation.updateText(XMLTextRepresentation.java:95)
   at org.netbeans.modules.xml.text.XMLTextRepresentation.update(XMLTextRepresentation.java:160)
   at org.netbeans.modules.xml.sync.SyncSupport.representationChanged(SyncSupport.java:239)
   at org.netbeans.modules.xml.sync.DataObjectSyncSupport.representationChanged(DataObjectSyncSupport.java:92)
   at org.netbeans.modules.xml.text.TextEditorSupport.syncDocument(TextEditorSupport.java:542)
Comment 1 terje7601 2015-05-21 07:15:48 UTC
Created attachment 153777 [details]
stacktrace
Comment 2 Svata Dedic 2015-09-07 15:31:56 UTC
I'll need more precise reproduction steps, sorry.