java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Davide Morano | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I receive the message bellow when I try to save any transformation or job in the repository, not always, but sometimes it happens. The biggest problem is that all steps are deleted from the transformation or job an then we loose everything. Look: 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.spoon.dialog.SaveProgressDialog.open(SaveProgressDialog.java:85) at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4292) at org.pentaho.di.ui.spoon.Spoon.saveFileAs(Spoon.java:4364) at org.pentaho.di.ui.spoon.Spoon.saveFileAs(Spoon.java:4344) 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:36) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:83) 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: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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NullPointerException at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow(KettleDatabaseRepositoryConnectionDelegate.java:1647) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobEntryDatabase(KettleDatabaseRepository.java:896) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertJobEntryDatabase(KettleDatabaseRepository.java:564) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.insertJob(KettleDatabaseRepositoryJobDelegate.java:773) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.saveJob(KettleDatabaseRepositoryJobDelegate.java:137) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:323) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:308) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    Pentaho BI Platform Tracking | 6 years ago | Barbara Sabrina
    java.lang.reflect.InvocationTargetException
  2. 0

    Hello, these are the steps for my issue: 1. In the job settings | Log, I've activated the Job logging 2. I create a log table with the SQL button 3. when I save the Job, Spoon produce the following error: java.lang.NullPointerException this is the detail: 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.spoon.dialog.SaveProgressDialog.open(SaveProgressDialog.java:85) at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4292) at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4151) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4122) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4101) 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:36) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:83) 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: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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NullPointerException at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow(KettleDatabaseRepositoryConnectionDelegate.java:1647) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobEntryDatabase(KettleDatabaseRepository.java:896) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertJobEntryDatabase(KettleDatabaseRepository.java:564) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.insertJob(KettleDatabaseRepositoryJobDelegate.java:773) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.saveJob(KettleDatabaseRepositoryJobDelegate.java:137) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:323) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:308) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Note that the job works fine without job log or when I set the log for the "Job entry" and for the "Logging channels".

    Pentaho BI Platform Tracking | 6 years ago | Davide Morano
    java.lang.reflect.InvocationTargetException
  3. 0

    I receive the message bellow when I try to save any transformation or job in the repository, not always, but sometimes it happens. The biggest problem is that all steps are deleted from the transformation or job an then we loose everything. Look: 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.spoon.dialog.SaveProgressDialog.open(SaveProgressDialog.java:85) at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4292) at org.pentaho.di.ui.spoon.Spoon.saveFileAs(Spoon.java:4364) at org.pentaho.di.ui.spoon.Spoon.saveFileAs(Spoon.java:4344) 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:36) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:83) 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: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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NullPointerException at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow(KettleDatabaseRepositoryConnectionDelegate.java:1647) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobEntryDatabase(KettleDatabaseRepository.java:896) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertJobEntryDatabase(KettleDatabaseRepository.java:564) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.insertJob(KettleDatabaseRepositoryJobDelegate.java:773) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.saveJob(KettleDatabaseRepositoryJobDelegate.java:137) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:323) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:308) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    Pentaho BI Platform Tracking | 6 years ago | Barbara Sabrina
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hello, these are the steps for my issue: 1. In the job settings | Log, I've activated the Job logging 2. I create a log table with the SQL button 3. when I save the Job, Spoon produce the following error: java.lang.NullPointerException this is the detail: 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.spoon.dialog.SaveProgressDialog.open(SaveProgressDialog.java:85) at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4292) at org.pentaho.di.ui.spoon.Spoon.saveToRepository(Spoon.java:4151) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4122) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4101) 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:36) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:83) 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: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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NullPointerException at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow(KettleDatabaseRepositoryConnectionDelegate.java:1647) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobEntryDatabase(KettleDatabaseRepository.java:896) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertJobEntryDatabase(KettleDatabaseRepository.java:564) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.insertJob(KettleDatabaseRepositoryJobDelegate.java:773) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.saveJob(KettleDatabaseRepositoryJobDelegate.java:137) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:323) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:308) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Note that the job works fine without job log or when I set the log for the "Job entry" and for the "Logging channels".

    Pentaho BI Platform Tracking | 6 years ago | Davide Morano
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow()
    2. org.pentaho.di
      SaveProgressDialog$1.run
      1. org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow(KettleDatabaseRepositoryConnectionDelegate.java:1647)
      2. org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobEntryDatabase(KettleDatabaseRepository.java:896)
      3. org.pentaho.di.repository.kdr.KettleDatabaseRepository.insertJobEntryDatabase(KettleDatabaseRepository.java:564)
      4. org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.insertJob(KettleDatabaseRepositoryJobDelegate.java:773)
      5. org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobDelegate.saveJob(KettleDatabaseRepositoryJobDelegate.java:137)
      6. org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:323)
      7. org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:308)
      8. org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73)
      8 frames
    3. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
      1 frame