You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2015/09/30 11:46:04 UTC

[jira] [Commented] (UIMA-4618) jcasgen maven plugin reports only NPE for reserved feature name

    [ https://issues.apache.org/jira/browse/UIMA-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936642#comment-14936642 ] 

Richard Eckart de Castilho commented on UIMA-4618:
--------------------------------------------------

Sounds like the underlying jcasgen code should throw an exception in such a case - not like the Maven plugin should try to handle this.

> jcasgen maven plugin reports only NPE for reserved feature name
> ---------------------------------------------------------------
>
>                 Key: UIMA-4618
>                 URL: https://issues.apache.org/jira/browse/UIMA-4618
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework, jcasgen-maven-plugin
>    Affects Versions: 2.8.1SDK
>            Reporter: Peter Klügl
>            Priority: Minor
>             Fix For: 2.8.2SDK
>
>
> When the maven plugin is applied on a type system that contains a type that sepcifies a feature with a reserved name, e.g., type or address, then only an NPE is thrown without any indicator what went wrong (with the default logging settings). Some error message/logging in the default use case could save some time searching for the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)