[ 
https://issues.apache.org/jira/browse/UIMA-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Baessler closed UIMA-808.
---------------------------------


NPE fixed.

> SimpleServerServlet throws NullPointerExcpetion if no parameter was specified 
> in doGet or doPost
> ------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-808
>                 URL: https://issues.apache.org/jira/browse/UIMA-808
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-SimpleServer
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>             Fix For: 2.2.2S
>
>
> If the servlet is called without specifying any parameter a NPE is thrown:
> java.lang.NullPointerException
>       
> org.apache.uima.simpleserver.servlet.SimpleServerServlet.analyze(SimpleServerServlet.java:187)
>       
> org.apache.uima.simpleserver.servlet.SimpleServerServlet.doGet(SimpleServerServlet.java:159)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> I think this case should be covered so that no exception is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to