uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-5961) InternationalizedException getLocalizedMessage fails in pear
Date Mon, 04 Feb 2019 16:36:00 GMT

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

Marshall Schor commented on UIMA-5961:
--------------------------------------

My suggestion above is probably not right.   The climbing class loader would naturally find
some class in the call chain that was in the PEAR bundle (if the error occurred in some class
loaded from the PEAR), and from there, would make use of that class's classloader, which whould
include the the PEAR's classpath.

In your use case, was the message bundle you were hoping to use, in the PEAR's classloader? 
Could you please post a stack trace, to debug this further?

> InternationalizedException getLocalizedMessage fails in pear
> ------------------------------------------------------------
>
>                 Key: UIMA-5961
>                 URL: https://issues.apache.org/jira/browse/UIMA-5961
>             Project: UIMA
>          Issue Type: Bug
>    Affects Versions: 2.10.3SDK
>            Reporter: Matthias Koch
>            Assignee: Marshall Schor
>            Priority: Major
>             Fix For: 3.0.2SDK, 2.10.4SDK
>
>         Attachments: UIMA-5961.diff
>
>
> localized message does not work in the case of pears. The classloader stored in the internationalizedException
is wrong. The bundle cant be found in this classloader.



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

Mime
View raw message