java.lang.Exception: Save Failed

Pentaho BI Platform Tracking | gunter rombauts | 7 years ago
  1. 0

    Open the attached report. I have stripped out all non relevant items. Open the subreport. Create a band in the report header. Save - you get the error : java.lang.Exception: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:200) at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.saveReport(SaveReportAction.java:106) at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.actionPerformed(SaveReportAction.java:68) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.pentaho.reporting.engine.classic.core.Element cannot be cast to org.pentaho.reporting.engine.classic.core.Band at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.BandElementWriteHandler.writeElement(BandElementWriteHandler.java:80) 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.writeSubReport(BundleWriter.java:188) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeSubReport(AbstractElementWriteHandler.java:626) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeRootSubReports(AbstractElementWriteHandler.java:595) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ItembandElementWriteHandler.writeElement(ItembandElementWriteHandler.java:83) 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.DataGroupBodyElementWriteHandler.writeElement(DataGroupBodyElementWriteHandler.java:79) 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.RelationalGroupElementWriteHandler.writeElement(RelationalGroupElementWriteHandler.java:93) 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:129) 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:194) ... 28 more

    Pentaho BI Platform Tracking | 7 years ago | gunter rombauts
    java.lang.Exception: Save Failed
  2. 0

    Open the attached report. I have stripped out all non relevant items. Open the subreport. Create a band in the report header. Save - you get the error : java.lang.Exception: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:200) at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.saveReport(SaveReportAction.java:106) at org.pentaho.reporting.designer.core.actions.report.SaveReportAction.actionPerformed(SaveReportAction.java:68) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.pentaho.reporting.engine.classic.core.Element cannot be cast to org.pentaho.reporting.engine.classic.core.Band at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.BandElementWriteHandler.writeElement(BandElementWriteHandler.java:80) 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.writeSubReport(BundleWriter.java:188) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeSubReport(AbstractElementWriteHandler.java:626) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeRootSubReports(AbstractElementWriteHandler.java:595) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ItembandElementWriteHandler.writeElement(ItembandElementWriteHandler.java:83) 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.DataGroupBodyElementWriteHandler.writeElement(DataGroupBodyElementWriteHandler.java:79) 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.RelationalGroupElementWriteHandler.writeElement(RelationalGroupElementWriteHandler.java:93) 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:129) 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:194) ... 28 more

    Pentaho BI Platform Tracking | 7 years ago | gunter rombauts
    java.lang.Exception: Save Failed
  3. 0

    I made a save as of one of my reports. Then I edit the query and change its name. Then I click on the new query name and made a "select" in the popup menu. The report is well generated but as I want to save the report, I have the following message : java.lang.Exception: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:200) 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:6267) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6032) 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:4577) 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.png, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/home/florent/TDeO Conseil/TDeO_Clients/Cars Perbost/logo.png}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/home/florent/DEV/Projets/bizness intelligence/rapports/perbost/Liste des véhicules et financement.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.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:194) ... 28 more java.lang.Exception: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:200) 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:6267) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6032) 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:4577) 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.png, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/home/florent/TDeO Conseil/TDeO_Clients/Cars Perbost/logo.png}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/home/florent/DEV/Projets/bizness intelligence/rapports/perbost/Liste des véhicules et financement.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.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:194) ... 28 more

    Pentaho BI Platform Tracking | 6 years ago | Florent THOMAS
    java.lang.Exception: Save Failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I made a save as of one of my reports. Then I edit the query and change its name. Then I click on the new query name and made a "select" in the popup menu. The report is well generated but as I want to save the report, I have the following message : java.lang.Exception: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:200) 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:6267) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6032) 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:4577) 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.png, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/home/florent/TDeO Conseil/TDeO_Clients/Cars Perbost/logo.png}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/home/florent/DEV/Projets/bizness intelligence/rapports/perbost/Liste des véhicules et financement.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.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:194) ... 28 more java.lang.Exception: Save Failed at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:200) 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:6267) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6032) 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:4577) 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.png, factoryParameters={org.pentaho.reporting.libraries.resourceloader.LoaderParameterKey@cbc8044e=/home/florent/TDeO Conseil/TDeO_Clients/Cars Perbost/logo.png}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.file.FileResourceLoader, identifier=/home/florent/DEV/Projets/bizness intelligence/rapports/perbost/Liste des véhicules et financement.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.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:194) ... 28 more

    Pentaho BI Platform Tracking | 6 years ago | Florent THOMAS
    java.lang.Exception: Save Failed
  6. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to

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

      org.pentaho.reporting.engine.classic.core.Element cannot be cast to org.pentaho.reporting.engine.classic.core.Band

      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.BandElementWriteHandler.writeElement()
    2. org.pentaho.reporting
      SaveReportAction.actionPerformed
      1. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.BandElementWriteHandler.writeElement(BandElementWriteHandler.java:80)
      2. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:566)
      3. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportHeaderElementWriteHandler.writeElement(ReportHeaderElementWriteHandler.java:81)
      4. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeChildElement(ReportDefinitionWriteHandler.java:141)
      5. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeElement(ReportDefinitionWriteHandler.java:128)
      6. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.LayoutFileWriter.writeReport(LayoutFileWriter.java:86)
      7. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeSubReport(BundleWriter.java:188)
      8. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeSubReport(AbstractElementWriteHandler.java:626)
      9. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeRootSubReports(AbstractElementWriteHandler.java:595)
      10. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ItembandElementWriteHandler.writeElement(ItembandElementWriteHandler.java:83)
      11. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:566)
      12. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.DataGroupBodyElementWriteHandler.writeElement(DataGroupBodyElementWriteHandler.java:79)
      13. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:566)
      14. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.RelationalGroupElementWriteHandler.writeElement(RelationalGroupElementWriteHandler.java:93)
      15. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeChildElement(ReportDefinitionWriteHandler.java:141)
      16. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeElement(ReportDefinitionWriteHandler.java:129)
      17. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.LayoutFileWriter.writeReport(LayoutFileWriter.java:86)
      18. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:163)
      19. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:130)
      20. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:206)
      21. org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:194)
      22. org.pentaho.reporting.designer.core.actions.report.SaveReportAction.saveReport(SaveReportAction.java:106)
      23. org.pentaho.reporting.designer.core.actions.report.SaveReportAction.actionPerformed(SaveReportAction.java:68)
      23 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      7. java.awt.Component.processMouseEvent(Unknown Source)
      8. javax.swing.JComponent.processMouseEvent(Unknown Source)
      9. java.awt.Component.processEvent(Unknown Source)
      10. java.awt.Container.processEvent(Unknown Source)
      11. java.awt.Component.dispatchEventImpl(Unknown Source)
      12. java.awt.Container.dispatchEventImpl(Unknown Source)
      13. java.awt.Component.dispatchEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      17. java.awt.Container.dispatchEventImpl(Unknown Source)
      18. java.awt.Window.dispatchEventImpl(Unknown Source)
      19. java.awt.Component.dispatchEvent(Unknown Source)
      20. java.awt.EventQueue.dispatchEvent(Unknown Source)
      21. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      22. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      23. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      25. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      26. java.awt.EventDispatchThread.run(Unknown Source)
      26 frames