His Richard, I created the Jira issue with a small Maven project that reproduces the issue. However, it seems to be related to the use of uimaFIT, since removing the uimaFIT references and running the test in uimaj-core didn’t reproduce the problem.
Cheers Mario > On 3 Nov 2020, at 14.00, Richard Eckart de Castilho <r...@apache.org> wrote: > > External email – Do not click links or open attachments unless you recognize > the sender and know that the content is safe. > > > Maybe you can attach a full Maven project which reproduces the issue on your > machine to the Jira. > > If I can reproduce it locally, I can look into fixing the issue. > > -- Richard > >> On 3. Nov 2020, at 13:52, Mario Juric <mario.ju...@cactusglobal.com> wrote: >> >> Hi Richard, >> >> I was in the middle of reporting the issue in JIra, when I received your >> mail. The test fails in my project, but it passes when I do like you do. >> Don’t know what the difference is, except that we use uiamFIT in our >> project. I also tried to define SubType manually outside the XML type >> description, and it worked in this case in my project as well, e.g. just >> added this static class to the test class. >> >> >> public static class SubType extends Annotation { >> >> public SubType(JCas jcas, int begin, int end) { >> super(jcas, begin, end); >> } >> >> } >> >> I actually don’t have a clue why I am seeing this difference in behaviour. >> >> Cheers >> Mario > ________________________________ Disclaimer: This email and any files transmitted with it are confidential and directed solely for the use of the intended addressee or addressees and may contain information that is legally privileged, confidential, and exempt from disclosure. If you have received this email in error, please notify the sender by telephone, fax, or return email and immediately delete this email and any files transmitted along with it. Unintended recipients are not authorized to disclose, disseminate, distribute, copy or take any action in reliance on information contained in this email and/or any files attached thereto, in any manner other than to notify the sender; any unauthorized use is subject to legal prosecution.