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.

  • 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}
    via by Andrés Miguel Pérez Confortti,
  • 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}
    via by Chris Deptula,
    • 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
    No Bugmate found.