org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository.

Pentaho BI Platform Tracking | Sridhar Dhanapalan | 7 years ago
  1. 0

    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

    Pentaho BI Platform Tracking | 7 years ago | Sridhar Dhanapalan
    org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository.
  2. 0

    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

    Pentaho BI Platform Tracking | 7 years ago | Sridhar Dhanapalan
    org.pentaho.pms.core.exception.CWMException: CWM.ERROR_0002 - Error getting a handle on the repository.
  3. 0

    Unable to Import the XMI metadata Second time.

    Oracle Community | 7 years ago | 843834
    org.netbeans.mdr.util.DebugException: Boot failed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception window at startup

    Netbeans Bugzilla | 1 decade ago | lpino
    org.netbeans.mdr.util.DebugException: Fatal error: Repository boot/initialization failed with message: Bad Magic Number 0 in header at offset 1,634,497,893
  6. 0

    DebugException when safe deleting data type

    Netbeans Bugzilla | 1 decade ago | jiriprox
    org.netbeans.mdr.util.DebugException: Invalid key at org.netbeans.mdr.storagemodel.MdrStorage.getObjectsFromIndex(MdrStorage.java:725)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.netbeans.mdr
      NBMDRepositoryImpl.getExtent
      1. org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:768)
      2. org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:308)
      2 frames
    3. org.pentaho.pms
      MetaEditor$13.handleEvent
      1. org.pentaho.pms.core.CWM.getRepository(CWM.java:481)
      2. org.pentaho.pms.core.CWM.getRepository(CWM.java:452)
      3. org.pentaho.pms.core.CWM.getRepositoryInstance(CWM.java:442)
      4. org.pentaho.pms.core.CWM.exists(CWM.java:548)
      5. org.pentaho.pms.ui.MetaEditor.saveFileAs(MetaEditor.java:2945)
      6. org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2930)
      7. org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:492)
      7 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    5. org.pentaho.pms
      MetaEditor.main
      1. org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:818)
      2. org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3602)
      2 frames