org.eclipse.swt.SWTException: Invalid thread access

GitHub | MicheleMUC | 11 months 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

    Invalid thread access exception in TablePropertyEditorPresentation

    Eclipse Bugzilla | 2 years ago | konstantin.komissarchik
    org.eclipse.swt.SWTException: Invalid thread access

    1 unregistered visitors

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Invalid thread access

      at org.eclipse.swt.SWT.error()
    2. RWT
      Table.getItems
      1. org.eclipse.swt.SWT.error(SWT.java:4491)
      2. org.eclipse.swt.SWT.error(SWT.java:4406)
      3. org.eclipse.swt.SWT.error(SWT.java:4377)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:482)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:373)
      6. org.eclipse.swt.widgets.Table.getItems(Table.java:2669)
      6 frames
    3. JFace
      ContentViewer$1.labelProviderChanged
      1. org.eclipse.jface.viewers.TableViewer.doGetItems(TableViewer.java:233)
      2. org.eclipse.jface.viewers.AbstractTableViewer.doFindItem(AbstractTableViewer.java:328)
      3. org.eclipse.jface.viewers.TableViewer.doFindItem(TableViewer.java:458)
      4. org.eclipse.jface.viewers.StructuredViewer.findItems(StructuredViewer.java:811)
      5. org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2093)
      6. org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:541)
      7. org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2041)
      8. org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1208)
      9. org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:99)
      9 frames
    4. EMF Edit UI
      AdapterFactoryLabelProvider.notifyChanged
      1. org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.notifyChanged(AdapterFactoryLabelProvider.java:917)
      1 frame
    5. EMF Edit
      ReflectiveItemProvider.notifyChanged
      1. org.eclipse.emf.edit.provider.ChangeNotifier.fireNotifyChanged(ChangeNotifier.java:45)
      2. org.eclipse.emf.edit.provider.ComposedAdapterFactory.fireNotifyChanged(ComposedAdapterFactory.java:469)
      3. org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory.fireNotifyChanged(ReflectiveItemProviderAdapterFactory.java:148)
      4. org.eclipse.emf.edit.provider.ItemProviderAdapter.fireNotifyChanged(ItemProviderAdapter.java:245)
      5. org.eclipse.emf.edit.provider.ReflectiveItemProvider.notifyChanged(ReflectiveItemProvider.java:737)
      5 frames
    6. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    7. net.bhl.cdt
      Agent.run
      1. net.bhl.cdt.paxelerate.model.impl.PassengerImpl.setPositionX(PassengerImpl.java:728)
      2. net.bhl.cdt.paxelerate.model.agent.Agent.followPath(Agent.java:697)
      3. net.bhl.cdt.paxelerate.model.agent.Agent.run(Agent.java:942)
      3 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame