Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-233

CAS View caching works incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.1
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          People

            alally Adam P. Lally
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: