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

bin cas deserialization form 6 delta cas has some errors in obscure cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      While putting in support for deserialization of delta CASes which update existing FS which may be indexed (thus needing special handling to avoid potentially corrupting the index), I noticed what appeared to be a kind of copy-paste error - where a wrong FS feature offset variable was being used.

      This would only ever show up if form 6 was being used and the source and target type systems differed in a manner that led to different offsets in the FS for the affected kinds of features. The affected kinds are: byte, boolean, float, and string, and arrays of float and string. The typo was that the heap update was using the cas-being-deserialized'd feature offset, instead of the cas-being-deserialized-into's offset. Other kinds were correct.

        Activity

        Hide
        schor Marshall Schor added a comment -

        fixed in revision 1644829

        Show
        schor Marshall Schor added a comment - fixed in revision 1644829

          People

          • Assignee:
            schor Marshall Schor
            Reporter:
            schor Marshall Schor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development