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.

  • We install applications as root and run them from normal user accounts (see PMD-537). When we start PME like this, we see an error like this in the console: ERROR 10-07 17:15:23,875 - MQLQueryFactory.ERROR_0006 - Failed to invoke class org.pentaho.pms.mql.MQLQueryImpl java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.pentaho.pms.mql.MQLQueryFactory.getMQLQuery(MQLQueryFactory.java:50) at org.pentaho.pms.mql.MQLQueryFactory.getMQLQuery(MQLQueryFactory.java:35) at org.pentaho.pms.ui.MetaEditor.loadQuery(MetaEditor.java:3807) at org.pentaho.pms.ui.MetaEditor.<init>(MetaEditor.java:315) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3556) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:428) at org.pentaho.pms.core.CWM.getInstance(CWM.java:532) at org.pentaho.pms.core.CWM.getInstance(CWM.java:504) at org.pentaho.pms.mql.MQLQueryImpl.fromXML(MQLQueryImpl.java:455) at org.pentaho.pms.mql.MQLQueryImpl.fromXML(MQLQueryImpl.java:414) at org.pentaho.pms.mql.MQLQueryImpl.<init>(MQLQueryImpl.java:106) ... 9 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.<init>(CWM.java:364) ... 14 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 16 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 17 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 17 more Unable to find kettle engine jar file to set build date. (ignored) ERROR 10-07 17:15:24,175 - Pentaho Metadata Editor - Unable to check for existence of a domain: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. ERROR 10-07 17:15:24,176 - Pentaho Metadata Editor - org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.exists(CWM.java:548) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3575) Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 3 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 4 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 4 more When we try and save a file, it gives this error: CWM.ERROR_0002 - Error getting a handle on the repository. The detailed message for this is: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.exists(CWM.java:548) at org.pentaho.pms.ui.MetaEditor.saveFileAs(MetaEditor.java:2945) at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2930) at org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:492) 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.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:818) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3602) Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 11 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 12 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 12 more
    via by Sridhar Dhanapalan,
  • We install applications as root and run them from normal user accounts (see PMD-537). When we start PME like this, we see an error like this in the console: ERROR 10-07 17:15:23,875 - MQLQueryFactory.ERROR_0006 - Failed to invoke class org.pentaho.pms.mql.MQLQueryImpl java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.pentaho.pms.mql.MQLQueryFactory.getMQLQuery(MQLQueryFactory.java:50) at org.pentaho.pms.mql.MQLQueryFactory.getMQLQuery(MQLQueryFactory.java:35) at org.pentaho.pms.ui.MetaEditor.loadQuery(MetaEditor.java:3807) at org.pentaho.pms.ui.MetaEditor.<init>(MetaEditor.java:315) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3556) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:428) at org.pentaho.pms.core.CWM.getInstance(CWM.java:532) at org.pentaho.pms.core.CWM.getInstance(CWM.java:504) at org.pentaho.pms.mql.MQLQueryImpl.fromXML(MQLQueryImpl.java:455) at org.pentaho.pms.mql.MQLQueryImpl.fromXML(MQLQueryImpl.java:414) at org.pentaho.pms.mql.MQLQueryImpl.<init>(MQLQueryImpl.java:106) ... 9 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.<init>(CWM.java:364) ... 14 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 16 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 17 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 17 more Unable to find kettle engine jar file to set build date. (ignored) ERROR 10-07 17:15:24,175 - Pentaho Metadata Editor - Unable to check for existence of a domain: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. ERROR 10-07 17:15:24,176 - Pentaho Metadata Editor - org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.exists(CWM.java:548) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3575) Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 3 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 4 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 4 more When we try and save a file, it gives this error: CWM.ERROR_0002 - Error getting a handle on the repository. The detailed message for this is: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.exists(CWM.java:548) at org.pentaho.pms.ui.MetaEditor.saveFileAs(MetaEditor.java:2945) at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2930) at org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:492) 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.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:818) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3602) Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 11 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 12 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 12 more
    via by Sridhar Dhanapalan,
  • Exception window at startup
    via by lpino,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.pentaho.pms.mql.MQLQueryFactory.getMQLQuery(MQLQueryFactory.java:50) at org.pentaho.pms.mql.MQLQueryFactory.getMQLQuery(MQLQueryFactory.java:35) at org.pentaho.pms.ui.MetaEditor.loadQuery(MetaEditor.java:3807) at org.pentaho.pms.ui.MetaEditor.<init>(MetaEditor.java:315) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3556) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:428) at org.pentaho.pms.core.CWM.getInstance(CWM.java:532) at org.pentaho.pms.core.CWM.getInstance(CWM.java:504) at org.pentaho.pms.mql.MQLQueryImpl.fromXML(MQLQueryImpl.java:455) at org.pentaho.pms.mql.MQLQueryImpl.fromXML(MQLQueryImpl.java:414) at org.pentaho.pms.mql.MQLQueryImpl.<init>(MQLQueryImpl.java:106) ... 9 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:457) at org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442) at org.pentaho.pms.core.CWM.<init>(CWM.java:364) ... 14 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository. at org.pentaho.pms.core.CWM.getRepository(CWM.java:499) at org.pentaho.pms.core.CWM.getRepository(CWM.java:452) ... 16 more Caused by: org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0003 - Unable to get repository implementation for class [org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory]. at org.pentaho.pms.core.CWM.getRepository(CWM.java:494) ... 17 more Caused by: org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Unable to delete btree repository mdr at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768) at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308) at org.pentaho.pms.core.CWM.getRepository(CWM.java:481) ... 17 more
    No Bugmate found.