Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6483

UIMA SimpleServer is not compatible with the latest Ruta feature (relation annotation)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.3.0ruta
    • None
    • addons
    • None
    • Important

    Description

      SimpleServer does not recognize relation annotation as mentioned in [Apache UIMA Ruta™ Guide and Reference|https://uima.apache.org/d/ruta-current/tools.ruta.book.html]. It will throw error when recognizing any such annotation.

      HTTP Status 500 - XML output failed
      type Exception report
      message XML output failed
      description The server encountered an internal error that prevented it from fulfilling this request.
      exception
      java.lang.RuntimeException: XML output failed
      	org.apache.uima.simpleserver.output.ResultConverter.getXMLString(ResultConverter.java:88)
      	org.apache.uima.simpleserver.servlet.SimpleServerServlet.transformResult(SimpleServerServlet.java:296)
      	org.apache.uima.simpleserver.servlet.SimpleServerServlet.analyze(SimpleServerServlet.java:213)
      	org.apache.uima.simpleserver.servlet.SimpleServerServlet.doPost(SimpleServerServlet.java:190)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
      root cause
      java.lang.NullPointerException: Cannot invoke "org.apache.uima.simpleserver.output.Result.getResultEntries()" because "result" is null
      	org.apache.uima.simpleserver.output.ResultConverter.getXMLString(ResultConverter.java:60)
      	org.apache.uima.simpleserver.servlet.SimpleServerServlet.transformResult(SimpleServerServlet.java:296)
      	org.apache.uima.simpleserver.servlet.SimpleServerServlet.analyze(SimpleServerServlet.java:213)
      	org.apache.uima.simpleserver.servlet.SimpleServerServlet.doPost(SimpleServerServlet.java:190)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:723) 

      Attachments

        Activity

          People

            Unassigned Unassigned
            Baytars Yue Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: