Barry LaFond created TEIIDDES-1701:
--------------------------------------
Summary: Deleting model open in dirty editor results in
org.eclipse.swt.SWTException: Invalid thread access
Key: TEIIDDES-1701
URL:
https://issues.jboss.org/browse/TEIIDDES-1701
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 8.2
Reporter: Barry LaFond
Fix For: 8.2
1) Open Model in Editor
2) edit the model to make dirty (move object in diagram)
3) Select Model in Explorer and click DELETE
4) Get exception:
Root exception:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Display.error(Display.java:1157)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:749)
at org.eclipse.swt.widgets.Display.getShells(Display.java:1939)
at
org.eclipse.ui.internal.progress.ProgressManagerUtil.getModalShellExcluding(ProgressManagerUtil.java:286)
at
org.eclipse.ui.internal.progress.ProgressManagerUtil.getDefaultParent(ProgressManagerUtil.java:340)
at
org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:950)
at
org.eclipse.ui.internal.SaveableHelper.waitForBackgroundSaveJobs(SaveableHelper.java:463)
at org.eclipse.ui.internal.SaveablesList.promptForSaving(SaveablesList.java:466)
at org.eclipse.ui.internal.Workbench.saveAll(Workbench.java:3291)
at org.teiid.designer.ui.common.util.UiUtil.saveDirtyEditors(UiUtil.java:534)
at
org.teiid.designer.ui.refactor.AbstractResourcesRefactoring.closeDirtyEditors(AbstractResourcesRefactoring.java:163)
at
org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.checkInitialConditions(DeleteResourcesRefactoring.java:138)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira