java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository.

Pentaho BI Platform Tracking | Will Gorman | 8 years ago
  1. 0

    Create an OLAP Cube on a business model (CTRL-ALT-O), and rename or delete the tables involved. Save the XMI and reimport the XMI. Null pointers will appear when attempting to click on the "Save" button. Here is an example stack trace: java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository. at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:123) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.pms.ui.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:154) at org.pentaho.pms.ui.MetaEditor.save(MetaEditor.java:2943) at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2902) at org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:516) 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:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576) Caused by: java.lang.NullPointerException at org.pentaho.pms.factory.CwmSchemaFactory.storeOlapCube(CwmSchemaFactory.java:2160) at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessModel(CwmSchemaFactory.java:784) at org.pentaho.pms.factory.CwmSchemaFactory.storeSchemaMeta(CwmSchemaFactory.java:199) at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:104) ... 13 more

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository.
  2. 0

    Create an OLAP Cube on a business model (CTRL-ALT-O), and rename or delete the tables involved. Save the XMI and reimport the XMI. Null pointers will appear when attempting to click on the "Save" button. Here is an example stack trace: java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository. at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:123) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.pms.ui.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:154) at org.pentaho.pms.ui.MetaEditor.save(MetaEditor.java:2943) at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2902) at org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:516) 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:842) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576) Caused by: java.lang.NullPointerException at org.pentaho.pms.factory.CwmSchemaFactory.storeOlapCube(CwmSchemaFactory.java:2160) at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessModel(CwmSchemaFactory.java:784) at org.pentaho.pms.factory.CwmSchemaFactory.storeSchemaMeta(CwmSchemaFactory.java:199) at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:104) ... 13 more

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository.
  3. 0

    I had a fairly complex model (about 30 tables, some with about 30 columns) that I had saved as .xmi from PME 1.7.2. I loaded it and did some editing; when I hit the "save" button, the progress-box goes most of the way, then pops up an "Error", "There was an error saving the schema" message. Here's a copy of the stack-trace in the "details" view: java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository. at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:123) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.pms.ui.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:154) at org.pentaho.pms.ui.MetaEditor.save(MetaEditor.java:2969) at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2928) 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: java.lang.NullPointerException at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessColumn(CwmSchemaFactory.java:1039) at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessTable(CwmSchemaFactory.java:946) at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessModel(CwmSchemaFactory.java:741) at org.pentaho.pms.factory.CwmSchemaFactory.storeSchemaMeta(CwmSchemaFactory.java:199) at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:104) ... 13 more I can't save to XMI either; no errors are displayed, but the file has an empty "XMI.Content" element.

    Pentaho BI Platform Tracking | 8 years ago | David Lee Lambert
    java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I had a fairly complex model (about 30 tables, some with about 30 columns) that I had saved as .xmi from PME 1.7.2. I loaded it and did some editing; when I hit the "save" button, the progress-box goes most of the way, then pops up an "Error", "There was an error saving the schema" message. Here's a copy of the stack-trace in the "details" view: java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository. at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:123) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.pms.ui.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:154) at org.pentaho.pms.ui.MetaEditor.save(MetaEditor.java:2969) at org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2928) 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: java.lang.NullPointerException at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessColumn(CwmSchemaFactory.java:1039) at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessTable(CwmSchemaFactory.java:946) at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessModel(CwmSchemaFactory.java:741) at org.pentaho.pms.factory.CwmSchemaFactory.storeSchemaMeta(CwmSchemaFactory.java:199) at org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:104) ... 13 more I can't save to XMI either; no errors are displayed, but the file has an empty "XMI.Content" element.

    Pentaho BI Platform Tracking | 8 years ago | David Lee Lambert
    java.lang.reflect.InvocationTargetException: Unable to save the schema to the repository.
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at org.pentaho.pms.factory.CwmSchemaFactory.storeOlapCube()
    2. org.pentaho.pms
      SchemaSaveProgressDialog$1.run
      1. org.pentaho.pms.factory.CwmSchemaFactory.storeOlapCube(CwmSchemaFactory.java:2160)
      2. org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessModel(CwmSchemaFactory.java:784)
      3. org.pentaho.pms.factory.CwmSchemaFactory.storeSchemaMeta(CwmSchemaFactory.java:199)
      4. org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:104)
      4 frames
    3. 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
    4. org.pentaho.pms
      MetaEditor$13.handleEvent
      1. org.pentaho.pms.ui.SchemaSaveProgressDialog.open(SchemaSaveProgressDialog.java:154)
      2. org.pentaho.pms.ui.MetaEditor.save(MetaEditor.java:2943)
      3. org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2902)
      4. org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:516)
      4 frames
    5. 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
    6. org.pentaho.pms
      MetaEditor.main
      1. org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842)
      2. org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576)
      2 frames