org.eclipse.swt.SWTException: Invalid thread access

fordiac | schme | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problems running source code

    fordiac | 8 years ago | schme
    org.eclipse.swt.SWTException: Invalid thread access

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Invalid thread access

      at org.eclipse.swt.SWT.error()
    2. RWT
      Shell.setModified
      1. org.eclipse.swt.SWT.error(SWT.java:3884)
      2. org.eclipse.swt.SWT.error(SWT.java:3799)
      3. org.eclipse.swt.SWT.error(SWT.java:3770)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:463)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:355)
      6. org.eclipse.swt.widgets.Shell.setModified(Shell.java:1648)
      6 frames
    3. Eclipse UI
      BaseSaveAction$1.propertyChanged
      1. org.eclipse.ui.internal.SaveAction.setEnabled(SaveAction.java:111)
      2. org.eclipse.ui.internal.SaveAction.updateState(SaveAction.java:95)
      3. org.eclipse.ui.internal.BaseSaveAction$1.propertyChanged(BaseSaveAction.java:46)
      3 frames
    4. Eclipse UI
      WorkbenchPart.firePropertyChange
      1. org.eclipse.ui.part.WorkbenchPart.firePropertyChange(WorkbenchPart.java:129)
      1 frame
    5. org.fordiac.systemmanagement
      SystemGeneralInformation$1.notifyChanged
      1. org.fordiac.systemmanagement.ui.views.SystemGeneralInformation.setDirty(SystemGeneralInformation.java:72)
      2. org.fordiac.systemmanagement.ui.views.SystemGeneralInformation.access$0(SystemGeneralInformation.java:70)
      3. org.fordiac.systemmanagement.ui.views.SystemGeneralInformation$1.notifyChanged(SystemGeneralInformation.java:51)
      3 frames
    6. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:280)
      1 frame
    7. org.fordiac.ide
      AutomationSystemImpl.setPalette
      1. org.fordiac.ide.model.libraryElement.impl.AutomationSystemImpl.setPalette(AutomationSystemImpl.java:160)
      1 frame
    8. org.fordiac.systemmanagement
      SystemManager$1.resourceChanged
      1. org.fordiac.systemmanagement.SystemManager.loadSystems(SystemManager.java:253)
      2. org.fordiac.systemmanagement.SystemManager.access$1(SystemManager.java:233)
      3. org.fordiac.systemmanagement.SystemManager$1.resourceChanged(SystemManager.java:159)
      3 frames
    9. Core Resource Management
      NotificationManager$2.run
      1. org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
      1 frame
    10. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    11. Core Resource Management
      Project.delete
      1. org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
      2. org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:261)
      3. org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:307)
      4. org.eclipse.core.internal.resources.Resource.broadcastPreDeleteEvent(Resource.java:1821)
      5. org.eclipse.core.internal.resources.Resource.delete(Resource.java:709)
      6. org.eclipse.core.internal.resources.Project.delete(Project.java:309)
      6 frames
    12. org.eclipse.ui
      AbstractWorkspaceOperation$1.run
      1. org.eclipse.ui.ide.undo.WorkspaceUndoUtil.delete(WorkspaceUndoUtil.java:579)
      2. org.eclipse.ui.ide.undo.WorkspaceUndoUtil.delete(WorkspaceUndoUtil.java:171)
      3. org.eclipse.ui.ide.undo.AbstractResourcesOperation.delete(AbstractResourcesOperation.java:119)
      4. org.eclipse.ui.ide.undo.DeleteResourcesOperation.doExecute(DeleteResourcesOperation.java:67)
      5. org.eclipse.ui.ide.undo.AbstractWorkspaceOperation$1.run(AbstractWorkspaceOperation.java:206)
      5 frames
    13. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
      1 frame
    14. org.eclipse.ui
      AbstractWorkspaceOperation.execute
      1. org.eclipse.ui.ide.undo.AbstractWorkspaceOperation.execute(AbstractWorkspaceOperation.java:204)
      1 frame
    15. Eclipse UI
      DeleteResourceAction$5.run
      1. org.eclipse.ui.actions.DeleteResourceAction$5.run(DeleteResourceAction.java:570)
      1 frame
    16. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame