You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2011/08/12 16:51:27 UTC

[jira] [Closed] (UIMA-2211) pear failure when using multiple views with JCas

     [ https://issues.apache.org/jira/browse/UIMA-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-2211.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.2SDK

> pear failure when using multiple views with JCas
> ------------------------------------------------
>
>                 Key: UIMA-2211
>                 URL: https://issues.apache.org/jira/browse/UIMA-2211
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.3.1SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.3.2SDK
>
>
> A user reported that setting a sofa mapping in a pipeline initialization that included a Pear which used JCas, caused a failure where the JCas initialization couldn't find the classes to load.
> Running in debug mode showed that the JCas class loader was not using the Pear's class loader.  Stepping through the code showed that casImpl's switchClassLoader method was failing to switch the classloader for the Pear's annotator, because of the multiple views.  The code looked at the 
> CAS's "jcas" field, and found it null (because it was for a view which had not yet been referenced as a JCas).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira