BIRT Exchange Forum: ReportDocumentWriter SEVErE: Failed to save design! Exception - BIRT Exchange Forum

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ReportDocumentWriter SEVErE: Failed to save design! Exception Rate Topic: -----

#1 User is offline   vnguyen Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 15-September 08


Posted 13 September 2011 - 03:10 PM

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)
0

#2 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 13 September 2011 - 03:33 PM

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

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#3 User is offline   vnguyen Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 15-September 08


Posted 13 September 2011 - 04:18 PM

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

#4 User is offline   vnguyen Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 15-September 08


Posted 16 September 2011 - 10:19 AM

Another thought, would this be related to any threading or locking issues with the BIRT Core?
0

#5 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 16 September 2011 - 10:44 AM

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
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#6 User is offline   vnguyen Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 15-September 08


Posted 16 September 2011 - 10:51 AM

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

#7 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 16 September 2011 - 10:52 AM

Sounds like a temporary file cache cleanup issue.
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#8 User is offline   lrnrit Icon

  • Senior Member
  • Group: Members
  • Posts: 109
  • Joined: 09-April 11


Posted 05 June 2012 - 02:53 AM

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
0

#9 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 07 June 2012 - 12:12 PM

Hi Irnit,
Are you using persisted variables or Java Objects in your report?
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#10 User is offline   lrnrit Icon

  • Senior Member
  • Group: Members
  • Posts: 109
  • Joined: 09-April 11


Posted 11 June 2012 - 06:17 PM

View Postaverma, on 07 June 2012 - 12:12 PM, said:

Hi Irnit,
Are you using persisted variables or Java Objects in your report?



Hello,

I am using JAVA Objects. Is there anyway to avoid it. Other then Stop(tomcat) the service and delete Documents folder manually.

thanks
lrnit
0

#11 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 12 June 2012 - 08:26 AM

Are these Java Objects serializable?
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#12 User is offline   lrnrit Icon

  • Senior Member
  • Group: Members
  • Posts: 109
  • Joined: 09-April 11


Posted 15 June 2012 - 07:48 PM

View Postaverma, on 12 June 2012 - 08:26 AM, said:

Are these Java Objects serializable?



Hi,

In My most of the reports i am creating data set by calling API(Written in java) . And using them in report.
I am creating arraylist of hash map to store data in API and return it.

As those data is coming from application not directly from database.


What could be the reason of this problem.

Please help as of now we have only one solution i.e, stop the service and and delete Files from "Documents" Folder manually .

lrnit
0

#13 User is offline   lrnrit Icon

  • Senior Member
  • Group: Members
  • Posts: 109
  • Joined: 09-April 11


Posted 19 June 2012 - 08:45 AM

Hi,


Is their is any solution of this problem.


regards
lrnit
0

#14 User is offline   lrnrit Icon

  • Senior Member
  • Group: Members
  • Posts: 109
  • Joined: 09-April 11


Posted 20 June 2012 - 09:42 PM

Hi Averma,

Plz guide me on this.

thanks in advance

lrnit
0

#15 User is offline   RSM Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 29-October 12


Posted 29 October 2012 - 04:44 AM

Hi,

Do anyone have a solution for this? Please help.

Thanks.
0

#16 User is offline   lrnrit Icon

  • Senior Member
  • Group: Members
  • Posts: 109
  • Joined: 09-April 11


Posted 09 December 2012 - 09:35 PM

No ,,


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


Thanks

lrnit
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users