Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-3345

When I change data source from OLAP4J JDBC datasource to OLAP4J JNDI datasource and then click save, I got Save Failed exception.

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Duplicate
    • Affects Version/s: 3.7.0 GA (3.7.0 GA Platform Release), 3.8.0 (3.8.0 GA Platform Release)
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Windows XP; JDK 1.6.0 Update 20
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      When I change data source from OLAP4J JDBC datasource to OLAP4J JNDI datasource and then click save, I got Save Failed exception. No problem if I changed back JDBC datasource.

      java.io.IOException: Save Failed
      at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:202)
      at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.saveReport(SaveReportAction.java:110)
      at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.actionPerformed(SaveReportAction.java:72)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      at java.awt.Component.processMouseEvent(Component.java:6263)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6028)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4630)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4460)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4460)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      Caused by: java.lang.IllegalArgumentException: Namespace http://jfreereport.sourceforge.net/namespaces/datasources/olap4j is not defined.
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:642)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:435)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTag(XmlWriter.java:195)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.AbstractNamedMDXDataFactoryBundleWriteHandler.writeBody(AbstractNamedMDXDataFactoryBundleWriteHandler.java:50)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.BandedMDXDataFactoryBundleWriteHandler.writeDataFactory(BandedMDXDataFactoryBundleWriteHandler.java:83)
      at org.pentaho.reporting.engine.classic.core.modules.parser.data.compounddata.writer.CompoundDataFactoryWriteHandler.writeDataFactory(CompoundDataFactoryWriteHandler.java:111)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeDataFactory(DataDefinitionFileWriter.java:367)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:114)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:163)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:130)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:206)
      at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:196)
      ... 28 more

      java.lang.IllegalArgumentException: Namespace http://jfreereport.sourceforge.net/namespaces/datasources/olap4j is not defined.
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:642)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:435)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTag(XmlWriter.java:195)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.AbstractNamedMDXDataFactoryBundleWriteHandler.writeBody(AbstractNamedMDXDataFactoryBundleWriteHandler.java:50)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.BandedMDXDataFactoryBundleWriteHandler.writeDataFactory(BandedMDXDataFactoryBundleWriteHandler.java:83)
      at org.pentaho.reporting.engine.classic.core.modules.parser.data.compounddata.writer.CompoundDataFactoryWriteHandler.writeDataFactory(CompoundDataFactoryWriteHandler.java:111)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeDataFactory(DataDefinitionFileWriter.java:367)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:114)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:163)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:130)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipStream(BundleWriter.java:223)
      at org.pentaho.reporting.designer.extensions.pentaho.repository.util.PublishUtil.createBundleData(PublishUtil.java:190)
      at org.pentaho.reporting.designer.extensions.pentaho.repository.actions.PublishToServerTask.run(PublishToServerTask.java:103)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

      java.lang.IllegalArgumentException: Namespace http://jfreereport.sourceforge.net/namespaces/datasources/olap4j is not defined.
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:642)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:435)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTag(XmlWriter.java:195)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.AbstractNamedMDXDataFactoryBundleWriteHandler.writeBody(AbstractNamedMDXDataFactoryBundleWriteHandler.java:50)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.BandedMDXDataFactoryBundleWriteHandler.writeDataFactory(BandedMDXDataFactoryBundleWriteHandler.java:83)
      at org.pentaho.reporting.engine.classic.core.modules.parser.data.compounddata.writer.CompoundDataFactoryWriteHandler.writeDataFactory(CompoundDataFactoryWriteHandler.java:111)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeDataFactory(DataDefinitionFileWriter.java:367)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:114)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:163)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:130)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipStream(BundleWriter.java:223)
      at org.pentaho.reporting.designer.extensions.pentaho.repository.util.PublishUtil.createBundleData(PublishUtil.java:190)
      at org.pentaho.reporting.designer.extensions.pentaho.repository.actions.PublishToServerTask.run(PublishToServerTask.java:103)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

      java.io.IOException: Save Failed
      at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:202)
      at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:103)
      at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:73)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
      at java.awt.Component.processMouseEvent(Component.java:6263)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6028)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4630)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4460)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4460)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      Caused by: java.lang.IllegalArgumentException: Namespace http://jfreereport.sourceforge.net/namespaces/datasources/olap4j is not defined.
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:642)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:435)
      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTag(XmlWriter.java:195)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.AbstractNamedMDXDataFactoryBundleWriteHandler.writeBody(AbstractNamedMDXDataFactoryBundleWriteHandler.java:50)
      at org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.BandedMDXDataFactoryBundleWriteHandler.writeDataFactory(BandedMDXDataFactoryBundleWriteHandler.java:83)
      at org.pentaho.reporting.engine.classic.core.modules.parser.data.compounddata.writer.CompoundDataFactoryWriteHandler.writeDataFactory(CompoundDataFactoryWriteHandler.java:111)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeDataFactory(DataDefinitionFileWriter.java:367)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:114)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:163)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:130)
      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:206)
      at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:196)
      ... 29 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                reidlai Reid Lai
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: