question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update JaCoCo to 0.8.7

See original GitHub issue

I’ve encountered an issue

Caused by: java.lang.IllegalStateException: Unexpected SMAP line: *S KotlinDebug

and it is related to this reported issue

and fortunately for me it is now fixed today in version 0.8.7! We just to updated JaCoCo!

JaCoCo 0.8.7 has been released JaCoCo Changelogs

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
Rolf-Smitcommented, May 5, 2021

Thanks for reporting this issue.

Please note that this Gradle Plugin does not enforce any JaCoCo version, it is just using the default JaCoCo version that is available or the version that is set by using:

    // Add to your build script (can be used after you apply the Jacoco plugin)

    jacoco {
        toolVersion = "0.8.7"
    }

Your pull-request doesn’t affect the actual plugin, it is just changing the JaCoCo version that is used to test the plugin itself, are you aware of that? In other words the IllegalStateException that you are experiencing can be fixed without actually updating this plugin, just change the version using the toolVersion property.

1reaction
raquezhacommented, May 6, 2021

@markchristopherng I think you still have 0.8.6 dependency your issue is related to this https://github.com/jacoco/jacoco/issues/1155#issuecomment-832642347

Read more comments on GitHub >

github_iconTop Results From Across the Web

JaCoCo - Change History
Release 0.8.7 (2021/05/04). New Features. JaCoCo now officially supports Java 15 and 16 (GitHub #1094, #1097, #1176). Experimental support for Java 17 class ......
Read more >
Update to jacoco 0.8.7 · Issue #195 - GitHub
Older Jacoco versions are incompatible with the Kotlin 1.5.x compiler. See this for more information. However, setting jacocoVersion = '0.8.7' seems to crash ......
Read more >
JaCoCo Java Code Coverage Library - EclEmma
Download Source Release Size Checksums jacoco‑0.8.8.zip 0.8.8 2022/04/05 3.8 MB md5 sha256 jacoco‑0.8.7.zip 0.8.7 2021/05/04 3.8 MB md5 sha256 jacoco‑0.8.6.zip 0.8.6 2020/09/15 3.8 MB md5 sha256...
Read more >
Update to use JaCoCo 0.8.7 by default - Issue Tracker
The default Jacoco version is now set to 0.8.7 as of AGP 7.2-alpha04. I will begin removing the older versions of the Jacoco...
Read more >
jacoco-maven-plugin » 0.8.7
The JaCoCo Maven Plugin provides the JaCoCo runtime agent to your tests and allows basic report creation. License, EPL 2.0. Categories, Maven ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found