Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » org.eclipse.birt.report.service.api.ReportServiceException(BIRT PDF OUTPUT ERROR)
org.eclipse.birt.report.service.api.ReportServiceException [message #904931] Wed, 29 August 2012 12:08 Go to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

Hi All,

We have developed a report in BIRT2.2.1 with XML as dataSource. When we ran a report with small XML file it will generate PDF output successfully. But when we ran a report with large XML file it is Error as below. Please assist me.

- org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NullPointerException

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is:
java.lang.NullPointerException
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(Unknown Source)
at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Unknown Source)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(Unknown Source)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(EclipseErrorReportValve.java:153)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout$Row.<init>(TableAreaLayout.java:1199)
at org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout$Row.<init>(TableAreaLayout.java:1180)
at org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout$Row.<init>(TableAreaLayout.java:1186)
at org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout.addRow(TableAreaLayout.java:738)
at org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.addRow(PDFTableLM.java:821)
at org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.submitRoot(PDFRowLM.java:125)
at org.eclipse.birt.report.engine.layout.pdf.PDFInlineStackingLM.autoPageBreak(PDFInlineStackingLM.java:68)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.autoPageBreak(PDFBlockStackingLM.java:563)
at org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.autoPageBreak(PDFBlockStackingLM.java:563)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.endPage(PDFPageLM.java:249)
at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(PDFPageLM.java:217)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layoutReport(PDFReportLayoutEngine.java:64)
at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layout(PDFReportLayoutEngine.java:87)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:140)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:68)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown Source)
... 45 more


Thanks,
JP
Re: org.eclipse.birt.report.service.api.ReportServiceException [message #905069 is a reply to message #904931] Wed, 29 August 2012 16:17 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

JP,

Can you test it on a later version of BIRT?

Jason

On 8/29/2012 8:08 AM, JP Mising name wrote:
> Hi All,
>
> We have developed a report in BIRT2.2.1 with XML as dataSource. When we
> ran a report with small XML file it will generate PDF output
> successfully. But when we ran a report with large XML file it is Error
> as below. Please assist me.
>
> - org.eclipse.birt.report.service.api.ReportServiceException: Error
> happened while running the report; nested exception is:
> java.lang.NullPointerException
>
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode: faultString:
> org.eclipse.birt.report.service.api.ReportServiceException: Error
> happened while running the report; nested exception is:
> java.lang.NullPointerException
> faultActor: faultNode: faultDetail:
> {http://xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.NullPointerException
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(Unknown
> Source)
> at
> org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Unknown Source)
> at
> org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(Unknown
> Source)
> at
> org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(Unknown
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(Unknown
> Source)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(EclipseErrorReportValve.java:153)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
>
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout$Row.<init>(TableAreaLayout.java:1199)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout$Row.<init>(TableAreaLayout.java:1180)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout$Row.<init>(TableAreaLayout.java:1186)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.cache.TableAreaLayout.addRow(TableAreaLayout.java:738)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.addRow(PDFTableLM.java:821)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.submitRoot(PDFRowLM.java:125)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFInlineStackingLM.autoPageBreak(PDFInlineStackingLM.java:68)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.autoPageBreak(PDFBlockStackingLM.java:563)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM.autoPageBreak(PDFBlockStackingLM.java:563)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.endPage(PDFPageLM.java:249)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(PDFPageLM.java:217)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layoutReport(PDFReportLayoutEngine.java:64)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layout(PDFReportLayoutEngine.java:87)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:140)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:68)
>
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(Unknown
> Source)
> ... 45 more
Re: org.eclipse.birt.report.service.api.ReportServiceException [message #905071 is a reply to message #905069] Wed, 29 August 2012 16:23 Go to previous messageGo to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

we have the same issue with newer version too.

Thanks,
JP
Re: org.eclipse.birt.report.service.api.ReportServiceException [message #905082 is a reply to message #905071] Wed, 29 August 2012 16:42 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

JP,

I searched bugzilla and found this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204590
Can you open a new bugzilla with your xml data and test design?

Jason



On 8/29/2012 12:23 PM, JP Mising name wrote:
> we have the same issue with newer version too.
Re: org.eclipse.birt.report.service.api.ReportServiceException [message #905872 is a reply to message #905082] Fri, 31 August 2012 08:38 Go to previous message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

Thanks Jason,

I found the issue. One of the XML tag has large data, hence the column in rpt didn't wrap with the length. we have applied a trim condition on it and now it is working fine.

Thanks for your help..


Thanks,
JP
Previous Topic:Saving report output in DB
Next Topic:Adding new Dimensions to Data Cube and Cross Tab
Goto Forum:
  


Current Time: Mon Oct 25 11:40:52 GMT 2021

Powered by FUDForum. Page generated in 0.02337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top