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

Throw exception if setting FS reference to FS not in CAS

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      It would be helpful if adding a feature structure reference to a CAS for a feature structure that does not exist in that CAS failed quickly and with a clear exception as to the cause.

      In my case I had two CASes and referred to a feature structure in one from a feature structure in another. The exception was a cryptic NPE in BinaryCasSerDes4 during CAS serialization.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: