MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
nazgul
Post subject: MacOS X - org.eclipse.swt.SWTException Invalid thread access  PostPosted: Apr 27, 2005 - 07:58 PM
Registered Member
Registered Member


Joined: Apr 27, 2005
Posts: 2

I installed eclipse 3.1
I installed MyEclipse 3.8.4
All seems to work fine, except that invariably I get lots of these dumped out from the java runtime, and after a few minutes, the application faults.

org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:2860)
at org.eclipse.swt.SWT.error(SWT.java:2783)
at org.eclipse.swt.SWT.error(SWT.java:2754)
at org.eclipse.swt.widgets.Display.error(Display.java:933)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:521)
at org.eclipse.swt.widgets.Display.getCursorLocation(Display.java:1165)
at org.eclipse.swt.widgets.Display.mouseHoverProc(Display.java:2543)

As a side effect of the periodic cursor location faults I assume, the interface is very hard to use, it doesn't react to clicks until I jiggle the mouse.

The only oddity I can think of is that I'm using the SideTrack trackpad driver, but the same problem occurs whether I use the trackpad on my laptop, or my Kensington trackpad (sorry, can't test with an Apple mouse--don't have one). But I've never seen any input problems in any other java applications.

(Actually, now that I've looked at the eclipse code, it appears to be dying because it thinks that the threading is incorrect (Duh, that is what the error is saying). It's not clear that this is UI related at all (or MyEclipse related for that matter.)
 
 View user's profile Send private message  
Reply with quote Back to top
nazgul
Post subject: Problem solved (sort of)  PostPosted: Apr 27, 2005 - 09:40 PM
Registered Member
Registered Member


Joined: Apr 27, 2005
Posts: 2

It seems to be related to how the program is started. Double clicking on the Eclipse.app works, using the command-line doesn't seem to, although once I got it working, I didn't fiddle much more.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits