org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists

Pentaho BI Platform Tracking | Nicolas Raoul | 6 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

    How to reproduce: 1) Start BI Server 2) Open Aggregation Designer 3) Open my simple aggregation design (attached) 4) Click File > Export and Publish 5) Click "Publish" 6) Enter valid server and credentials 7) Click OK, the "Connecting to repository" appears and then is replaced by the "Publish Schema" dialog 8) Set the schema location and publish settings 9) Click "Publish" 10) A pop-up says "Publish error: null" and the following NPE appears: java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishToServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema(PublishController.java:100) ... The NPE is caused by the publish method of PublishToServerCommand.java returning a null result, which probably means publication failed somehow. Indeed, at the same time, the following exception appears in the BI Server's log: org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists at org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.addCatalog(MondrianCatalogHelper.java:449) at org.pentaho.platform.web.servlet.MondrianCatalogPublisher.doGet(MondrianCatalogPublisher.java:205) ... For step 8, I have no clear idea what the settings mean, so I might have set unexpected values: - Location: "/xyzbi", the directory where I usually store my schemas with Schema Workbench. - Pentaho or JNDI data source: "infobright", which is the only data source I created. I created it using the Administration Console. - Register XMLA datasource: Tried both checked and unchecked, same result.

    Pentaho BI Platform Tracking | 6 years ago | Nicolas Raoul
    org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists
  2. 0

    How to reproduce: 1) Start BI Server 2) Open Aggregation Designer 3) Open my simple aggregation design (attached) 4) Click File > Export and Publish 5) Click "Publish" 6) Enter valid server and credentials 7) Click OK, the "Connecting to repository" appears and then is replaced by the "Publish Schema" dialog 8) Set the schema location and publish settings 9) Click "Publish" 10) A pop-up says "Publish error: null" and the following NPE appears: java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishToServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema(PublishController.java:100) ... The NPE is caused by the publish method of PublishToServerCommand.java returning a null result, which probably means publication failed somehow. Indeed, at the same time, the following exception appears in the BI Server's log: org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists at org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.addCatalog(MondrianCatalogHelper.java:449) at org.pentaho.platform.web.servlet.MondrianCatalogPublisher.doGet(MondrianCatalogPublisher.java:205) ... For step 8, I have no clear idea what the settings mean, so I might have set unexpected values: - Location: "/xyzbi", the directory where I usually store my schemas with Schema Workbench. - Pentaho or JNDI data source: "infobright", which is the only data source I created. I created it using the Administration Console. - Register XMLA datasource: Tried both checked and unchecked, same result.

    Pentaho BI Platform Tracking | 6 years ago | Nicolas Raoul
    org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists

    Root Cause Analysis

    1. org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException

      MondrianCatalogHelper.ERROR_0004 - already exists

      at org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.addCatalog()
    2. org.pentaho.platform
      MondrianCatalogPublisher.doGet
      1. org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.addCatalog(MondrianCatalogHelper.java:449)
      2. org.pentaho.platform.web.servlet.MondrianCatalogPublisher.doGet(MondrianCatalogPublisher.java:205)
      2 frames