java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Kaj Kandler | 6 years ago
  1. 0

    When I click the "Get SQL Statement ..." button in a Table Input step, I get the following exception and the following dialog has only a node for the database but no tables, etc. This is a regression against 4.1.0, where it worked. (By the way my database connection is based on variables {Source_db}, ${source_db_port}, etc.) java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog.open(GetDatabaseInfoProgressDialog.java:80) at org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerController.createDatabaseNodes(XulDatabaseExplorerController.java:348) at org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerController.init(XulDatabaseExplorerController.java:125) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.initialize(AbstractXulDomContainer.java:157) at org.pentaho.ui.xul.swt.SwtXulRunner$1.run(SwtXulRunner.java:54) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4233) at org.pentaho.ui.xul.swt.SwtXulRunner.initialize(SwtXulRunner.java:51) at org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerDialog.open(XulDatabaseExplorerDialog.java:86) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.getSQL(TableInputDialog.java:514) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.access$500(TableInputDialog.java:72) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog$12.handleEvent(TableInputDialog.java:359) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.open(TableInputDialog.java:389) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7530) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2727) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:691) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1174) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6742) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:558) 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) 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 apple.launcher.LaunchRunner.run(LaunchRunner.java:116) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) Caused by: java.lang.NoSuchMethodError: org.pentaho.di.core.database.Database.getTableMap()Ljava/util/Map; at org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:364) at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:67) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    Pentaho BI Platform Tracking | 6 years ago | Kaj Kandler
    java.lang.reflect.InvocationTargetException
  2. 0

    When I click the "Get SQL Statement ..." button in a Table Input step, I get the following exception and the following dialog has only a node for the database but no tables, etc. This is a regression against 4.1.0, where it worked. (By the way my database connection is based on variables {Source_db}, ${source_db_port}, etc.) java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog.open(GetDatabaseInfoProgressDialog.java:80) at org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerController.createDatabaseNodes(XulDatabaseExplorerController.java:348) at org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerController.init(XulDatabaseExplorerController.java:125) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.initialize(AbstractXulDomContainer.java:157) at org.pentaho.ui.xul.swt.SwtXulRunner$1.run(SwtXulRunner.java:54) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4233) at org.pentaho.ui.xul.swt.SwtXulRunner.initialize(SwtXulRunner.java:51) at org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerDialog.open(XulDatabaseExplorerDialog.java:86) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.getSQL(TableInputDialog.java:514) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.access$500(TableInputDialog.java:72) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog$12.handleEvent(TableInputDialog.java:359) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.open(TableInputDialog.java:389) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7530) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2727) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:691) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1174) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6742) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:558) 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) 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 apple.launcher.LaunchRunner.run(LaunchRunner.java:116) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) Caused by: java.lang.NoSuchMethodError: org.pentaho.di.core.database.Database.getTableMap()Ljava/util/Map; at org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:364) at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:67) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    Pentaho BI Platform Tracking | 6 years ago | Kaj Kandler
    java.lang.reflect.InvocationTargetException
  3. 0

    No such method issue with websockets and spring 4 and tomcat 7

    Stack Overflow | 2 years ago | user1555190
    java.lang.NoSuchMethodError: org.springframework.web.socket.WebSocketSession.getAttributes()Ljava/util/Map;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Migrate JSF 1.2 Seam app to WildFly Beta 1

    Stack Overflow | 3 years ago | Tvori
    java.lang.NoSuchMethodError: javax.faces.context.FacesContext.getAttributes()Ljava/util/Map;
  6. 0

    Does Swagger also work with Jersey 2.x?

    xluat.com | 1 year ago
    java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.pentaho.di.core.database.Database.getTableMap()Ljava/util/Map;

      at org.pentaho.di.core.database.DatabaseMetaInformation.getData()
    2. org.pentaho.di
      GetDatabaseInfoProgressDialog$1.run
      1. org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:364)
      2. org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:67)
      2 frames
    3. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
      1 frame