Studio Express Crashes Immediately After Starting

Teradata Studio
N/A

Studio Express Crashes Immediately After Starting

I have Stuodio Express 15 on OSX 10.8.5.  It was running fine until one day Studio Express refused to start.  The application window would appear for a split second then close on its own.  I have tried reinstalling the program and updating my JRE to no avail.  The log from the last session is attached below.  Thanks in advance for your help.

!SESSION 2014-07-22 11:03:15.763 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.6.0_65

java.vendor=Apple Inc.

BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

Framework arguments:  -keyring /Users/user/.eclipse_keyring -showlocation

Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/user/.eclipse_keyring -showlocation

!ENTRY org.eclipse.ui.workbench 2 0 2014-07-22 11:03:21.856

!MESSAGE A handler conflict occurred.  This may disable some commands.

!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2014-07-22 11:03:21.856

!MESSAGE Conflict for 'org.eclipse.ui.window.newEditor':

HandlerActivation(commandId=org.eclipse.ui.window.newEditor,

handler=org.eclipse.ui.internal.handlers.NewEditorHandler,

expression=,sourcePriority=0)

HandlerActivation(commandId=org.eclipse.ui.window.newEditor,

handler=com.teradata.studioexpress.handlers.ShowWhitespaceHandler@33cfa965,

expression=,sourcePriority=0)

!ENTRY org.eclipse.jface 2 0 2014-07-22 11:03:30.430

!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.

!SUBENTRY 1 org.eclipse.jface 2 0 2014-07-22 11:03:30.430

!MESSAGE A conflict occurred for ALT+COMMAND+A:

Binding(ALT+COMMAND+A,

ParameterizedCommand(Command(com.teradata.datatools.dtp.sqltools.resultview.aggregateAction,Aggregates,

,

Category(com.teradata.datatools.dtp.sqltools.resultview.commands.category,Teradata Result View Commands,null,true),

,

,,true),null),

org.eclipse.ui.defaultAcceleratorConfiguration,

com.teradata.datatools.dtp.sqltools.resultview.context,,,system)

Binding(ALT+COMMAND+A,

ParameterizedCommand(Command(org.eclipse.ui.edit.text.toggleBlockSelectionMode,Toggle Block Selection,

Toggle block / column selection in the current text editor,

Category(org.eclipse.ui.category.edit,Edit,null,true),

LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.BlockSelectionModeToggleAction@26cf2781)),

,,true),null),

org.eclipse.ui.defaultAcceleratorConfiguration,

org.eclipse.ui.textEditorScope,,cocoa,system)

!ENTRY org.eclipse.ui 4 0 2014-07-22 11:03:31.199

!MESSAGE Unhandled event loop exception

!STACK 0

java.lang.ClassCastException: com.teradata.datatools.sqldev.history.view.HistoryViewPart cannot be cast to org.eclipse.datatools.connectivity.ui.dse.views.DataSourceExplorerView

at com.teradata.studioexpress.ApplicationWorkbenchAdvisor.setDSEListener(ApplicationWorkbenchAdvisor.java:740)

at com.teradata.studioexpress.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:194)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2636)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at com.teradata.studioexpress.Application.start(Application.java:29)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

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:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.eclipse.ui.workbench 4 0 2014-07-22 11:03:31.207

!MESSAGE Widget disposed too early for part com.teradata.datatools.sqldev.history.views.TeradataSQLHistory

!STACK 0

java.lang.RuntimeException: Widget disposed too early for part com.teradata.datatools.sqldev.history.views.TeradataSQLHistory

at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1299)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:331)

at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:391)

at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1372)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Widget.dispose(Widget.java:662)

at org.eclipse.swt.widgets.Display.release(Display.java:3670)

at org.eclipse.swt.graphics.Device.dispose(Device.java:190)

at com.teradata.studioexpress.Application.start(Application.java:36)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

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:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.eclipse.ui.workbench 4 0 2014-07-22 11:03:31.209

!MESSAGE Widget disposed too early for part com.teradata.datatools.dtp.sqltools.resultview.view.ResultSetView

!STACK 0

java.lang.RuntimeException: Widget disposed too early for part com.teradata.datatools.dtp.sqltools.resultview.view.ResultSetView

at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1299)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:331)

at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:391)

at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1372)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Widget.dispose(Widget.java:662)

at org.eclipse.swt.widgets.Display.release(Display.java:3670)

at org.eclipse.swt.graphics.Device.dispose(Device.java:190)

at com.teradata.studioexpress.Application.start(Application.java:36)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

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:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.eclipse.ui.workbench 4 0 2014-07-22 11:03:31.210

!MESSAGE Widget disposed too early for part com.teradata.datatools.dtp.sqltools.ui.editor.TeradataSQLEditor

!STACK 0

java.lang.RuntimeException: Widget disposed too early for part com.teradata.datatools.dtp.sqltools.ui.editor.TeradataSQLEditor

at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1299)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903)

at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:331)

at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:391)

at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1372)

at org.eclipse.swt.widgets.Widget.release(Widget.java:1302)

at org.eclipse.swt.widgets.Control.release(Control.java:2826)

at org.eclipse.swt.widgets.Widget.dispose(Widget.java:662)

at org.eclipse.swt.widgets.Display.release(Display.java:3670)

at org.eclipse.swt.graphics.Device.dispose(Device.java:190)

at com.teradata.studioexpress.Application.start(Application.java:36)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

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:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.850

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.TaskBarProgressManager$2

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.851

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.851

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.852

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.854

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.855

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.857

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.859

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.861

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.AnimationManager$1

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.862

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.864

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.866

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.867

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.868

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.870

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.871

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.872

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.873

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.874

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.874

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

!ENTRY org.eclipse.core.jobs 2 2 2014-07-22 11:03:31.874

!MESSAGE Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10

1 REPLY
Teradata Employee

Re: Studio Express Crashes Immediately After Starting

Well, you've uncovered an interesting problem.

What has happened is that you apparently closed the "Data Source Explorer" view then quit Studio Express. Each time you run Studio Express, it tries to do something with the Data Source Explorer but, because it had been closed, it accidentally tried using the TeradataSQLHistoryView instead. Thus, the ClassCastException.

The reason that reinstalling the application didn't help is because it is using information in the workspace it created. The workspace is not replaced when reinstalling the application.

What you can do is either remove the workspace and start from scratch. Or remove a file deep inside the workspace.

The workspace is in your home directory: /Users/<youruser>/Documents/SQLA

You can remove that directory and run Studio Express (you might want to save the SQL directory inside it first).

Or you can remove the file:

/Users/<youruser>/Documents/SQLA/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml

If you remove that file, the application will restore itself to its original layout which will include the Data Source Explorer.