uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Fin <tong....@gmail.com>
Subject Re: UIMA : Task
Date Fri, 06 Mar 2009 21:39:53 GMT
Hi,
When you do POST, do you use "text" as the parameter for setting the string
from your input text-file ?

It will help if you can give us more info about the parameters of your POST.

-- Tong

On Fri, Mar 6, 2009 at 3:46 PM, Balkrishnan. V <balkrishnan.v@iiitb.net>wrote:

> 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
>
>
>


-- 
 Tong

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message