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

CAS transportable Java object not serialised or deserialised with compressed binary

    XMLWordPrintableJSON

Details

    Description

      I have been experimenting with wrapping a CAS transportable Java HashMap inside an UIMA type, and I found that the internal UIMA FSArray is either not stored or restored, although _save_to_cas_data and _init_from_cas_data of UimaSerializableFSs are called during serialisation and deserialisation of a compressed CAS binary. I have not yet been able to pinpoint where it goes wrong, serialisation or deserialisation, but I attached a simple Maven project with a test that reproduces the problem. Notice that the test that uses XMI succeeds, while the one that uses SerialFormat.COMPRESSED_FILTERED_TS fails.

      cas-transported-java-objects.zip

      Attachments

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              mjuric Mario Juric
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: