uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balkrishnan.V <balkrishna...@iiitb.net>
Subject servlet simple-server-test threw exception java.lang.NullPointerException ...
Date Sat, 07 Mar 2009 06:12:58 GMT
Hi,

I am using the Simple-Server from the Sandbox.

When I load a text-file of size 4MB to generate the corresponding annotation-xml
then I get the following exception:

==============================================================================
org.apache.uima.simpleserver.servlet.SimpleServerServlet: POST request received:
Sat Mar 07 00:51:48 IST 2009
Mar 7, 2009 12:51:48 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet simple-server-test threw exception
java.lang.NullPointerException
	at org.apache.uima.simpleserver.servlet.SimpleServerServlet.analyze
(SimpleServerServlet.java:194)
	at org.apache.uima.simpleserver.servlet.SimpleServerServlet.doPost
(SimpleServerServlet.java:181)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	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 org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
	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:286)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
==============================================================================

Can you please let me know how I can resolve this error ?

Thanks in Advance,

--Balkrishnan.V




Mime
View raw message