java.io.IOException: Save Failed

Pentaho BI Platform Tracking | Zachary Zeus | 2 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

    When creating a parameter in PRD, the create-parameter dialog does not effectively prevent the creation of parameters that have no name. The PRPT file format cannot allow parameters without name, as subsequent loading of such report files would evict such parameters, thus loosing user inputs. Parameter without names also cannot be used to parametrize reports, as the HTTP transport requires name-value pairs and empty names are not allowed in that context either. Fix: Make sure the parameter dialog prevents the creation of unnamed parameters. Original Exception: java.io.IOException: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:193) at org.pentaho.reporting.designer.core.actions.report.AbstractSaveReportAction.saveReport(AbstractSaveReportAction.java:83) at org.pentaho.reporting.designer.core.actions.report.AbstractSaveReportAction.actionPerformed(AbstractSaveReportAction.java:61) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6516) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6281) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4872) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:699) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:713) at java.awt.EventQueue$4.run(EventQueue.java:711) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:710) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterException: Cannot write a unnamed parameter entry. at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writePlainParameter(DataDefinitionFileWriter.java:210) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeMasterReportParameters(DataDefinitionFileWriter.java:195) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeParameterDefinitions(DataDefinitionFileWriter.java:181) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:92) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:137) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:106) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:180) at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:187) ... 39 more

    Pentaho BI Platform Tracking | 2 years ago | Zachary Zeus
    java.io.IOException: Save Failed
  2. 0

    When creating a parameter in PRD, the create-parameter dialog does not effectively prevent the creation of parameters that have no name. The PRPT file format cannot allow parameters without name, as subsequent loading of such report files would evict such parameters, thus loosing user inputs. Parameter without names also cannot be used to parametrize reports, as the HTTP transport requires name-value pairs and empty names are not allowed in that context either. Fix: Make sure the parameter dialog prevents the creation of unnamed parameters. Original Exception: java.io.IOException: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:193) at org.pentaho.reporting.designer.core.actions.report.AbstractSaveReportAction.saveReport(AbstractSaveReportAction.java:83) at org.pentaho.reporting.designer.core.actions.report.AbstractSaveReportAction.actionPerformed(AbstractSaveReportAction.java:61) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6516) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6281) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4872) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740) at java.awt.EventQueue.access$300(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:699) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:713) at java.awt.EventQueue$4.run(EventQueue.java:711) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:710) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriterException: Cannot write a unnamed parameter entry. at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writePlainParameter(DataDefinitionFileWriter.java:210) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeMasterReportParameters(DataDefinitionFileWriter.java:195) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeParameterDefinitions(DataDefinitionFileWriter.java:181) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.DataDefinitionFileWriter.writeReport(DataDefinitionFileWriter.java:92) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:137) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:106) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:180) at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:187) ... 39 more

    Pentaho BI Platform Tracking | 2 years ago | Zachary Zeus
    java.io.IOException: Save Failed

    Root Cause Analysis

    1. java.io.IOException

      Save Failed

      at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport()
    2. org.pentaho.reporting
      AbstractSaveReportAction.actionPerformed
      1. org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:193)
      2. org.pentaho.reporting.designer.core.actions.report.AbstractSaveReportAction.saveReport(AbstractSaveReportAction.java:83)
      3. org.pentaho.reporting.designer.core.actions.report.AbstractSaveReportAction.actionPerformed(AbstractSaveReportAction.java:61)
      3 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
      6. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
      7. java.awt.Component.processMouseEvent(Component.java:6516)
      8. javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      9. java.awt.Component.processEvent(Component.java:6281)
      10. java.awt.Container.processEvent(Container.java:2229)
      11. java.awt.Component.dispatchEventImpl(Component.java:4872)
      12. java.awt.Container.dispatchEventImpl(Container.java:2287)
      13. java.awt.Component.dispatchEvent(Component.java:4698)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      15. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      16. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      17. java.awt.Container.dispatchEventImpl(Container.java:2273)
      18. java.awt.Window.dispatchEventImpl(Window.java:2719)
      19. java.awt.Component.dispatchEvent(Component.java:4698)
      20. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740)
      21. java.awt.EventQueue.access$300(EventQueue.java:103)
      22. java.awt.EventQueue$3.run(EventQueue.java:699)
      23. java.awt.EventQueue$3.run(EventQueue.java:697)
      24. java.security.AccessController.doPrivileged(Native Method)
      25. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      26. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      27. java.awt.EventQueue$4.run(EventQueue.java:713)
      28. java.awt.EventQueue$4.run(EventQueue.java:711)
      29. java.security.AccessController.doPrivileged(Native Method)
      30. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      31. java.awt.EventQueue.dispatchEvent(EventQueue.java:710)
      32. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      33. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      34. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      36. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      37. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      37 frames