reckart commented on issue #285:
URL: https://github.com/apache/uima-uimaj/issues/285#issuecomment-1398457380

   Ok, so it appears that this is what happens:
   
   * JCas is put into switched-classloader-mode (i.e. PEAR mode) as the PEAR 
starts processing it
   * the XmiCasDeserializer resets the CAS (using 
`casBeingFilled.resetNoQuestions()`) which forces the sets the FS<->trampoline 
maps in the CAS back to `null`
   * Later when an FS is created, it sees that the switched-classloader-mode is 
still active and tries to use the FS<->trampoline maps (that should be present 
in this mode), but crashes betcause they were set to null


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@uima.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to