java.lang.reflect.InvocationTargetException

Pentaho BI Platform Tracking | Alex | 8 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

    When creating a new Domain, I want to save it. It asks for a domain name, then crashes with CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System Details gives : 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:495) at org.pentaho.pms.factory.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:151) at org.pentaho.pms.editor.MetaEditor.save(MetaEditor.java:2955) at org.pentaho.pms.editor.MetaEditor.saveFile(MetaEditor.java:2914) at org.pentaho.pms.editor.MetaEditor$13.handleEvent(MetaEditor.java:490) 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.editor.MetaEditor.readAndDispatch(MetaEditor.java:810) at org.pentaho.pms.editor.MetaEditor.main(MetaEditor.java:3588) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:422) at org.pentaho.pms.core.CWM.getInstance(CWM.java:526) at org.pentaho.pms.core.CWM.getInstance(CWM.java:498) at org.pentaho.pms.factory.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:79) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 12 more Caused by: org.netbeans.api.mdr.CreationFailedException: Cannot instantiate package because of unexpected exception: java.lang.NullPointerException at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:494) 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:395) ... 16 more Thanks !

    Pentaho BI Platform Tracking | 8 years ago | Alex
    java.lang.reflect.InvocationTargetException
  2. 0

    When creating a new Domain, I want to save it. It asks for a domain name, then crashes with CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System Details gives : 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:495) at org.pentaho.pms.factory.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:151) at org.pentaho.pms.editor.MetaEditor.save(MetaEditor.java:2955) at org.pentaho.pms.editor.MetaEditor.saveFile(MetaEditor.java:2914) at org.pentaho.pms.editor.MetaEditor$13.handleEvent(MetaEditor.java:490) 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.editor.MetaEditor.readAndDispatch(MetaEditor.java:810) at org.pentaho.pms.editor.MetaEditor.main(MetaEditor.java:3588) Caused by: java.lang.RuntimeException: CWM.ERROR_0001 - Unable to initialize the Pentaho Metadata System. at org.pentaho.pms.core.CWM.<init>(CWM.java:422) at org.pentaho.pms.core.CWM.getInstance(CWM.java:526) at org.pentaho.pms.core.CWM.getInstance(CWM.java:498) at org.pentaho.pms.factory.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:79) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 12 more Caused by: org.netbeans.api.mdr.CreationFailedException: Cannot instantiate package because of unexpected exception: java.lang.NullPointerException at org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:494) 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:395) ... 16 more Thanks !

    Pentaho BI Platform Tracking | 8 years ago | Alex
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. org.netbeans.api.mdr.CreationFailedException

      Cannot instantiate package because of unexpected exception: java.lang.NullPointerException

      at org.netbeans.mdr.NBMDRepositoryImpl.createExtent()
    2. org.netbeans.mdr
      NBMDRepositoryImpl.createExtent
      1. org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:494)
      2. org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:297)
      3. org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:285)
      3 frames
    3. org.pentaho.pms
      SchemaSaveProgressDialog$1.run
      1. org.pentaho.pms.core.CWM.<init>(CWM.java:395)
      2. org.pentaho.pms.core.CWM.getInstance(CWM.java:526)
      3. org.pentaho.pms.core.CWM.getInstance(CWM.java:498)
      4. org.pentaho.pms.factory.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:79)
      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:495)
      3 frames
    5. org.pentaho.pms
      MetaEditor$13.handleEvent
      1. org.pentaho.pms.factory.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:151)
      2. org.pentaho.pms.editor.MetaEditor.save(MetaEditor.java:2955)
      3. org.pentaho.pms.editor.MetaEditor.saveFile(MetaEditor.java:2914)
      4. org.pentaho.pms.editor.MetaEditor$13.handleEvent(MetaEditor.java:490)
      4 frames
    6. 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
    7. org.pentaho.pms
      MetaEditor.main
      1. org.pentaho.pms.editor.MetaEditor.readAndDispatch(MetaEditor.java:810)
      2. org.pentaho.pms.editor.MetaEditor.main(MetaEditor.java:3588)
      2 frames