java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Sean Flatley | 5 years ago
  1. 0

    The Google Analytics input step has three issues: 1. The step dialog displays the message keys and not the localized messages. This is due to the same package name being used by the "Google Analytics" core step. The plugin refers to the message bundle in that package and does not find the correct messages there. I changed the package name in my checked out plugin, built the plugin and deployed it to the August 1 nightly build. This corrected the problem. 2. Transformation preview does not work. (class: org/pentaho/di/trans/steps/googleanalytics/c, method: a signature: (Lorg/pentaho/di/core/variables/VariableSpace;Lorg/pentaho/di/trans/steps/googleanalytics/GoogleAnalyticsInputMeta;I) Lcom/google/gdata/data/analytics/DataFeed;) Incompatible argument to function with the details: 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.trans.dialog.TransPreviewProgressDialog.open(TransPreviewProgressDialog.java:109) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.preview(SourceFile:530) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.h(SourceFile:67) at org.pentaho.di.ui.trans.steps.googleanalytics.d.handleEvent(SourceFile:350) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.open(SourceFile:377) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7726) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2744) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:693) 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.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.open(SourceFile:377) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7726)being in a hung state. Spoon is not at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2744) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:693) 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.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6938) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 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) Caused by: java.lang.VerifyError: (class: org/pentaho/di/trans/steps/googleanalytics/c, method: a signature: (Lorg/pentaho/di/core/variables/VariableSpace;Lorg/pentaho/di/trans/steps/googleanalytics/GoogleAnalyticsInputMeta;I)Lcom/google/gdata/data/analytics/DataFeed;) Incompatible argument to function at org.pentaho.di.trans.steps.googleanalytics.GoogleAnalyticsInputMeta.getStep(SourceFile:77) at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:587) at org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog.doPreview(TransPreviewProgressDialog.java:135) at org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog.access$000(TransPreviewProgressDialog.java:47) at org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog$1.run(TransPreviewProgressDialog.java:80) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) 3. Running the transformation will result in the transformation seeming to run indefinitely. Spoon does not get in a hung state and the transformation can be closed.

    Pentaho BI Platform Tracking | 5 years ago | Sean Flatley
    java.lang.reflect.InvocationTargetException
  2. 0

    The Google Analytics input step has three issues: 1. The step dialog displays the message keys and not the localized messages. This is due to the same package name being used by the "Google Analytics" core step. The plugin refers to the message bundle in that package and does not find the correct messages there. I changed the package name in my checked out plugin, built the plugin and deployed it to the August 1 nightly build. This corrected the problem. 2. Transformation preview does not work. (class: org/pentaho/di/trans/steps/googleanalytics/c, method: a signature: (Lorg/pentaho/di/core/variables/VariableSpace;Lorg/pentaho/di/trans/steps/googleanalytics/GoogleAnalyticsInputMeta;I) Lcom/google/gdata/data/analytics/DataFeed;) Incompatible argument to function with the details: 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.trans.dialog.TransPreviewProgressDialog.open(TransPreviewProgressDialog.java:109) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.preview(SourceFile:530) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.h(SourceFile:67) at org.pentaho.di.ui.trans.steps.googleanalytics.d.handleEvent(SourceFile:350) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.open(SourceFile:377) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7726) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2744) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:693) 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.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.open(SourceFile:377) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7726)being in a hung state. Spoon is not at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2744) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:693) 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.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6938) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 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) Caused by: java.lang.VerifyError: (class: org/pentaho/di/trans/steps/googleanalytics/c, method: a signature: (Lorg/pentaho/di/core/variables/VariableSpace;Lorg/pentaho/di/trans/steps/googleanalytics/GoogleAnalyticsInputMeta;I)Lcom/google/gdata/data/analytics/DataFeed;) Incompatible argument to function at org.pentaho.di.trans.steps.googleanalytics.GoogleAnalyticsInputMeta.getStep(SourceFile:77) at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:587) at org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog.doPreview(TransPreviewProgressDialog.java:135) at org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog.access$000(TransPreviewProgressDialog.java:47) at org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog$1.run(TransPreviewProgressDialog.java:80) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) 3. Running the transformation will result in the transformation seeming to run indefinitely. Spoon does not get in a hung state and the transformation can be closed.

    Pentaho BI Platform Tracking | 5 years ago | Sean Flatley
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Export to bmp and jpg works for me, but export to png throws this: {code} java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:381) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479) at org.springframework.ide.eclipse.webflow.ui.graph.actions.ExportAction.saveImage(ExportAction.java:170) at org.springframework.ide.eclipse.webflow.ui.graph.actions.ExportAction.run(ExportAction.java:122) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access####2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem####5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator####1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: org.eclipse.swt.SWTException: Unsupported or unrecognized format at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.internal.image.PNGFileFormat.unloadIntoByteStream(PNGFileFormat.java:146) at org.eclipse.swt.internal.image.FileFormat.unloadIntoStream(FileFormat.java:122) at org.eclipse.swt.internal.image.FileFormat.save(FileFormat.java:110) at org.eclipse.swt.graphics.ImageLoader.save(ImageLoader.java:199) at org.springframework.ide.eclipse.webflow.ui.graph.actions.ExportAction.createImage(ExportAction.java:222) at org.springframework.ide.eclipse.webflow.ui.graph.actions.ExportAction####1.execute(ExportAction.java:156) at org.eclipse.ui.actions.WorkspaceModifyOperation####1.run(WorkspaceModifyOperation.java:101) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 30 more {code}

    Spring JIRA | 10 years ago | Imported
    java.lang.reflect.InvocationTargetException

    2 unregistered visitors
    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.reflect.InvocationTargetException

      No message provided

      at org.eclipse.jface.operation.ModalContext.run()
    2. JFace
      ProgressMonitorDialog.run
      1. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
      2. org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
      2 frames
    3. org.pentaho.di
      d.handleEvent
      1. org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog.open(TransPreviewProgressDialog.java:109)
      2. org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.preview(SourceFile:530)
      3. org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.h(SourceFile:67)
      4. org.pentaho.di.ui.trans.steps.googleanalytics.d.handleEvent(SourceFile:350)
      4 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    5. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.open(SourceFile:377)
      2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126)
      3. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7726)
      4. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2744)
      5. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:693)
      5 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    7. org.pentaho.di
      SpoonStepsDelegate.editStep
      1. org.pentaho.di.ui.trans.steps.googleanalytics.GoogleAnalyticsInputDialog.open(SourceFile:377)
      2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126)
      2 frames