FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
Error: Failed to generate Emma/JaCoCo coverage. Is Emma/JaCoCo jar on classpath?
Generated code coverage data to /data/user/0/org.smartregister.opensrp/files/coverage.ec
cat: /data/user/0/org.smartregister.opensrp/files/coverage.ec: No such file or directory
Error: The process '/bin/sh' failed with exit code 1
Enabling test coverage in the build file using the following debug configs results in the error logged here
The specific error that emerged after this upgrade is
Caused by: java.io.IOException: Error while instrumenting org/hl7/fhir/r5/formats/JsonParser.class with JaCoCo 0.8.11.202310140853/f33756c.
at org.jacoco.core.instr.Instrumenter.instrumentError(Instrumenter.java:161)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:111)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:136)
... 123 more
Caused by: org.objectweb.asm.ClassTooLargeException: Class too large: org/hl7/fhir/r5/formats/JsonParser
at org.objectweb.asm.ClassWriter.toByteArray(ClassWriter.java:622)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:92)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:109)
Describe the Issue The command used on main branch fails on this branch with the following error
Command:
Error
Enabling test coverage in the build file using the following debug configs results in the error logged here
The specific error that emerged after this upgrade is