ReportDocumentWriter SEVErE: Failed to save design! Exception

Options
vnguyen
edited February 11, 2022 in Analytics #1
Dear BIRT Admins,

I've ran into an issue with BIRT recently, this exception is thrown in the engine code when running the report. We are currently using BIRT 2.6.0. Unfortunately it is not occuring intermittently and so it is difficult to track down.

Do you have any feedback as to what can be causing this issue?


2011-09-09 12:07:28,531 [ http-0.0.0.0-8080-6] ERROR STDERR : Sep 9, 2011 12:07:28 PM org.eclipse.birt.report.engine.api.impl.ReportDocumentWriter saveDesign
SEVERE: Failed to save design!
java.lang.NullPointerException
at org.eclipse.birt.core.archive.cache.CacheList.remove(CacheList.java:58)
at org.eclipse.birt.core.archive.cache.CacheList.remove(CacheList.java:86)
at org.eclipse.birt.core.archive.cache.SystemCacheManager.adjustSystemCaches(SystemCacheManager.java:129)
at org.eclipse.birt.core.archive.cache.SystemCacheManager.addCache(SystemCacheManager.java:118)
at org.eclipse.birt.core.archive.cache.FileCacheManager.releaseCache(FileCacheManager.java:234)
at org.eclipse.birt.core.archive.compound.v3.Ext2FileSystem.unloadBlock(Ext2FileSystem.java:540)
at org.eclipse.birt.core.archive.compound.v3.Ext2File.loadDataBlock(Ext2File.java:408)
at org.eclipse.birt.core.archive.compound.v3.Ext2File.write_with_cache(Ext2File.java:389)
at org.eclipse.birt.core.archive.compound.v3.Ext2File.write(Ext2File.java:310)
at org.eclipse.birt.core.archive.compound.ArchiveFileV3$ArchiveEntryV3.write(ArchiveFileV3.java:238)
at org.eclipse.birt.core.archive.compound.ArchiveEntryOutputStream.write(ArchiveEntryOutputStream.java:122)
at java.io.PrintStream.write(PrintStream.java:430)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:85)
at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:168)
at java.io.PrintStream.write(PrintStream.java:477)
at java.io.PrintStream.print(PrintStream.java:619)
at org.eclipse.birt.report.model.writer.DocumentXMLWriter.emitStartTag(DocumentXMLWriter.java:107)
at org.eclipse.birt.report.model.util.XMLWriter.startElement(XMLWriter.java:259)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.writeEntry(ModuleWriterImpl.java:595)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.writeProperty(ModuleWriterImpl.java:776)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.property(ModuleWriterImpl.java:361)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.visitAbstractScalarParameter(ModuleWriterImpl.java:2518)
at org.eclipse.birt.report.model.elements.ElementVisitorImpl.visitScalarParameter(ElementVisitorImpl.java:410)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.visitScalarParameter(ModuleWriterImpl.java:2476)
at org.eclipse.birt.report.model.elements.ScalarParameter.apply(ScalarParameter.java:69)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.writeChildren(ModuleWriterImpl.java:2907)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.writeContents(ModuleWriterImpl.java:2892)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.writeContents(ModuleWriterImpl.java:2926)
at org.eclipse.birt.report.model.writer.DesignWriterImpl.writeSlot(DesignWriterImpl.java:147)
at org.eclipse.birt.report.model.writer.DesignWriterImpl.visitReportDesign(DesignWriterImpl.java:78)
at org.eclipse.birt.report.model.elements.ReportDesign.apply(ReportDesign.java:65)
at org.eclipse.birt.report.model.writer.ModuleWriterImpl.writeFile(ModuleWriterImpl.java:317)
at org.eclipse.birt.report.model.writer.DocumentWriter.write(DocumentWriter.java:60)
at org.eclipse.birt.report.model.api.util.DocumentUtil.serialize(DocumentUtil.java:72)
at org.eclipse.birt.report.engine.api.impl.ReportDocumentWriter.saveDesign(ReportDocumentWriter.java:186)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:214)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85)
at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1415)
at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:165)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists(BirtGetPageActionHandler.java:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters(AbstractGetPageActionHandler.java:123)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(AbstractGetPageActionHandler.java:107)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:96)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.GeneratedMethodAccessor688.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.GeneratedMethodAccessor679.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:286)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

Comments

  • averma
    edited September 13, 2011 #2
    Options
    My guess is either the disk is full or you don't have write permissions. I am moving this topic to appropriate forum to solicit more responses.
    Warning No formatter is installed for the format ipb
  • vnguyen
    edited December 31, 1969 #3
    Options
    That averma for your quick reply & thanks for moving the thread to the correct location.

    That was my first thought too but there is actually plenty of disk space (over 25 GB) on the drive where we had installed jboss (with BIRT).

    Btw, the exception is occuring during rendering time.

    It seem as though BIRT is throwing a null pointer exception on the CacheList.remove() method while storing cached data blocks as it was writing the RPTDOCUMENT content.
  • vnguyen
    edited December 31, 1969 #4
    Options
    Another thought, would this be related to any threading or locking issues with the BIRT Core?
  • averma
    edited December 31, 1969 #5
    Options
    Not very likely, could be related to temporary document files, try changing the folder location for BIRT_VIEWER_DOCUMENT_FOLDER in web.xml and see if that makes any difference.

    Ashwini
    Warning No formatter is installed for the format ipb
  • vnguyen
    edited December 31, 1969 #6
    Options
    Thanks for your suggestion.

    I've also tried that (among other configuration changes) but I was not able to reproduce the issue either.

    Prior to this exception, all of our reports run successfully. Once this exception occured, we cannot run any of our 60 reports and the only way to get around this is to restart the application (Jboss) application server.
  • averma
    edited December 31, 1969 #7
    Options
    Sounds like a temporary file cache cleanup issue.
    Warning No formatter is installed for the format ipb
  • lrnrit
    edited June 5, 2012 #8
    Options
    Hi,


    Facing Same Issue With Birt 3.7.2 Implemented With Tomcat 6.0 Version. Is there any Solution of this problem other then Restarting Application Server.


    using Any Command or any other idea
    Any Help Is Appreciated

    Thanks

    lrnit
  • averma
    edited December 31, 1969 #9
    Options
    Hi Irnit,
    Are you using persisted variables or Java Objects in your report?
    Warning No formatter is installed for the format ipb
  • lrnrit
    edited December 10, 2012 #10
    Options
    <blockquote class='ipsBlockquote' data-author="'averma'" data-cid="102037" data-time="1339099964" data-date="07 June 2012 - 01:12 PM"><p>
    Hi Irnit,<br />
    Are you using persisted variables or Java Objects in your report?<br /></p></blockquote>
    <br />
    <br />
    Hello,<br />
    <br />
    I am using JAVA Objects. Is there anyway to avoid it. Other then Stop(tomcat) the service and delete Documents folder manually.<br />
    <br />
    thanks<br />
    lrnit
  • averma
    edited June 12, 2012 #11
    Options
    Are these Java Objects serializable?
    Warning No formatter is installed for the format ipb
  • lrnrit
    edited June 15, 2012 #12
    Options
    <blockquote class='ipsBlockquote' data-author="'averma'" data-cid="102880" data-time="1339518372" data-date="12 June 2012 - 09:26 AM"><p>
    Are these Java Objects serializable?<br /></p></blockquote>
    <br />
    <br />
    Hi, <br />
    <br />
    In My most of the reports i am creating data set by calling API(Written in java) . And using them in report.<br />
    I am creating arraylist of hash map to store data in API and return it.<br />
    <br />
    As those data is coming from application not directly from database.<br />
    <br />
    <br />
    What could be the reason of this problem.<br />
    <br />
    Please help as of now we have only one solution i.e, stop the service and and delete Files from "Documents" Folder manually .<br />
    <br />
    lrnit
  • lrnrit
    edited December 31, 1969 #13
    Options
    Hi,


    Is their is any solution of this problem.


    regards
    lrnit
  • lrnrit
    edited December 31, 1969 #14
    Options
    Hi Averma,

    Plz guide me on this.

    thanks in advance

    lrnit
  • RSM
    RSM
    edited December 31, 1969 #15
    Options
    Hi,

    Do anyone have a solution for this? Please help.

    Thanks.
  • lrnrit
    edited December 31, 1969 #16
    Options
    No ,,


    Still Face this issue . Any Help will be appreciated..


    Thanks

    lrnit