You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Creating a CAS with a classloader that has no access to org.apache.uima.jcas.cas breaks JCas.
To Reproduce
Steps to reproduce the behavior:
Create a CAS using a resource manager that has an extension classloader set which has no access to org.apache.uima.jcas.cas
Try creating an annotation in that CAS using CAS.createAnnotation.
Exception that TOP cannot be found
Expected behavior
Should work. Actually, I think that well-known UIMA JCas classes should always be loaded through the UIMA frameworks's own classloader (e.g. the classloader for the CAS class) and not through the extension classloader.
Please complete the following information:
Version: 3.5.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Creating a CAS with a classloader that has no access to
org.apache.uima.jcas.cas
breaks JCas.To Reproduce
Steps to reproduce the behavior:
org.apache.uima.jcas.cas
CAS.createAnnotation
.Expected behavior
Should work. Actually, I think that well-known UIMA JCas classes should always be loaded through the UIMA frameworks's own classloader (e.g. the classloader for the CAS class) and not through the extension classloader.
Please complete the following information:
The text was updated successfully, but these errors were encountered: