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

Throw exception if setting FS reference to FS not in CAS

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.5.0SDK
    • Core Java Framework
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment