java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Imported,
  • 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}
    via by Imported,
  • when i try to open transformation / jobs via the "Explore repository" on a file based repository i always get following exception: For a job in the root directory: Unable to get object information for object with id=/Job 1.kjb String index out of range: -2 java.lang.reflect.InvocationTargetException: Error loading job at org.pentaho.di.ui.job.dialog.JobLoadProgressDialog$1.run(JobLoadProgressDialog.java:94) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.di.ui.job.dialog.JobLoadProgressDialog.open(JobLoadProgressDialog.java:102) ........ Caused by: org.pentaho.di.core.exception.KettleException: Unable to get object information for object with id=/Job 1.kjb String index out of range: -2 at org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1128) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:1133) at org.pentaho.di.ui.job.dialog.JobLoadProgressDialog$1.run(JobLoadProgressDialog.java:87) ... 48 more Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(Unknown Source) at java.lang.String.substring(Unknown Source) at org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1121) ... 50 more When i try to load a transformation of a subfolder i get: 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:495) at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog.open(TransLoadProgressDialog.java:110) at org.pentaho.di.ui.spoon.Spoon.loadObjectFromRepository(Spoon.java:3283) at org.pentaho.di.ui.spoon.Spoon.access$1800(Spoon.java:291) at org.pentaho.di.ui.spoon.Spoon$19.open(Spoon.java:3225) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.openContent(BrowseController.java:310) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDoubleClick(BrowseController.java:593) ........... Caused by: java.lang.NullPointerException at org.pentaho.di.repository.filerep.KettleFileRepository.loadTransformation(KettleFileRepository.java:1139) at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog$1.run(TransLoadProgressDialog.java:95) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 47 more
    via by Paul Stoellberger,
  • 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.
    via by Sean Flatley,
  • Exception starting debug
    via by boris,
  • NullPointerException in JobManager when searching
    via by ruben.hesselbak,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,