java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Paul Golder | 9 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

    On startup of the metadata editor the following error is produced and no domain is loaded. 2008/01/09 09:15:22 - Pentaho Metadata Editor - ERRORUnable to load query : java.lang.RuntimeException: Also 2 domains of the same name exist in the domain list and neither can be deleted. It is possible to load a domain, but upon attempt to save it the following error occurs -- CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. Detail -- java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:381) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479) at org.pentaho.pms.factory.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:152) at org.pentaho.pms.editor.MetaEditor.save(MetaEditor.java:2931) at org.pentaho.pms.editor.MetaEditor.saveFile(MetaEditor.java:2890) at org.pentaho.pms.editor.MetaEditor$13.handleEvent(MetaEditor.java:486) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3465) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3079) at org.pentaho.pms.editor.MetaEditor.readAndDispatch(MetaEditor.java:805) at org.pentaho.pms.editor.MetaEditor.main(MetaEditor.java:3566) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:423) at org.pentaho.pms.core.CWM.getInstance(CWM.java:525) at org.pentaho.pms.core.CWM.getInstance(CWM.java:497) at org.pentaho.pms.factory.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:96) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 12 more Caused by: java.lang.ClassCastException: org.netbeans.mdr.persistence.btreeimpl.btreestorage.NormalBtreeExtent cannot be cast to org.netbeans.mdr.persistence.btreeimpl.btreestorage.DeletedBtreeExtent at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getDeletedExtent(BtreeDataFile.java:528) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getNormalExtent(BtreeDataFile.java:921) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.put(BtreeDataFile.java:332) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.put(BtreeDataFile.java:314) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.addRecord(BtreeDatabase.java:927) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.save(BtreeDatabase.java:543) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.commitChanges(BtreeDatabase.java:447) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStorage.commitChanges(BtreeStorage.java:325) at org.netbeans.mdr.storagemodel.MdrStorage.save(MdrStorage.java:576) at org.netbeans.mdr.storagemodel.MdrStorage.commit(MdrStorage.java:547) at org.netbeans.mdr.util.TransactionMutex.end(TransactionMutex.java:83) at org.netbeans.mdr.util.MultipleReadersMutex.leave(MultipleReadersMutex.java:179) at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:255) at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:508) at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:297) at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:285) at org.pentaho.pms.core.CWM.<init>(CWM.java:396) ... 16 more and the saved model becomes unreadable.

    Pentaho BI Platform Tracking | 9 years ago | Paul Golder
    java.lang.reflect.InvocationTargetException
  2. 0

    On startup of the metadata editor the following error is produced and no domain is loaded. 2008/01/09 09:15:22 - Pentaho Metadata Editor - ERRORUnable to load query : java.lang.RuntimeException: Also 2 domains of the same name exist in the domain list and neither can be deleted. It is possible to load a domain, but upon attempt to save it the following error occurs -- CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. Detail -- java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:381) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479) at org.pentaho.pms.factory.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:152) at org.pentaho.pms.editor.MetaEditor.save(MetaEditor.java:2931) at org.pentaho.pms.editor.MetaEditor.saveFile(MetaEditor.java:2890) at org.pentaho.pms.editor.MetaEditor$13.handleEvent(MetaEditor.java:486) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3465) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3079) at org.pentaho.pms.editor.MetaEditor.readAndDispatch(MetaEditor.java:805) at org.pentaho.pms.editor.MetaEditor.main(MetaEditor.java:3566) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:423) at org.pentaho.pms.core.CWM.getInstance(CWM.java:525) at org.pentaho.pms.core.CWM.getInstance(CWM.java:497) at org.pentaho.pms.factory.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:96) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 12 more Caused by: java.lang.ClassCastException: org.netbeans.mdr.persistence.btreeimpl.btreestorage.NormalBtreeExtent cannot be cast to org.netbeans.mdr.persistence.btreeimpl.btreestorage.DeletedBtreeExtent at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getDeletedExtent(BtreeDataFile.java:528) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getNormalExtent(BtreeDataFile.java:921) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.put(BtreeDataFile.java:332) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.put(BtreeDataFile.java:314) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.addRecord(BtreeDatabase.java:927) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.save(BtreeDatabase.java:543) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.commitChanges(BtreeDatabase.java:447) at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStorage.commitChanges(BtreeStorage.java:325) at org.netbeans.mdr.storagemodel.MdrStorage.save(MdrStorage.java:576) at org.netbeans.mdr.storagemodel.MdrStorage.commit(MdrStorage.java:547) at org.netbeans.mdr.util.TransactionMutex.end(TransactionMutex.java:83) at org.netbeans.mdr.util.MultipleReadersMutex.leave(MultipleReadersMutex.java:179) at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:255) at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:508) at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:297) at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:285) at org.pentaho.pms.core.CWM.<init>(CWM.java:396) ... 16 more and the saved model becomes unreadable.

    Pentaho BI Platform Tracking | 9 years ago | Paul Golder
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.netbeans.mdr.persistence.btreeimpl.btreestorage.NormalBtreeExtent cannot be cast to org.netbeans.mdr.persistence.btreeimpl.btreestorage.DeletedBtreeExtent

      at org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getDeletedExtent()
    2. org.netbeans.mdr
      NBMDRepositoryImpl.createExtent
      1. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getDeletedExtent(BtreeDataFile.java:528)
      2. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.getNormalExtent(BtreeDataFile.java:921)
      3. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.put(BtreeDataFile.java:332)
      4. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDataFile.put(BtreeDataFile.java:314)
      5. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.addRecord(BtreeDatabase.java:927)
      6. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.save(BtreeDatabase.java:543)
      7. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.commitChanges(BtreeDatabase.java:447)
      8. org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStorage.commitChanges(BtreeStorage.java:325)
      9. org.netbeans.mdr.storagemodel.MdrStorage.save(MdrStorage.java:576)
      10. org.netbeans.mdr.storagemodel.MdrStorage.commit(MdrStorage.java:547)
      11. org.netbeans.mdr.util.TransactionMutex.end(TransactionMutex.java:83)
      12. org.netbeans.mdr.util.MultipleReadersMutex.leave(MultipleReadersMutex.java:179)
      13. org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:255)
      14. org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:508)
      15. org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:297)
      16. org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:285)
      16 frames
    3. org.pentaho.pms
      SchemaSaveProgressDialog$1.run
      1. org.pentaho.pms.core.CWM.<init>(CWM.java:396)
      2. org.pentaho.pms.core.CWM.getInstance(CWM.java:525)
      3. org.pentaho.pms.core.CWM.getInstance(CWM.java:497)
      4. org.pentaho.pms.factory.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:96)
      4 frames
    4. JFace
      ProgressMonitorDialog.run
      1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
      2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
      3. org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
      3 frames
    5. org.pentaho.pms
      MetaEditor$13.handleEvent
      1. org.pentaho.pms.factory.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:152)
      2. org.pentaho.pms.editor.MetaEditor.save(MetaEditor.java:2931)
      3. org.pentaho.pms.editor.MetaEditor.saveFile(MetaEditor.java:2890)
      4. org.pentaho.pms.editor.MetaEditor$13.handleEvent(MetaEditor.java:486)
      4 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3465)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3079)
      4 frames
    7. org.pentaho.pms
      MetaEditor.main
      1. org.pentaho.pms.editor.MetaEditor.readAndDispatch(MetaEditor.java:805)
      2. org.pentaho.pms.editor.MetaEditor.main(MetaEditor.java:3566)
      2 frames