You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gretty with Gradle 4.6 results in Could not create task of type 'AppStartTask' when running any gradle task. NPE in JacocoPluginExtension.applyTo(JacocoPluginExtension.java:117)
#425
Open
gunalmel opened this issue
Mar 12, 2018
· 1 comment
which was previously fixed in #339 for an earlier version.
When gradle build task is called with -- stacktrace:
> Could not create task of type 'AppStartTask'.
Caused by: java.lang.NullPointerException
at org.gradle.testing.jacoco.plugins.JacocoPluginExtension.applyTo(JacocoPluginExtension.java:117)
at org.gradle.testing.jacoco.plugins.JacocoPluginExtension$applyTo.call(Unknown Source)
at org.akhikhl.gretty.StartBaseTask.initJacoco(StartBaseTask.groovy:156)
at org.akhikhl.gretty.StartBaseTask.<init>(StartBaseTask.groovy:41)
at org.akhikhl.gretty.AppStartTask.<init>(AppStartTask.groovy)
at org.akhikhl.gretty.AppStartTask_Decorated.<init>(Unknown Source)
at org.gradle.api.internal.DependencyInjectingInstantiator.newInstance(DependencyInjectingInstantiator.java:81)
at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:119)
The text was updated successfully, but these errors were encountered:
Workaround: Using the workaround reported in http://akhikhl.github.io/gretty-doc/Code-coverage-support.html
which was previously fixed in #339 for an earlier version.
When gradle build task is called with -- stacktrace:
The text was updated successfully, but these errors were encountered: