You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2007/01/26 21:11:49 UTC

[jira] Work started: (UIMA-233) CAS View caching works incorrectly

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

Work on UIMA-233 started by Eddie Epstein.

> CAS View caching works incorrectly
> ----------------------------------
>
>                 Key: UIMA-233
>                 URL: https://issues.apache.org/jira/browse/UIMA-233
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Adam Lally
>         Assigned To: Eddie Epstein
>            Priority: Critical
>             Fix For: 2.1
>
>
> The CASImpl retains references to CAS views in its sofa2tcasmap field, across calls to CAS.reset.  However, during the CAS.reset, the view's mySofaRef is seto to 0.  So the next time someone calls getView(Sofa), the Sofa is looked up in the sofa2tcasmap, and since there is a view there, it is retrieved from the map and returned to the caller.  But the View now has a null Sofa and will not work properly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.