Graphic is disposed
Posted: Thu Sep 25, 2014 12:23 pm
Hi
we are using the Eclipse Oxygen Author in Version 15.2
I close a editor tab programmatically. Now I get a SWT.Exception back, which tells me the graphic is disposed.
It is difficult for me to debug, because I can not see which graphic will be disposed to early:
Is it possible, that on your side a graphic will be disposed to earyl?
we are using the Eclipse Oxygen Author in Version 15.2
I close a editor tab programmatically. Now I get a SWT.Exception back, which tells me the graphic is disposed.
It is difficult for me to debug, because I can not see which graphic will be disposed to early:
Code: Select all
Caused by: org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.SWT.error(SWT.java:4168)
at org.eclipse.swt.graphics.Resource.getDevice(Resource.java:81)
at com.oxygenxml.editor.editors.xsd.view.c.ab(Unknown Source)
at com.oxygenxml.editor.editors.xsd.view.c.u(Unknown Source)
at com.oxygenxml.editor.editors.xsd.view.c.<init>(Unknown Source)
at com.oxygenxml.editor.editors.author.s.lnw(Unknown Source)
at ro.sync.ecss.g.ac.rv(Unknown Source)
at ro.sync.ecss.g.ac.qv(Unknown Source)
at ro.sync.ecss.g.ac.ij(Unknown Source)
at ro.sync.ecss.g.u.ij(Unknown Source)
at ro.sync.ecss.g.q.ij(Unknown Source)
at ro.sync.ecss.g.u.ij(Unknown Source)
at ro.sync.ecss.g.q.ij(Unknown Source)
at ro.sync.ecss.g.u.ij(Unknown Source)
at ro.sync.ecss.g.mb.ij(Unknown Source)
at ro.sync.ecss.g.rb.ij(Unknown Source)
at ro.sync.ecss.g.e.ij(Unknown Source)
at ro.sync.ecss.g.e.ij(Unknown Source)
at ro.sync.ecss.g.nb.ij(Unknown Source)
at ro.sync.ecss.component.n.aii(Unknown Source)
at com.oxygenxml.editor.editors.author.s.uzw(Unknown Source)
at com.oxygenxml.editor.editors.author.s.xzw(Unknown Source)
at com.oxygenxml.editor.editors.author.s$10.caretMoved(Unknown Source)
at ro.sync.ecss.component.n.dbj(Unknown Source)
at ro.sync.ecss.component.n.faj(Unknown Source)
at ro.sync.ecss.component.n.oaj(Unknown Source)
at ro.sync.ecss.component.n.sii(Unknown Source)
at ro.sync.ecss.component.n.whi(Unknown Source)
at com.oxygenxml.editor.editors.author.AuthorEditorPage.restoreLastSavedPosition(Unknown Source)
at ro.sync.exml.l.c.b(Unknown Source)
at com.oxygenxml.editor.editors.xml.ob.checkForChange(Unknown Source)
at com.oxygenxml.editor.editors.author.AuthorEditorPage$15$1.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)