Servlet Example Error - with birt runtime 4.2.1 - HTTP Status 500 [message #997389] |
Mon, 07 January 2013 04:30  |
Eclipse User |
|
|
|
hi,
I'm working on the Servlet Example (2.1) which throws an error:
URL: http://localhost:8080/WebReport/run?ReportName=testWebReport.rptdesign
HTTP Status 500 -
description: The server encountered an internal error that prevented it from fulfilling this request.
exception:
java.lang.NullPointerException
BirtEngine.getBirtEngine(BirtEngine.java:81)
WebReport.doGet(WebReport.java:66)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
I'm using the birt-runtim 4.2.1 and tomcat 6.0.36.
I got an different screen after I've deleted the platform folder which includes two directories (plugin and configuration).
At that time it didn't occure a error but a weird screen:
%PDF-1.5 %âãÏÓ 2 0 obj <>stream xœ'ÍNÃ0„ï~Š=Âeñú?'½`©gHÝ""@"6Ry{ì¤"%¨,ÅÊ(ßx2ëš=x& XmÀ¯XîÙ‚Õ,ã`()À(M`KöÑËÆ©NÈQ>ÿþW¯"óÝ#qðkFÀã"È8JÈ EuRÓÓWì†[ä„‚"ŒØ½Ò·þ½Ï"Ná¨9e~v‚f3ðÙ(yvïJLIÖó¤êZTZw¥ôcGìORѸ!&4ÆöæÐ.ê;Z»Ð-"¡-Þ¿X†Wx ÛÏfùá¥ÚNýOÙ"2944æ›BÑîÃjÖIƹ;}Áé¹-Ân·nËòfMu"™kjöBÅÒÎ þu§®¦ûð"ô‚}Ëà endstream endobj 6 0 obj <> endobj 7 0 obj <>)/ModDate(D:20130107104558+01'00')/CreationDate(D:20130107104558+01'00')>> endobj 5 0 obj <>stream xœMPÑjÃ0ü?n«j/¬J`I--Æ $† BÛ`~q;N±+¶òUª'òNløfwÿ·d °3‚ëéC--ÄLÑú¤eo© endstream endobj 8 0 obj <<24df8fe204539c15cbb9eab555629144>]/Length 42/Info 7 0 R/Size 9/Filter/FlateDecode>>stream xœÆÁ Ã@§¨oöd2F`»Ðøq2`Ć\´Þ .ÉþrË÷ endstream endobj startxref 1296 %%EOF
Now I get a different error but i just put the platform folder back so I'm not sure why the error has changed:
HTTP Status 500 - Servlet.init() for servlet WebReport threw exception
type Exception report
message Servlet.init() for servlet WebReport threw exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet WebReport threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:722)
root cause
java.lang.NullPointerException
BirtEngine.getBirtEngine(BirtEngine.java:92)
WebReport.init(WebReport.java:129)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.
Thanks,
Samet
[Updated on: Mon, 07 January 2013 05:04] by Moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05473 seconds