Please understand that without a stack trace we cannot investigate this. If you want us to have a look please create a reproducer you can share.
Regards, -marc > On 27. Oct 2023, at 09:08, Anuj Gupta <[email protected]> wrote: > > Hi Marc, > > I cannot share the whole trace for client confidentiality. But in general, > below are the configurations: > > Working configuration: > > <maven.compiler.source>13</maven.compiler.source> > <maven.compiler.target>13</maven.compiler.target> > <maven.compiler.version>3.8.1</maven.compiler.version> > <jacoco.version>0.8.3</jacoco.version> > > > After changing it to > > <maven.compiler.source>17</maven.compiler.source> > <maven.compiler.target>17</maven.compiler.target> > <maven.compiler.version>3.8.1</maven.compiler.version> > <jacoco.version>0.8.11</jacoco.version> > > It is giving below error while creating > > new MockUp<Modelclass>() { > @Mock > HttpResponseMessage buildResponse(HttpStatus status, String > message) { > return responseMessage; > } > }; > > [ERROR] RequestHandlerTest.testExecuteA » ArrayIndexOutOfBounds Index 3847 > out of bounds for length 1874 > [ERROR] RequestHandlerTest.testExecuteAWithException » > ArrayIndexOutOfBounds Index 3847 out of bounds for length 1874 > [ERROR] RequestHandlerTest.testExecuteB » ArrayIndexOutOfBounds Index 3847 > out of bounds for length 1874 > [ERROR] RequestHandlerTest.testExecuteBWithException » > ArrayIndexOutOfBounds Index 3847 out of bounds for length 1874 > [ERROR] testRunEmptyBody:52 » ArrayIndexOutOfBounds Index 51966 out of > bounds for length 146 > [ERROR] testRunEmptyHeader:73 » ArrayIndexOutOfBounds Index 51966 out of > bounds for length 146 > [ERROR] testRunEmptyHeader:73 » ArrayIndexOutOfBounds Index 51966 out of > bounds for length 146 > [ERROR] testRunEmpty:125 » ArrayIndexOutOfBounds Index 51966 out of bounds > for length 146 > [ERROR] testRunEmpty:125 » ArrayIndexOutOfBounds Index 51966 out of bounds > for length 146 > [ERROR] testRunInvalid:156 » ArrayIndexOutOfBounds Index 51966 out of > bounds for length 146 > [ERROR] testRunInvalidXml:94 » ArrayIndexOutOfBounds Index 51966 out of > bounds for length 146 > [ERROR] testRunInvalidateXml:195 » ArrayIndexOutOfBounds Index 51966 out of > bounds for length 146 > [ERROR] mock_env_vars:41 » ArrayIndexOutOfBounds Index 51966 out of bounds > for length 165 > > On Friday, 27 October 2023 at 11:36:12 UTC+5:30 Marc R. Hoffmann wrote: > Hi Anij, > > can you please provide a the full stack trace? JaCoCo supports all Java > versions from 5 to 22. > > Regards, > -marc > > > > >> On 27. Oct 2023, at 08:04, Anuj Gupta <[email protected] >> <applewebdata://16B92007-D2D7-44EF-ACA4-B34777218B77>> wrote: >> > >> HI Team >> >> I have integrated Jacoco with Java 17 but it is giving Array index out of >> bound error. When I modified the Java version to 11, it is perfectly >> generating the reports. >> >> Thanks >> Anuj Gupta >> > >> -- >> You received this message because you are subscribed to the Google Groups >> "JaCoCo and EclEmma Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <applewebdata://16B92007-D2D7-44EF-ACA4-B34777218B77>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jacoco/baee81cf-a63c-49f5-834e-acfe564b1390n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jacoco/baee81cf-a63c-49f5-834e-acfe564b1390n%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/da37bebe-8a14-4930-b6a0-7b97900145ecn%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/da37bebe-8a14-4930-b6a0-7b97900145ecn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/3ED4391D-A411-4548-8EAD-2E8924417841%40mountainminds.com.
