I was editing build.xml, while the attached exception was thrown. Likely not
Created attachment 26307 [details]
AssertionError: BaseKit.install() incorrectly called from non-AWT thread.
I guess the fix should be to switch to AWT thread somewhere, but it is not
apparent where. javax.swing.JEditorPane.setEditorKit() should be called in AWT,
so the switch should probably be done somewhere in CloneableEditor or
CloneableEditorSupport. However, the Javadoc of these classes does not state
which methods are expected to be called from AWT and which can be called from
RP, reassinging to openide to clarify.
Don't call getOpenedPanes outside of AWT, it may need to construct the UI.
So can it be fixed on the Ant's side? If not reassign back I can try to
workaround it in XmlKit.
And it would also be useful to clarify the Javadoc for getOpenedPanes to say it
must be called in AWT.
Without knowing how to reproduce, I can try a fix and hope I don't deadlock
Fixed w/ issue #58194.