Unhandled Event Loop Exception, Name is Null

Help
2010-05-04
2013-04-29
  • J. Scott Franko

    J. Scott Franko - 2010-05-04

    With a new Galileo SR2 unzip and and an install from the update site (which only has the latest version of sql explorer, 3.5.1SR3b), when I open a sql  editor on a db2 connection through jt400 7.4 driver jar, I can't save the file.   Choosing save as or clicking the save as icon in the editor doesn' t open a save dialog.  In the errors view, get a message of "Unhanded event loop exception" with the the stack trace below.  uninstalled SR3b, and manual dowloaded and installed SR3, got the same thing.  Manually installed original 3.5.1 and it works again.  there is a bug somewhere along the line of SR's that seems to break saving the sql editor:

    java.lang.NullPointerException: Name is null
    at java.lang.Enum.valueOf(Enum.java:195)
    at net.sourceforge.sqlexplorer.IConstants$Confirm.valueOf(IConstants.java:1)
    at net.sourceforge.sqlexplorer.plugin.SQLExplorerPlugin.getConfirm(SQLExplorerPlugin.java:264)
    at net.sourceforge.sqlexplorer.plugin.editors.SQLEditor.doSave(SQLEditor.java:530)
    at net.sourceforge.sqlexplorer.sqleditor.actions.SaveFileAsAction.run(SaveFileAsAction.java:53)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    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:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

     
  • Heiko Hilbert

    Heiko Hilbert - 2010-05-23

    Fixed it in CVS

     
  • Heiko Hilbert

    Heiko Hilbert - 2010-07-31

    Fix is relaesed now with 3.5.1_SR4

     

Log in to post a comment.