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

NPE while deserializing an XMI in a PEAR context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.3.1SDK
    • None
    • Core Java Framework
    • None
      • SO: macOS 12.6.2
      • OpenJDK Temurin 1.8.0_322
      • uimaj-core 3.3.1

    Description

      When running an AAE in a PEAR context (uimaj-core 3.3.1), if a CAS Multiplier tries to populate a new CAS while loading it from an XMI file, a NullPointerException is thrown by the method maybeMakeBaseVersionForPear of the class CASImpl.java (line 1536).

       

      Complete failing example here: https://github.com/benisantos/uima3-xmi-deserializer-in-pear

       

      Workaround: use the uimaj-io-json library and de/serialize JSON instead of XMI.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            benisantos Beni Santos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: