java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Chris Deptula | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When connected to either a file based or an enterprise repository you can get a "This job entry can't be changed!" error message when trying to edit a PMR job entry. The only way to edit the job entry is to copy it to a new job, make your changes, then copy it back to the original job replacing the original version. There is no error within Spoon, but the following error appears in the console. {noformat} 2016/08/02 09:10:42 - Spoon - Spoon java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.getJobEntryDialog(SpoonJobDelegate.java:212) at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.editJobEntry(SpoonJobDelegate.java:257) at org.pentaho.di.ui.spoon.Spoon.editJobEntry(Spoon.java:8619) at org.pentaho.di.ui.spoon.job.JobGraph.editEntry(JobGraph.java:2892) at org.pentaho.di.ui.spoon.job.JobGraph.mouseDoubleClick(JobGraph.java:636) 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:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: org.pentaho.ui.xul.binding.BindingException: Error invoking getter method [getNamedClusters] at org.pentaho.ui.xul.binding.BindingUtil.getMethodReturnType(BindingUtil.java:91) at org.pentaho.ui.xul.binding.DefaultBinding.setupBinding(DefaultBinding.java:242) at org.pentaho.ui.xul.binding.DefaultBinding.bindForward(DefaultBinding.java:215) at org.pentaho.ui.xul.binding.DefaultBinding.initialize(DefaultBinding.java:114) at org.pentaho.ui.xul.binding.DefaultBindingFactory.applyBinding(DefaultBindingFactory.java:44) at org.pentaho.ui.xul.binding.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:69) at org.pentaho.big.data.kettle.plugins.mapreduce.ui.entry.pmr.JobEntryHadoopTransJobExecutorDialog.<init>(JobEntryHadoopTransJobExecutorDialog.java:199) ... 23 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.pentaho.ui.xul.binding.BindingUtil.getMethodReturnType(BindingUtil.java:86) ... 29 more Caused by: java.lang.NullPointerException at org.pentaho.metastore.persist.MetaStoreFactory.getElements(MetaStoreFactory.java:782) at org.pentaho.big.data.impl.cluster.NamedClusterManager.list(NamedClusterManager.java:99) at Proxy2632ba08_dbf8_4e92_8d9a_a8608892fa44.list(Unknown Source) at Proxy7aa4f266_0f79_49a1_a91f_ef10becf1a31.list(Unknown Source) at org.pentaho.big.data.kettle.plugins.mapreduce.ui.entry.pmr.JobEntryHadoopTransJobExecutorController.getNamedClusters(JobEntryHadoopTransJobExecutorController.java:1434) ... 34 more 2016/08/02 09:10:42 - Spoon - ERROR (version 6.1.0.2-208, build 1 from 2016-05-05 12.43.01 by buildguy) : Spoon {noformat}

    Pentaho BI Platform Tracking | 7 months ago | Chris Deptula
    java.lang.reflect.InvocationTargetException
  2. 0

    When PDI job with Pentaho MapReduce entry is saved into Enterprise Repository, gives an error with level "This job entry can't be changed" trying to edit/modify MR entry and is not able to show configuration dialog (only way is to copy Job entry in a new Job, edit and overwrite it). {noformat} java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.getJobEntryDialog(SpoonJobDelegate.java:212) at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.editJobEntry(SpoonJobDelegate.java:257) at org.pentaho.di.ui.spoon.Spoon.editJobEntry(Spoon.java:8619) at org.pentaho.di.ui.spoon.job.JobGraph.editEntry(JobGraph.java:2892) at org.pentaho.di.ui.spoon.job.JobGraph.mouseDoubleClick(JobGraph.java:636) 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:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:662) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: org.pentaho.ui.xul.binding.BindingException: Error invoking getter method [getNamedClusters] at org.pentaho.ui.xul.binding.BindingUtil.getMethodReturnType(BindingUtil.java:91) at org.pentaho.ui.xul.binding.DefaultBinding.setupBinding(DefaultBinding.java:242) at org.pentaho.ui.xul.binding.DefaultBinding.bindForward(DefaultBinding.java:215) at org.pentaho.ui.xul.binding.DefaultBinding.initialize(DefaultBinding.java:114) at org.pentaho.ui.xul.binding.DefaultBindingFactory.applyBinding(DefaultBindingFactory.java:44) at org.pentaho.ui.xul.binding.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:69) at org.pentaho.big.data.kettle.plugins.mapreduce.ui.entry.pmr.JobEntryHadoopTransJobExecutorDialog.<init>(JobEntryHadoopTransJobExecutorDialog.java:199) ... 23 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.ui.xul.binding.BindingUtil.getMethodReturnType(BindingUtil.java:86) ... 29 more Caused by: java.lang.NullPointerException at org.pentaho.metastore.persist.MetaStoreFactory.getElements(MetaStoreFactory.java:779) at org.pentaho.big.data.impl.cluster.NamedClusterManager.list(NamedClusterManager.java:99) at Proxyb851381e_0a70_4315_af60_d51671bfcf69.list(Unknown Source) at Proxyed267545_de96_4b61_8e4a_2fc7f2bb4cda.list(Unknown Source) at org.pentaho.big.data.kettle.plugins.mapreduce.ui.entry.pmr.JobEntryHadoopTransJobExecutorController.getNamedClusters(JobEntryHadoopTransJobExecutorController.java:1434) ... 34 more {noformat}

    Pentaho BI Platform Tracking | 6 months ago | Andrés Miguel Pérez Confortti
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.metastore.persist.MetaStoreFactory.getElements()
    2. org.pentaho.metastore
      MetaStoreFactory.getElements
      1. org.pentaho.metastore.persist.MetaStoreFactory.getElements(MetaStoreFactory.java:782)
      1 frame
    3. org.pentaho.big
      NamedClusterManager.list
      1. org.pentaho.big.data.impl.cluster.NamedClusterManager.list(NamedClusterManager.java:99)
      1 frame
    4. Unknown
      Proxy7aa4f266_0f79_49a1_a91f_ef10becf1a31.list
      1. Proxy2632ba08_dbf8_4e92_8d9a_a8608892fa44.list(Unknown Source)
      2. Proxy7aa4f266_0f79_49a1_a91f_ef10becf1a31.list(Unknown Source)
      2 frames
    5. org.pentaho.big
      JobEntryHadoopTransJobExecutorController.getNamedClusters
      1. org.pentaho.big.data.kettle.plugins.mapreduce.ui.entry.pmr.JobEntryHadoopTransJobExecutorController.getNamedClusters(JobEntryHadoopTransJobExecutorController.java:1434)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. org.pentaho.ui
      DefaultBindingFactory.createBinding
      1. org.pentaho.ui.xul.binding.BindingUtil.getMethodReturnType(BindingUtil.java:86)
      2. org.pentaho.ui.xul.binding.DefaultBinding.setupBinding(DefaultBinding.java:242)
      3. org.pentaho.ui.xul.binding.DefaultBinding.bindForward(DefaultBinding.java:215)
      4. org.pentaho.ui.xul.binding.DefaultBinding.initialize(DefaultBinding.java:114)
      5. org.pentaho.ui.xul.binding.DefaultBindingFactory.applyBinding(DefaultBindingFactory.java:44)
      6. org.pentaho.ui.xul.binding.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:69)
      6 frames
    8. org.pentaho.big
      JobEntryHadoopTransJobExecutorDialog.<init>
      1. org.pentaho.big.data.kettle.plugins.mapreduce.ui.entry.pmr.JobEntryHadoopTransJobExecutorDialog.<init>(JobEntryHadoopTransJobExecutorDialog.java:199)
      1 frame
    9. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    10. org.pentaho.di
      JobGraph.mouseDoubleClick
      1. org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.getJobEntryDialog(SpoonJobDelegate.java:212)
      2. org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.editJobEntry(SpoonJobDelegate.java:257)
      3. org.pentaho.di.ui.spoon.Spoon.editJobEntry(Spoon.java:8619)
      4. org.pentaho.di.ui.spoon.job.JobGraph.editEntry(JobGraph.java:2892)
      5. org.pentaho.di.ui.spoon.job.JobGraph.mouseDoubleClick(JobGraph.java:636)
      5 frames
    11. 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
    12. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663)
      4 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    14. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame