Ticket #85 (new defect)

Opened 6 years ago

Last modified 6 years ago

Opening preferences menu crashes CTE

Reported by: mgeske2 Assigned to: adisney2
Priority: critical Milestone: Known Bugs
Component: Global Application Version: 2.0 "Computing Habitat" Edition
Severity: significant Keywords: preferences crash stand-alone
Cc: atack2@ACM.UIUC.EDU, mgeske2@ACM.UIUC.EDU

Description (Last modified by atack2)

When you try to open the preferences page, CTE immediately freezes. No error message is available.

Change History

04/21/06 13:44:24 changed by atack2

  • description changed.
  • cc set to atack2@ACM.UIUC.EDU, mgeske2@ACM.UIUC.EDU.
  • priority changed from major to critical.
  • owner changed from atack2@ACM.UIUC.EDU to adisney2@ACM.UIUC.EDU.
  • milestone set to Known Bugs.
  • keywords set to preferences crash stand-alone.

I've confirmed this. The following stack trace came from the Mac OS X console. The error only occurs when running a stand-alone version of CTE (ergo, not out of Eclipse). The error is almost exactly like the error we had when trying to open a preferences file that doesn't exist yet. The two that we have included in the bundles are workRoom.preferences and CTE.preferences.

I've confirmed this. The following stack trace came from the Mac OS X console:

[LaunchRunner Error] client.CTE.main(String[]) threw an exception:
java.lang.Error: Unresolved compilation problems: 
	The import org.eclipse.core.runtime.ISafeRunnable cannot be resolved
	The import org.eclipse.core.runtime.IStatus cannot be resolved
	The import org.eclipse.core.runtime.Status cannot be resolved
	The method run(new SafeRunnable(){}) is undefined for the type SafeRunnable
	The method run(new SafeRunnable(){}) is undefined for the type SafeRunnable
	Status cannot be resolved to a type
	IStatus cannot be resolved
	ISafeRunnable cannot be resolved to a type
	ISafeRunnable cannot be resolved to a type
	The method run(new SafeRunnable(){}) is undefined for the type SafeRunnable

	at org.eclipse.jface.preference.PreferenceDialog.<init>(PreferenceDialog.java:17)
	at client.CTEPrefDialog.<init>(Unknown Source)
	at client.Window$27.widgetSelected(Unknown Source)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1237)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3060)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2712)
	at client.CTE.main(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
	at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
	at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)