You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by GitBox <gi...@apache.org> on 2022/07/28 17:20:21 UTC

[GitHub] [uima-uimaj] raghu298 opened a new issue, #234: Missing UIMA type, JCas Class name: org.apache.uima.jcas.tcas.Annotation, index: 21, jcasRegisteredTypes size: 95

raghu298 opened a new issue, #234:
URL: https://github.com/apache/uima-uimaj/issues/234

   JCas jCas=UIMAFramework.produceAnalysisEngine(AnalysisEngineDescription desc, ResourceManagerFactory.newResourceManager(),
                 null).newJCas();
   Type annotationType = cas.getJCas().getCasType(org.apache.uima.jcas.tcas.Annotation.type);
   
   Exception will be raised as Annotation is missing.
   
   uima: 3.3.0
   ruta-core: 3.2.0


-- 
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-unsubscribe@uima.apache.org.apache.org

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


[GitHub] [uima-uimaj] reckart commented on issue #234: Missing UIMA type, JCas Class name: org.apache.uima.jcas.tcas.Annotation, index: 21, jcasRegisteredTypes size: 95

Posted by GitBox <gi...@apache.org>.
reckart commented on issue #234:
URL: https://github.com/apache/uima-uimaj/issues/234#issuecomment-1198433126

   Can you provide a runnable Java project (preferably a Maven Project) which allows reproducing your problem?


-- 
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-unsubscribe@uima.apache.org

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


[GitHub] [uima-uimaj] reckart commented on issue #234: Using builtin annotation classes before creating a CAS can break type system management

Posted by GitBox <gi...@apache.org>.
reckart commented on issue #234:
URL: https://github.com/apache/uima-uimaj/issues/234#issuecomment-1215653856

   It seems this case can happen when annotation classes are used before a CAS / type-system is initialized. Due to the initialization order, it can happen that the JCCI for a built-in JCas class is set up before the classes static final `typeIndexID` field has been initialized. That means the JCCI records the JCas class with type ID 0. 


-- 
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-unsubscribe@uima.apache.org

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


[GitHub] [uima-uimaj] raghu298 commented on issue #234: Missing UIMA type, JCas Class name: org.apache.uima.jcas.tcas.Annotation, index: 21, jcasRegisteredTypes size: 95

Posted by GitBox <gi...@apache.org>.
raghu298 commented on issue #234:
URL: https://github.com/apache/uima-uimaj/issues/234#issuecomment-1198436544

   Hi Team,
   
   Appreciate your response.
   
   Let me prepare and will send.
   
   Its happening once migrating from uima v2 to uima v3.
   
   Regards,
   
   Raghunath...
   
   On Thu, 28 Jul, 2022, 10:56 pm Richard Eckart de Castilho, <
   ***@***.***> wrote:
   
   > Can you provide a runnable Java project (preferably a Maven Project) which
   > allows reproducing your problem?
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/uima-uimaj/issues/234#issuecomment-1198433126>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AEE3MWNJQKFI7X5PLJZCXJDVWK7DVANCNFSM546A7EHA>
   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


-- 
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-unsubscribe@uima.apache.org

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