Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Jboss Stream closed Exception on ODS/ODT reports generation
Jboss Stream closed Exception on ODS/ODT reports generation [message #814327] Tue, 06 March 2012 10:10 Go to next message
Tony M is currently offline Tony MFriend
Messages: 7
Registered: December 2011
Location: Lodon
Junior Member
Hello every one,

I have a problem when i generate ODS/ODT (it could be for the other open document formats as well) reports using birt API, Jboss is shown below.
a small note that the report is rendered properly, i am getting the proper output, it's just the exception and so far i have not succeeded to find a solution for it.

Any help would be appreciated

Thanks a lot

Tony

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
11:47:16,209 SEVERE [AbstractOdfEmitter] Stream closed
java.io.IOException: Stream closed
at java.util.zip.ZipOutputStream.ensureOpen(ZipOutputStream.java:70)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:189)
at org.eclipse.birt.report.engine.odf.pkg.Package.writeManifest(Package.java:188)
at org.eclipse.birt.report.engine.odf.pkg.Package.close(Package.java:120)
at org.eclipse.birt.report.engine.odf.AbstractOdfEmitter.save(AbstractOdfEmitter.java:166)
at org.eclipse.birt.report.engine.odf.AbstractOdfEmitter.end(AbstractOdfEmitter.java:143)
at org.eclipse.birt.report.engine.emitter.ods.OdsEmitter.end(OdsEmitter.java:552)
at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:694)
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:294)
at com.smartechlb.oikos.reporting.service.BirtEngineService.render(BirtEngineService.java:1047)
at com.smartechlb.oikos.reporting.web.BirtEngineController.renderReport(BirtEngineController.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:40
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.smartechlb.oikos.reporting.utils.JsonpCallbackFilter.doFilter(JsonpCallbackFilter.java:65)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
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:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: Jboss Stream closed Exception on ODS/ODT reports generation [message #814702 is a reply to message #814327] Tue, 06 March 2012 19:42 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

This is a known issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=372671

Jason

On 3/6/2012 5:10 AM, Tony Mising name wrote:
> Hello every one,
>
> I have a problem when i generate ODS/ODT (it could be for the other open
> document formats as well) reports using birt API, Jboss is shown below.
> a small note that the report is rendered properly, i am getting the
> proper output, it's just the exception and so far i have not succeeded
> to find a solution for it.
>
> Any help would be appreciated
>
> Thanks a lot
> Tony
>
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>
> 11:47:16,209 SEVERE [AbstractOdfEmitter] Stream closed
> java.io.IOException: Stream closed
> at java.util.zip.ZipOutputStream.ensureOpen(ZipOutputStream.java:70)
> at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:189)
> at
> org.eclipse.birt.report.engine.odf.pkg.Package.writeManifest(Package.java:188)
>
> at org.eclipse.birt.report.engine.odf.pkg.Package.close(Package.java:120)
> at
> org.eclipse.birt.report.engine.odf.AbstractOdfEmitter.save(AbstractOdfEmitter.java:166)
>
> at
> org.eclipse.birt.report.engine.odf.AbstractOdfEmitter.end(AbstractOdfEmitter.java:143)
>
> at
> org.eclipse.birt.report.engine.emitter.ods.OdsEmitter.end(OdsEmitter.java:552)
>
> at
> org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:694)
>
> at
> org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:294)
>
> at
> com.smartechlb.oikos.reporting.service.BirtEngineService.render(BirtEngineService.java:1047)
>
> at
> com.smartechlb.oikos.reporting.web.BirtEngineController.renderReport(BirtEngineController.java:73)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
>
> at
> org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:40
>
> at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>
> at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
>
> at
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> at
> com.smartechlb.oikos.reporting.utils.JsonpCallbackFilter.doFilter(JsonpCallbackFilter.java:65)
>
> at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
>
> at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
>
> 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:235)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
>
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
>
> at
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
>
> at
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
>
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:662)
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>
>
Previous Topic:how to create dependent component in the same report
Next Topic:is there functionallity in birt to go to client side with out report regeneration
Goto Forum:
  


Current Time: Mon Dec 22 12:18:36 GMT 2014

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

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