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

Deserializing XMI delta FsIntList gets wrong value

    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

      When deserializing a list of ints, into a CAS where the list already exists, the code to update the existing list mistakenly converts the value from the serialized form, which is read as an "int", into a float, and then converts it back to an int.

      For large ints, this causes a loss of precision. The conversion appears to be entirely due to a cut/paste error.

        Attachments

          Activity

            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: