org.eclipse.swt.SWTException: Invalid thread access

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sound in the log file for TISTUD-1814 {code} !ENTRY org.eclipse.text 4 2 2012-06-25 13:57:15.427 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.text". !STACK 0 org.eclipse.swt.SWTException: Invalid thread access 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.widgets.Widget.error(Widget.java:774) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:569) at org.eclipse.swt.custom.StyledText.getLinePixel(StyledText.java:4169) at org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:6242) at org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:5612) at org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentAboutToBeChanged(ConsoleDocumentAdapter.java:302) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:665) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1182) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210) at org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82) at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.notifyAppInstallError(AndroidSimulatorLaunchConfigurationDelegate.java:475) at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.handleAppInstallTermination(AndroidSimulatorLaunchConfigurationDelegate.java:335) at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate$1.handleDebugEvents(AndroidSimulatorLaunchConfigurationDelegate.java:279) at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1119) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1153) at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:415) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.swt.SWTException: Invalid thread access
  2. 0

    Sound in the log file for TISTUD-1814 {code} !ENTRY org.eclipse.text 4 2 2012-06-25 13:57:15.427 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.text". !STACK 0 org.eclipse.swt.SWTException: Invalid thread access 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.widgets.Widget.error(Widget.java:774) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:569) at org.eclipse.swt.custom.StyledText.getLinePixel(StyledText.java:4169) at org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:6242) at org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:5612) at org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentAboutToBeChanged(ConsoleDocumentAdapter.java:302) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:665) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1182) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210) at org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82) at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.notifyAppInstallError(AndroidSimulatorLaunchConfigurationDelegate.java:475) at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.handleAppInstallTermination(AndroidSimulatorLaunchConfigurationDelegate.java:335) at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate$1.handleDebugEvents(AndroidSimulatorLaunchConfigurationDelegate.java:279) at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1119) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1153) at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:415) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.swt.SWTException: Invalid thread access
  3. 0

    Invalid Thread Access exceptions

    Eclipse Bugzilla | 9 years ago | mutdosch
    org.eclipse.swt.SWTException: Invalid thread access
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Invalid thread access

      at org.eclipse.swt.SWT.error()
    2. RWT
      StyledText$6.textChanging
      1. org.eclipse.swt.SWT.error(SWT.java:4282)
      2. org.eclipse.swt.SWT.error(SWT.java:4197)
      3. org.eclipse.swt.SWT.error(SWT.java:4168)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:774)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:569)
      6. org.eclipse.swt.custom.StyledText.getLinePixel(StyledText.java:4169)
      7. org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:6242)
      8. org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:5612)
      8 frames
    3. Console
      ConsoleDocumentAdapter.documentAboutToBeChanged
      1. org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentAboutToBeChanged(ConsoleDocumentAdapter.java:302)
      1 frame
    4. JFace Text
      AbstractDocument.replace
      1. org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:665)
      2. org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1182)
      3. org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)
      3 frames
    5. Console
      ConsoleDocument.replace
      1. org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82)
      1 frame
    6. com.appcelerator.titanium
      AndroidSimulatorLaunchConfigurationDelegate$1.handleDebugEvents
      1. com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.notifyAppInstallError(AndroidSimulatorLaunchConfigurationDelegate.java:475)
      2. com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.handleAppInstallTermination(AndroidSimulatorLaunchConfigurationDelegate.java:335)
      3. com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate$1.handleDebugEvents(AndroidSimulatorLaunchConfigurationDelegate.java:279)
      3 frames
    7. Debug Core
      DebugPlugin$EventNotifier.run
      1. org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1119)
      1 frame
    8. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    9. Debug Core
      DebugPlugin$EventDispatchJob.run
      1. org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1153)
      2. org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:415)
      2 frames
    10. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame