[ https://issues.apache.org/jira/browse/CTAKES-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Finan closed CTAKES-532. ----------------------------- Fix Version/s: future enhancement Assignee: Sean Finan Resolution: Information Provided Added additional warnings. > 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 > Assignee: Sean Finan > Priority: Major > Fix For: future enhancement > > > 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 (v8.20.10#820010)