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

   **Describe the bug**
   When a type is defined in an XML type descriptor but for some reason has not 
been registered in the JCasRegistry, a misleading error message is produced: 
   
   ```
   Type "my.Type" used in Java code, but was not declared in XML type 
descriptor.
   ```
   
   It was in the descriptor, but it is not registered.
   
   **To Reproduce**
   Tricky. This can be force by isolating the UIMA framework from loading 
user-provided JCas classes.
   
   **Expected behavior**
   A better error message like maybe 
   
   ```
   Type "my.Type" defined in CAS type system and used in Java code, but was not 
registered in JCasRegistry.
   ```
   
   **Please complete the following information:**
    - Version: 3.3.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-unsubscr...@uima.apache.org.apache.org

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

Reply via email to