Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-8659

Spoon throws an exception attempting to shut down MonetDB when shut down by the window's close widget: the (x) in the upper right corner.

    Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      To repro:

      • Start spoon and get to where the Data Integration perspective is displaying the Welcome screen.
      • Close Spoon by clicking the Windows "Close Window" widget.

      The following exception is thrown:

      ERROR 02-10 16:28:49,225 - unable to read properties from /home/sflatley/.kettle/instaview/dbfarm: No such file or directory

      ERROR 02-10 16:28:49,225 - InstaService.ERROR_COUL - Could not stop MonetDB.
      java.lang.IllegalStateException: MonetDB.ERROR_COUL - MonetDB failed to shutdown.
      at org.pentaho.agilebi.insta.MonetDbUtil.stop(MonetDbUtil.java:233)
      at org.pentaho.agilebi.insta.InstaviewLifecycleListener.unLoaded(InstaviewLifecycleListener.java:56)
      at org.pentaho.platform.plugin.services.pluginmgr.PlatformPlugin.unLoaded(PlatformPlugin.java:201)
      at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.unloadPlugins(DefaultPluginManager.java:88)
      at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.unloadAllPlugins(DefaultPluginManager.java:515)
      at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.shutdown(PluginAdapter.java:49)
      at org.pentaho.platform.engine.core.system.PentahoSystem.shutdown(PentahoSystem.java:793)
      at org.pentaho.platform.web.http.context.SolutionContextListener.contextDestroyed(SolutionContextListener.java:215)
      at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599)
      at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:505)
      at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
      at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169)
      at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
      at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
      at org.mortbay.jetty.Server.doStop(Server.java:283)
      at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
      at org.pentaho.agilebi.platform.JettyServer.stopServer(JettyServer.java:86)
      at org.pentaho.di.core.lifecycle.pdi.AgileBILifecycleListener.onExit(AgileBILifecycleListener.java:104)
      at org.pentaho.di.core.lifecycle.LifecycleSupport.onExit(LifecycleSupport.java:70)
      at org.pentaho.di.ui.spoon.Spoon.quitFile(Spoon.java:4311)
      at org.pentaho.di.ui.spoon.Spoon.widgetDisposed(Spoon.java:8310)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.release(Unknown Source)
      at org.eclipse.swt.widgets.Control.release(Unknown Source)
      at org.eclipse.swt.widgets.Widget.dispose(Unknown Source)
      at org.eclipse.swt.widgets.Shell.dispose(Unknown Source)
      at org.eclipse.jface.window.Window.close(Window.java:330)
      at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:306)
      at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:736)
      at org.eclipse.jface.window.Window$3.shellClosed(Window.java:682)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Shell.closeWidget(Unknown Source)
      at org.eclipse.swt.widgets.Shell.gtk_delete_event(Unknown Source)
      at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source)
      at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
      at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
      at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Unknown Source)
      at org.eclipse.swt.widgets.Display.eventProc(Unknown Source)
      at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
      at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8298)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
      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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

        Activity

        Hide
        jbleuel Jens Bleuel added a comment -

        I'm not able to reproduce this in yesterdays build (pdi-ee-4.4.0-NIGHTLY-130), may be a new issue from today.

        Show
        jbleuel Jens Bleuel added a comment - I'm not able to reproduce this in yesterdays build (pdi-ee-4.4.0-NIGHTLY-130), may be a new issue from today.
        Hide
        mburgess Matt Burgess added a comment -

        I'm not able to reproduce this in pdi-ee-4.4.0-NIGHTLY-134 on Windows 7

        Show
        mburgess Matt Burgess added a comment - I'm not able to reproduce this in pdi-ee-4.4.0-NIGHTLY-134 on Windows 7
        Hide
        sflatley Sean Flatley (Inactive) added a comment -

        To validate start spoon and then exit. The error message about attempting to close MonetDB should no longer be in Spoon's console output.

        Show
        sflatley Sean Flatley (Inactive) added a comment - To validate start spoon and then exit. The error message about attempting to close MonetDB should no longer be in Spoon's console output.
        Hide
        gdavid Golda Thomas added a comment - - edited

        Tested this in the pdi 4.4 nightly build on 10/05/2012.

        When spoon closes not seeing any exception about MonetDB shutdown.

        This issue is resolved.

        Show
        gdavid Golda Thomas added a comment - - edited Tested this in the pdi 4.4 nightly build on 10/05/2012. When spoon closes not seeing any exception about MonetDB shutdown. This issue is resolved.
        Hide
        gdavid Golda Thomas added a comment -

        Tested this issue using the pdi 4.4 nightly build on 10/05 on ubuntu and windows and this issue is resolved.

        Show
        gdavid Golda Thomas added a comment - Tested this issue using the pdi 4.4 nightly build on 10/05 on ubuntu and windows and this issue is resolved.

          People

          • Assignee:
            gdavid Golda Thomas
            Reporter:
            sflatley Sean Flatley (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: