Error at the time of viewing reports on UNIX.

NikhilNaik
edited February 11, 2022 in Analytics #1
hi all,

we have integrated BIRT in an application.

The reports are working fine on Windows environment, but when i try to view reports on Unix environment I am getting this error.

"org.eclipse.birt.report.service.api.ReportService Exception: Report document instance is empty. ".

Does any one know the reason for the same?

Please help me in solving this...

The Exception Stack Trace for the error are as given below

org.eclipse.birt.report.service.BirtViewerReportSe rvice.getPage(Unknown Source)
org.eclipse.birt.report.service.actionhandler.Birt ChangeParameterActionHandler.doRenderPage(Unknown Source)
org.eclipse.birt.report.service.actionhandler.Abst ractChangeParameterActionHandler.__execute(Unknown Source)
org.eclipse.birt.report.service.actionhandler.Abst ractBaseActionHandler.execute(Unknown Source)
org.eclipse.birt.report.soapengine.processor.Abstr actBaseDocumentProcessor.__executeAction(Unknown Source)
org.eclipse.birt.report.soapengine.processor.Abstr actBaseComponentProcessor.executeAction(Unknown Source)
org.eclipse.birt.report.soapengine.processor.BirtD ocumentProcessor.handleChangeParameter(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java(Compiled Code))
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java(Compiled Code))
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java(Compiled Code))
java.lang.reflect.Method.invoke(Method.java(Compil ed Code))
org.eclipse.birt.report.soapengine.processor.Abstr actBaseComponentProcessor.process(Unknown Source)
org.eclipse.birt.report.soapengine.endpoint.BirtSo apBindingImpl.getUpdatedObjects(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java(Compiled Code))
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java(Compiled Code))
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java(Compiled Code))
java.lang.reflect.Method.invoke(Method.java(Compil ed Code))
org.apache.axis.providers.java.RPCProvider.invokeM ethod(RPCProvider.java:397)
org.apache.axis.providers.java.RPCProvider.process Message(RPCProvider.java:186)
org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:323)
org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:83)
org.apache.axis.handlers.soap.SOAPService.invoke(S OAPService.java:453)
org.apache.axis.server.AxisServer.invoke(AxisServe r.java:281)
org.apache.axis.transport.http.AxisServlet.doPost( AxisServlet.java:699)
org.eclipse.birt.report.servlet.BirtSoapMessageDis patcherServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
org.apache.axis.transport.http.AxisServletBase.ser vice(AxisServletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1572)
com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:762)
com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:89)
com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:1936)
com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:114)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:472)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:411)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:288)
com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminaters(NewConnectionIniti alReadCallback.java:207)
com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:109)
com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java(Compiled Code))
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java(Compiled Code))
com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:952)
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1039)
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1471)



Please reply ASAP.

Comments

  • averma
    edited December 31, 1969 #2
    NikhilNaik:
    Do you have the classpath set up?
    What is your unix environment like ?
    How are you deploying and running the reports?
    Are you able to run any other report in this environment(without charts)?
    Do you have necessary GDI library installed on your Unix Box?

    Ashwini
    Warning No formatter is installed for the format ipb
  • NikhilNaik
    edited December 31, 1969 #3
    I am able to view reports quite some times.
    But it is giving this error randomly.
    I am able to view reports near about 5 times after restarting the server.
    But when I tried to view report after viewing near about 5 reports, I am getting this error.

    Even I am able to view report having charts(But thats only when I run the report at the 1st or 2nd time)

    And after getting this error no any report is working.

    Please Reply ASAP.