Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occur

11,615 views
Skip to first unread message

diaoj...@gmail.com

unread,
Mar 19, 2019, 6:48:58 AM3/19/19
to JaCoCo and EclEmma Users
After we upgrade the gradle plugin version number
  • Gradle wrapper 4.10.1
  • Android Gradle plugin 3.3.1
and used the jacoco version
 
jacoco {
    toolVersion = '0.8.3'
}

the build the project,`./gradlew assembleDebug`, it reported that 
```
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occur while executing com.android.build.gradle.internal.tasks.JacocoTaskDelegate$JacocoWorkerAction
```  

Evgeny Mandrikov

unread,
Mar 19, 2019, 6:50:59 AM3/19/19
to JaCoCo and EclEmma Users
Please provide full stack trace.

diaoj...@gmail.com

unread,
Mar 19, 2019, 6:53:32 AM3/19/19
to JaCoCo and EclEmma Users
Caused by: java.lang.ExceptionInInitializerError

        at org.gradle.api.internal.classloading.GroovySystemLoaderFactory.forClassLoader(GroovySystemLoaderFactory.java:44)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)

        at org.gradle.workers.internal.IsolatedClassloaderWorkerFactory$1.execute(IsolatedClassloaderWorkerFactory.java:75)

        at org.gradle.workers.internal.DefaultWorkerExecutor$1.call(DefaultWorkerExecutor.java:102)

        ... 8 more

Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.4.12 and you are trying to load version 2.4.15


在 2019年3月19日星期二 UTC+8下午6:50:59,Evgeny Mandrikov写道:

Evgeny Mandrikov

unread,
Mar 19, 2019, 7:08:14 AM3/19/19
to JaCoCo and EclEmma Users
According to stack trace

Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.4.12 and you are trying to load version 2.4.15

this has nothing to do with JaCoCo project ( https://github.com/jacoco/jacoco ), which doesn't have any dependency on Groovy at all.

Problems in third-party plugins / integrations should be reported to the developers of these integrations.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages