java.lang.reflect.InvocationTargetException: Error loading job

Pentaho BI Platform Tracking | Evgeny Minkevich | 5 years ago
  1. 0

    Failure with loading a job from file based repository: Unable to get object information for object with id=/tyro_jde_sync.kjb String index out of range: -2 Repository location: C:\Projects\POS\integration\repository Exception: 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) at org.pentaho.di.ui.spoon.Spoon.loadObjectFromRepository(Spoon.java:3384) at org.pentaho.di.ui.spoon.Spoon.access$1800(Spoon.java:293) at org.pentaho.di.ui.spoon.Spoon$19.open(Spoon.java:3305) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.openContent(BrowseController.java:328) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDoubleClick(BrowseController.java:657) 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:321) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.swt.tags.SwtTree.access$2100(SwtTree.java:95) at org.pentaho.ui.xul.swt.tags.SwtTree$12.doubleClick(SwtTree.java:581) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799) at org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1061) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295) 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.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:129) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3331) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1161) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6725) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545) 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: org.pentaho.di.core.exception.KettleException: Unable to get object information for object with id=/tyro_jde_sync.kjb String index out of range: -2 at org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1140) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:1145) 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(String.java:1937) at java.lang.String.substring(String.java:1904) at org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1133) ... 50 more

    Pentaho BI Platform Tracking | 5 years ago | Evgeny Minkevich
    java.lang.reflect.InvocationTargetException: Error loading job
  2. 0

    Failure with loading a job from file based repository: Unable to get object information for object with id=/tyro_jde_sync.kjb String index out of range: -2 Repository location: C:\Projects\POS\integration\repository Exception: 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) at org.pentaho.di.ui.spoon.Spoon.loadObjectFromRepository(Spoon.java:3384) at org.pentaho.di.ui.spoon.Spoon.access$1800(Spoon.java:293) at org.pentaho.di.ui.spoon.Spoon$19.open(Spoon.java:3305) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.openContent(BrowseController.java:328) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDoubleClick(BrowseController.java:657) 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:321) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.swt.tags.SwtTree.access$2100(SwtTree.java:95) at org.pentaho.ui.xul.swt.tags.SwtTree$12.doubleClick(SwtTree.java:581) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799) at org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1061) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295) 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.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:129) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3331) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1161) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6725) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545) 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: org.pentaho.di.core.exception.KettleException: Unable to get object information for object with id=/tyro_jde_sync.kjb String index out of range: -2 at org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1140) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:1145) 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(String.java:1937) at java.lang.String.substring(String.java:1904) at org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1133) ... 50 more

    Pentaho BI Platform Tracking | 5 years ago | Evgeny Minkevich
    java.lang.reflect.InvocationTargetException: Error loading job
  3. 0

    StringIndexOutOfBoundsException in com.googlecode.sardine.SardineImpl.getResources(SardineImpl.java:221)

    GitHub | 4 years ago | dkocher
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    importing a module from another package throws exception

    GitHub | 3 years ago | cefolger
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  6. 0

    11g B2B Console page rendering issues

    Oracle Community | 6 years ago | Alan3
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 3 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 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.StringIndexOutOfBoundsException

    String index out of range: -2

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1937)
    2. java.lang.String.substring(String.java:1904)
    2 frames
  3. org.pentaho.di
    JobLoadProgressDialog$1.run
    1. org.pentaho.di.repository.filerep.KettleFileRepository.getObjectInformation(KettleFileRepository.java:1133)
    2. org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:1145)
    3. org.pentaho.di.ui.job.dialog.JobLoadProgressDialog$1.run(JobLoadProgressDialog.java:87)
    3 frames
  4. JFace
    ProgressMonitorDialog.run
    1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
    2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    3. org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
    3 frames
  5. org.pentaho.di
    BrowseController.onDoubleClick
    1. org.pentaho.di.ui.job.dialog.JobLoadProgressDialog.open(JobLoadProgressDialog.java:102)
    2. org.pentaho.di.ui.spoon.Spoon.loadObjectFromRepository(Spoon.java:3384)
    3. org.pentaho.di.ui.spoon.Spoon.access$1800(Spoon.java:293)
    4. org.pentaho.di.ui.spoon.Spoon$19.open(Spoon.java:3305)
    5. org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.openContent(BrowseController.java:328)
    6. org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDoubleClick(BrowseController.java:657)
    6 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  7. org.pentaho.ui
    SwtTree$12.doubleClick
    1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321)
    2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135)
    3. org.pentaho.ui.xul.swt.tags.SwtTree.access$2100(SwtTree.java:95)
    4. org.pentaho.ui.xul.swt.tags.SwtTree$12.doubleClick(SwtTree.java:581)
    4 frames
  8. JFace
    OpenStrategy$1.handleEvent
    1. org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
    2. org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154)
    3. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
    4. org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797)
    5. org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1061)
    6. org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173)
    7. org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237)
    8. org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234)
    9. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
    9 frames
  9. 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
  10. JFace
    Window.open
    1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    2. org.eclipse.jface.window.Window.open(Window.java:796)
    2 frames
  11. org.pentaho.ui
    SwtDialog.show
    1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378)
    2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304)
    2 frames
  12. org.pentaho.di
    Spoon$20$1.run
    1. org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:129)
    2. org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3331)
    2 frames
  13. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    4 frames
  14. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1161)
    2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6725)
    3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545)
    3 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  16. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    1 frame