Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-532

ctakes-assertion throws NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: ctakes-assertion
    • Labels:
      None

      Description

      The code

      Map<Integer, String> assertionTypeMap = p.getAssertionTypeMap();
      ...
      for (Entry<Integer, String> current : assertionTypeMap.entrySet()) { ... }

      will raise NullPointerException since getAssertionTypeMap returns always null in ctakes-assertion/src/main/java/org/apache/ctakes/assertion/stub/SingleDocumentProcessor.java.

       If the problem is related to ctakes-76, the documentation for the assertion module should mention this point explicitly.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iglewski iglewski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: