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

Deserializing XMI delta FsIntList gets wrong value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0SDK
    • Core Java Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: