New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradlew koverHtmlReport koverVerify launches "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException" #183
Comments
Hi, |
Related #166 |
Hi! No, it isn't |
I've experienced same issue; in my case with android modules. Switching to |
Seeing the same error with Kover |
Same here using Cover |
You can get the latest IntelliJ engine version from looking at the versions in Maven Central: https://search.maven.org/artifact/org.jetbrains.intellij.deps/intellij-coverage-agent |
Must be fixed in |
Hi,
When I try to run "gradlew koverHtmlReport koverVerify" to generate a report, I receive the following error. It seems something has changed in my application that generates an error as some commits ago I was able to do it without encountering problems. Now it happens and I don't understand where to find the problem or how can I debug this.
[ERROR] [system.err] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for length 7
[ERROR] [system.err] at jetbrains.coverage.report.idea.IDEACoverageClassInfo.getStatementStats(IDEACoverageClassInfo.java:129)
[ERROR] [system.err] at jetbrains.coverage.report.impl.StatisticsCalculatorImpl.computeForClass(StatisticsCalculatorImpl.java:51)
[ERROR] [system.err] at jetbrains.coverage.report.impl.StatisticsCalculatorImpl.doCompute(StatisticsCalculatorImpl.java:40)
[ERROR] [system.err] at jetbrains.coverage.report.impl.StatisticsCalculatorImpl.compute(StatisticsCalculatorImpl.java:34)
[ERROR] [system.err] at jetbrains.coverage.report.impl.html.HTMLReportBuilderImpl.generateReport(HTMLReportBuilderImpl.java:80)
[ERROR] [system.err] at jetbrains.coverage.report.impl.html.HTMLReportBuilderImpl.generateReport(HTMLReportBuilderImpl.java:76)
[ERROR] [system.err] at com.intellij.rt.coverage.report.Reporter.createHTMLReport(Reporter.java:53)
[ERROR] [system.err] at com.intellij.rt.coverage.report.Main.main(Main.java:48)
[DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
[DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command 'C:\Program Files\Java\jdk11015\bin\java.exe'' finished with exit value 1 (state: FAILED)
Can you help me to understand what should I check and what should I do to solve the problem?
Thanks a lot!
The text was updated successfully, but these errors were encountered: