java.io.IOException: Save Failed

Pentaho BI Platform Tracking | Reid Lai | 6 years ago
  1. 0

    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

    Pentaho BI Platform Tracking | 6 years ago | Reid Lai
    java.io.IOException: Save Failed
  2. 0

    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

    Pentaho BI Platform Tracking | 6 years ago | Reid Lai
    java.io.IOException: Save Failed
  3. 0

    Pentaho Reporting / Mailing Lists

    sourceforge.net | 1 year ago
    java.io.IOException: Could not serialize the ResourceKey: Unable to find resource loader for specified key: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.RepositoryResourceBundleLoader, identifier=resources/image.jpg, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@...=/Users/kcruzada/Desktop/prd-ce-mac/samples/images/sw_logo.jpg}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/Users/kcruzada/.pentaho/report-designer/samples/Operational Reports/Inventory.prpt, factoryParameters={}, parent=null}}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Open the Inventory Report from the Operational Report sample folder. Copy the Steel Wheels logo. Create a new report. Paste the image. Now save. You will see an error... It appears that instead of using the embedded image... it tries to get the image on save. The save should be smarter :) java.io.IOException: Could not serialize the ResourceKey: Unable to find resource loader for specified key: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.RepositoryResourceBundleLoader, identifier=resources/image.jpg, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/Users/kcruzada/Desktop/prd-ce-mac/samples/images/sw_logo.jpg}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/Users/kcruzada/.pentaho/report-designer/samples/Operational Reports/Inventory.prpt, factoryParameters={}, parent=null}} at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeBulkAttributes(AbstractElementWriteHandler.java:379) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeElementBody(AbstractElementWriteHandler.java:308) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ContentElementWriteHandler.writeElement(ContentElementWriteHandler.java:78) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:566) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportHeaderElementWriteHandler.writeElement(ReportHeaderElementWriteHandler.java:81) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeChildElement(ReportDefinitionWriteHandler.java:141) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeElement(ReportDefinitionWriteHandler.java:128) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.LayoutFileWriter.writeReport(LayoutFileWriter.java:86) 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:192) at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.saveReport(SaveReportAction.java:101) at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.actionPerformed(SaveReportAction.java:63) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 7 years ago | Kurtis Cruzada
    java.io.IOException: Could not serialize the ResourceKey: Unable to find resource loader for specified key: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.RepositoryResourceBundleLoader, identifier=resources/image.jpg, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/Users/kcruzada/Desktop/prd-ce-mac/samples/images/sw_logo.jpg}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/Users/kcruzada/.pentaho/report-designer/samples/Operational Reports/Inventory.prpt, factoryParameters={}, parent=null}}
  6. 0

    I can only reproduce this with the following steps but I feel that it is somewhat larger than just this: 1. Run PRD 2. Open the Operation Reports --> Sales Summary Report 3. Edit the REGION parameter (Data tab, Parameters, REGION) 4. Change the Display Type to Text Box and click OK 5. Save the report (File --> Save As) 6. Once hte save is completed, Save the report again (File --> Save) and you will receive the following error (NOTE: this happens on publish as well): 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.io.IOException: Could not serialize the ResourceKey: Unable to find resource loader for specified key: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.RepositoryResourceBundleLoader, identifier=resources/image.jpg, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/Users/kcruzada/Desktop/prd-ce-mac/samples/images/sw_logo.jpg}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=C:\pentaho\prd\3.7.0-GA\samples\Operational Reports\Sales Summary.prpt, factoryParameters={}, parent=null}} at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeBulkAttributes(AbstractElementWriteHandler.java:396) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeElementBody(AbstractElementWriteHandler.java:321) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ContentElementWriteHandler.writeElement(ContentElementWriteHandler.java:78) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:583) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.PageHeaderElementWriteHandler.writeElement(PageHeaderElementWriteHandler.java:79) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.StyleFileWriter.writeReport(StyleFileWriter.java:151) 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

    Pentaho BI Platform Tracking | 6 years ago | David Kincade
    java.io.IOException: Save Failed

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

      Namespace http://jfreereport.sourceforge.net/namespaces/datasources/olap4j is not defined.

      at org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag()
    2. org.pentaho.reporting
      SaveReportAction.actionPerformed
      1. org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:642)
      2. org.pentaho.reporting.libraries.xmlns.writer.XmlWriterSupport.writeTag(XmlWriterSupport.java:435)
      3. org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTag(XmlWriter.java:195)
      4. org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.AbstractNamedMDXDataFactoryBundleWriteHandler.writeBody(AbstractNamedMDXDataFactoryBundleWriteHandler.java:50)
      5. org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.writer.BandedMDXDataFactoryBundleWriteHandler.writeDataFactory(BandedMDXDataFactoryBundleWriteHandler.java:83)
      6. org.pentaho.reporting.engine.classic.core.modules.parser.data.compounddata.writer.CompoundDataFactoryWriteHandler.writeDataFactory(CompoundDataFactoryWriteHandler.java:111)
      7. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeDataFactory(DataDefinitionFileWriter.java:367)
      8. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:114)
      9. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:163)
      10. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:130)
      11. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:206)
      12. org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:196)
      13. org.pentaho.reporting.designer.core.actions.report.SaveReportAction.saveReport(SaveReportAction.java:110)
      14. org.pentaho.reporting.designer.core.actions.report.SaveReportAction.actionPerformed(SaveReportAction.java:72)
      14 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      6. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      7. java.awt.Component.processMouseEvent(Component.java:6263)
      8. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      9. java.awt.Component.processEvent(Component.java:6028)
      10. java.awt.Container.processEvent(Container.java:2041)
      11. java.awt.Component.dispatchEventImpl(Component.java:4630)
      12. java.awt.Container.dispatchEventImpl(Container.java:2099)
      13. java.awt.Component.dispatchEvent(Component.java:4460)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
      15. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      16. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      17. java.awt.Container.dispatchEventImpl(Container.java:2085)
      18. java.awt.Window.dispatchEventImpl(Window.java:2478)
      19. java.awt.Component.dispatchEvent(Component.java:4460)
      20. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      21. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      22. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      23. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      26. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      26 frames