You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Aleksandar Dimitrov (JIRA)" <de...@uima.apache.org> on 2017/01/08 21:20:58 UTC

[jira] [Commented] (UIMA-5024) Simple bug in SimpleNamedResourceManager

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

Aleksandar Dimitrov commented on UIMA-5024:
-------------------------------------------

Hi, I've been bitten by this bug, and creating my AEs with SimpleResourceManager currently fails for aggregate AEs (but not for simple ones). Do you know of any workaround while 2.3.0 is not out yet?

> Simple bug in SimpleNamedResourceManager
> ----------------------------------------
>
>                 Key: UIMA-5024
>                 URL: https://issues.apache.org/jira/browse/UIMA-5024
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>             Fix For: 2.3.0uimaFIT
>
>
> The method getFieldValue(Object, String) needs to be altered to use
> getDeclaredField because ResourceRegistration is now protected due to
> https://issues.apache.org/jira/browse/UIMA-2102
> https://github.com/apache/uima-uimafit/blob/trunk/uimafit-core/src/main/java/org/apache/uima/fit/util/SimpleNamedResourceManager.java#L204
> User report: https://lists.apache.org/thread.html/b4f1df20acd7d13ba95a5aca6460a69ba53f0441250443bdf498770d@%3Cdev.uima.apache.org%3E
> ----
> Needs to be fixed in such a way that it also still works with older UIMA core versions.



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