You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/12/20 20:39:00 UTC
[jira] [Commented] (CTAKES-532) ctakes-assertion throws NullPointerException
[ https://issues.apache.org/jira/browse/CTAKES-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649966#comment-17649966 ]
ASF subversion and git services commented on CTAKES-532:
--------------------------------------------------------
Commit 4b56534ba361a9c5957e913950223ca6bae4b1d0 in ctakes's branch refs/heads/main from Sean Finan
[ https://gitbox.apache.org/repos/asf?p=ctakes.git;h=4b56534 ]
CTAKES-532
CTAKES-531
> 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)