NullPointerException using 4.4.7 - Gradle 3.1 and 2.14.1
See original GitHub issueUPDATE this seems to be an issue with Gradle 3.1 and 2.14.1
Here’s the stacktrace I get when I try to run artifactoryPublish
:
Caused by: java.lang.NullPointerException at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:352) at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:126) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:136) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:129) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:118) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:623) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:606) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) … 68 more
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (8 by maintainers)
Top GitHub Comments
@nadinne and @matwood, Version 4.4.12 has been released and includes the fix.
Was able to fix this via adding the
com.jfrog.artifactory
plugin toallprojects
in my top levelbuild.gradle
This is on gradle 3.1