• Post Reply Bookmark Topic Watch Topic
  • New Topic

org.eclipse.swt.SWTException

 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created one thread and in that thread i am creating another thread

but i am getting this exception

org.eclipse.swt.SWTException: Invalid thread access



at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.error(Unknown Source)

at org.eclipse.swt.widgets.Display.checkDevice(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at chrriis.dj.nativeswing.NativeInterfaceHandler.dispatch(NativeInterfac

eHandler.java:300)

at chrriis.dj.nativeswing.NativeInterfaceHandler.runEventPump(NativeInte

rfaceHandler.java:293)

at com.instacoll.livedocuments.oo.userinterface.ManageDocuments.showMana

geApp(ManageDocuments.java:1615)

at com.instacoll.livedocuments.oo.miscellaneous.InstaSecureTray$3$1.run(

InstaSecureTray.java:208)

org.eclipse.swt.SWTException: Invalid thread access

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.error(Unknown Source)

at org.eclipse.swt.widgets.Display.checkDevice(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at chrriis.dj.nativeswing.NativeInterfaceHandler.dispatch(NativeInterfac

eHandler.java:300)

at chrriis.dj.nativeswing.NativeInterfaceHandler.runEventPump(NativeInte

rfaceHandler.java:293)

at com.instacoll.livedocuments.oo.userinterface.ManageDocuments.showMana

geApp(ManageDocuments.java:1615)

at com.instacoll.livedocuments.oo.miscellaneous.InstaSecureTray$3$1.run(

InstaSecureTray.java:208)

org.eclipse.swt.SWTException: Invalid thread access

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.widgets.Display.error(Unknown Source)

at org.eclipse.swt.widgets.Display.checkDevice(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at chrriis.dj.nativeswing.NativeInterfaceHandler.dispatch(NativeInterfac

eHandler.java:300)

at chrriis.dj.nativeswing.NativeInterfaceHandler.runEventPump(NativeInte

rfaceHandler.java:293)
[ May 19, 2008: Message edited by: ramesh kancherla ]
 
Campbell Ritchie
Marshal
Posts: 53180
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you found the javadoc for org.eclipse.swt.SWTException?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!