Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] SWT Apps Crash on Carbon when launched from WebStart

After some investigation I have the following issues:

2.1.2 - SWT Based applications run VERY eradicly, eventually crashing. It will work for a few seconds, and then become very un-responsive. Sometimes the responsivness would come back, sometimes it wouldn't This would occur both when executed from eclipse or when executed from a *.app package.

3M4 & 3M5 - SWT Based applications hang on startup

In all cases the app hangs when executed from a terminal

I am guessing that this is related to my event loop, so here it is:


while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
}

Am I missing something? The app works just fine on windows (though I haven't tested on linux or solaris yet).

Any help would be greatly appreciated.

------------------------------------------------------------------------ --------------------------
Marc Boorshtein
Software Engineer, Octet String
marc.boorshtein@xxxxxxxxxxxxxxx

On Dec 7, 2003, at 4:02 PM, Marc Boorshtein wrote:

I have created an application in SWT utilizing jface that is deployed via webstart. The application runs well during normal execution on OS X Panther, but when started through webstart, the main window opens but no interaction can occur. The log shows the following exception:

org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:2330)
	at org.eclipse.swt.SWT.error(SWT.java:2260)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:545)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:301)
	at org.eclipse.swt.widgets.Control.getShell(Control.java:829)
	at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:1815)
at org.eclipse.swt.widgets.Shell.kEventWindowDeactivated(Shell.java:744)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1524)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:2866)

this problem seems to occur with 2.1.2 and 3M4.  any thoughts?

----------------------------------------------------------------------- ---------------------------
Marc Boorshtein
Software Engineer, Octet String
marc.boorshtein@xxxxxxxxxxxxxxx

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev




Back to the top