java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Bryce Lobdell | 2 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

    (1): Run job with kitchen, using the following command: Kitchen.bat /file:c:\data-diagnostics\PDI\development\zombies\zombies_top.kjb /param:START_DATE=2015-03-01 /param:END_DATE=2015-04-01 Result: Success (2) Add logging step in one of the sub-transforms, to send START_DATE and END_DATE to the console log. Same command line as before. Result: The following exception, with job failure. C:\pentaho-53\pdi-ee\data-integration>"C:\Program Files\Java\jre7\\bin\java.exe" "-Xmx512m" "-XX:MaxPermSize=256m" "-Dja _USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\p taho.di.kitchen.Kitchen /file:c:\data-diagnostics\PDI\development\zombies\zombies_top.kjb /param:START_DATE 2015-03-01 /p Exception in thread "main" java.lang.reflect.InvocationTargetException 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:92) Caused by: java.lang.RuntimeException: Central Log Store is not initialized!!! at org.pentaho.di.core.logging.KettleLogStore.getInstance(KettleLogStore.java:185) at org.pentaho.di.core.logging.KettleLogStore.getAppender(KettleLogStore.java:235) at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122) at org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:166) at org.pentaho.di.pan.CommandLineOption.parseArguments(CommandLineOption.java:418) at org.pentaho.di.kitchen.Kitchen.main(Kitchen.java:197) ... 5 more I'm inclined to think that this will happen any time logging is invoked.

    Pentaho BI Platform Tracking | 2 years ago | Bryce Lobdell
    java.lang.reflect.InvocationTargetException
  2. 0

    (1): Run job with kitchen, using the following command: Kitchen.bat /file:c:\data-diagnostics\PDI\development\zombies\zombies_top.kjb /param:START_DATE=2015-03-01 /param:END_DATE=2015-04-01 Result: Success (2) Add logging step in one of the sub-transforms, to send START_DATE and END_DATE to the console log. Same command line as before. Result: The following exception, with job failure. C:\pentaho-53\pdi-ee\data-integration>"C:\Program Files\Java\jre7\\bin\java.exe" "-Xmx512m" "-XX:MaxPermSize=256m" "-Dja _USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\p taho.di.kitchen.Kitchen /file:c:\data-diagnostics\PDI\development\zombies\zombies_top.kjb /param:START_DATE 2015-03-01 /p Exception in thread "main" java.lang.reflect.InvocationTargetException 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:92) Caused by: java.lang.RuntimeException: Central Log Store is not initialized!!! at org.pentaho.di.core.logging.KettleLogStore.getInstance(KettleLogStore.java:185) at org.pentaho.di.core.logging.KettleLogStore.getAppender(KettleLogStore.java:235) at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122) at org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:166) at org.pentaho.di.pan.CommandLineOption.parseArguments(CommandLineOption.java:418) at org.pentaho.di.kitchen.Kitchen.main(Kitchen.java:197) ... 5 more I'm inclined to think that this will happen any time logging is invoked.

    Pentaho BI Platform Tracking | 2 years ago | Bryce Lobdell
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.RuntimeException

      Central Log Store is not initialized!!!

      at org.pentaho.di.core.logging.KettleLogStore.getInstance()
    2. org.pentaho.di
      Kitchen.main
      1. org.pentaho.di.core.logging.KettleLogStore.getInstance(KettleLogStore.java:185)
      2. org.pentaho.di.core.logging.KettleLogStore.getAppender(KettleLogStore.java:235)
      3. org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122)
      4. org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:166)
      5. org.pentaho.di.pan.CommandLineOption.parseArguments(CommandLineOption.java:418)
      6. org.pentaho.di.kitchen.Kitchen.main(Kitchen.java:197)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame