[
https://issues.apache.org/jira/browse/UIMA-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thilo Goetz resolved UIMA-808.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.2S
Assignee: Michael Baessler (was: Thilo Goetz)
Calling servlet without parameters is now equivalent to calling with
mode=description.
Michael, please verify fix.
> 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.