It's all about the answers!

Ask a question

Preview Report fails:


Christophe Elek (2.9k12921) | asked Aug 05 '09, 12:38 p.m.
JAZZ DEVELOPER
edited Sep 29 '13, 4:22 p.m. by Krzysztof Ka┼║mierczyk (7.4k34997)
Seems I have a bad config (RTC 2.0 installed with IIM - BIRT 2.3.2)

BIRT Chart Framework

Version: 2.3.2.r232_v20081010-7_7D79_doT2uMPVNwOGoz0HKuyI8
Build id: v20090218-0730


When I try to preview (even an empty report)
I get the following. Known issue ? Did I miss a setup ?

java.lang.IllegalStateException: The viewing session is not available or
has expired.
at
org.eclipse.birt.report.service.ReportEngineService.createRunAndRenderTas
k(ReportEngineService.java:983)
at
org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport
(ReportEngineService.java:848)
at
org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderRepor
t(BirtViewerReportService.java:938)
at
org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler
..__execute(BirtGetPageAllActionHandler.java:131)
at
org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.e
xecute(AbstractBaseActionHandler.java:90)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcesso
r.__executeAction(AbstractBaseDocumentProcessor.java:47)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcess
or.executeAction(AbstractBaseComponentProcessor.java:143)
at
org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handle
GetPageAll(BirtDocumentProcessor.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcess
or.process(AbstractBaseComponentProcessor.java:112)
at
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdate
dObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at org.apache.axis.transport.http.AxisServletBase.service
(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service
(BirtSoapMessageDispatcherServlet.java:122)
at org.eclipse.equinox.http.registry.internal.ServletManager
$ServletWrapper.service(ServletManager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleReque
st(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias
(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service
(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager
$InternalHttpServiceServlet.service(HttpServerManager.java:269)
at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch
(ServletHandler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)








No error in .log

--
Christophe Elek
Jazz L3
IBM Software Group - Rational

2 answers



permanent link
James Moody (3.3k24) | answered Aug 06 '09, 9:49 a.m.
JAZZ DEVELOPER
Hi Christophe,

First off, you really should use BIRT 2.3.2.2 rather than 2.3.2 - it
fixes a number of rather crucial editor bugs that negatively impacted
the authoring experience. I don't see 2.3.2.2 on the update site; I
usually just download and unzip it myself. How do you have BIRT
installed currently?

Also, did you see the instructions here:

https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport20

james
RTC Reports Team Lead

On 8/5/2009 4:38 PM, Christophe Elek wrote:
Seems I have a bad config (RTC 2.0 installed with IIM - BIRT 2.3.2)

BIRT Chart Framework

Version: 2.3.2.r232_v20081010-7_7D79_doT2uMPVNwOGoz0HKuyI8
Build id: v20090218-0730


When I try to preview (even an empty report)
I get the following. Known issue ? Did I miss a setup ?

java.lang.IllegalStateException: The viewing session is not available or
has expired.
at
org.eclipse.birt.report.service.ReportEngineService.createRunAndRenderTas
k(ReportEngineService.java:983)
at
org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport
(ReportEngineService.java:848)
at
org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderRepor
t(BirtViewerReportService.java:938)
at
org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler
.__execute(BirtGetPageAllActionHandler.java:131)
at
org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.e
xecute(AbstractBaseActionHandler.java:90)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcesso
r.__executeAction(AbstractBaseDocumentProcessor.java:47)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcess
or.executeAction(AbstractBaseComponentProcessor.java:143)
at
org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handle
GetPageAll(BirtDocumentProcessor.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcess
or.process(AbstractBaseComponentProcessor.java:112)
at
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdate
dObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at org.apache.axis.transport.http.AxisServletBase.service
(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service
(BirtSoapMessageDispatcherServlet.java:122)
at org.eclipse.equinox.http.registry.internal.ServletManager
$ServletWrapper.service(ServletManager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleReque
st(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias
(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service
(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager
$InternalHttpServiceServlet.service(HttpServerManager.java:269)
at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch
(ServletHandler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)








No error in .log

permanent link
Christophe Elek (2.9k12921) | answered Aug 06 '09, 5:59 a.m.
JAZZ DEVELOPER
James Moody <James_Moody> wrote in news:h5en0s$5k8$1
@localhost.localdomain:

I don't see 2.3.2.2 on the update site; I
usually just download and unzip it myself. How do you have BIRT
installed currently?

Also, did you see the instructions here:

https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport20


Thx James
- I got BIRT from Update Manager directly, will get 2.3.2.2
- I did not see the instruction <blush>, I followed your video where you
stated 'I installed BIRT' :) So I installed BIRT :)
I will do thx

--
Christophe Elek
Jazz L3
IBM Software Group - Rational

Your answer


Register or to post your answer.