iglewski created CTAKES-532:
-------------------------------

             Summary: ctakes-assertion throws NullPointerException
                 Key: CTAKES-532
                 URL: https://issues.apache.org/jira/browse/CTAKES-532
             Project: cTAKES
          Issue Type: Bug
          Components: ctakes-assertion
    Affects Versions: 4.0.0
            Reporter: iglewski


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.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to