java.lang.reflect.InvocationTargetException

Spring JIRA | Imported | 10 years ago
  1. 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. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    CC: refresh config after deleting plugins causs exceptions

    Eclipse Bugzilla | 1 decade ago | longli
    java.lang.reflect.InvocationTargetException
  5. 0

    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

    Pentaho BI Platform Tracking | 7 years ago | Paul Stoellberger
    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.runInCurrentThread()
    2. JFace
      ProgressMonitorDialog.run
      1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:381)
      2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
      3. org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
      3 frames
    3. org.springframework.ide
      ExportAction.run
      1. org.springframework.ide.eclipse.webflow.ui.graph.actions.ExportAction.saveImage(ExportAction.java:170)
      2. org.springframework.ide.eclipse.webflow.ui.graph.actions.ExportAction.run(ExportAction.java:122)
      2 frames
    4. JFace
      ActionContributionItem.handleWidgetSelection
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
      2 frames