• 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
Sheriff
Posts: 51349
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you found the javadoc for org.eclipse.swt.SWTException?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic