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

Pentaho BI Platform Tracking | David Lee Lambert | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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.
  2. 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.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessColumn()
    2. org.pentaho.pms
      SchemaSaveProgressDialog$1.run
      1. org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessColumn(CwmSchemaFactory.java:1039)
      2. org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessTable(CwmSchemaFactory.java:946)
      3. org.pentaho.pms.factory.CwmSchemaFactory.storeBusinessModel(CwmSchemaFactory.java:741)
      4. org.pentaho.pms.factory.CwmSchemaFactory.storeSchemaMeta(CwmSchemaFactory.java:199)
      5. org.pentaho.pms.ui.SchemaSaveProgressDialog$1.run(SchemaSaveProgressDialog.java:104)
      5 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:2969)
      3. org.pentaho.pms.ui.MetaEditor.saveFile(MetaEditor.java:2928)
      4. org.pentaho.pms.ui.MetaEditor$13.handleEvent(MetaEditor.java:492)
      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:818)
      2. org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3602)
      2 frames