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

ctakes-assertion throws NullPointerException

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 4.0.0
    • future enhancement
    • ctakes-assertion
    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            seanfinan Sean Finan
            iglewski iglewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment