-
Bug
-
Resolution: Unresolved
-
Critical
-
None
Hi Team,
I have configured GClound SDK plugin and included gcloud cli in the job,
While executing a job it fails due to null pointer exception
Here is the log
ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (
https://jenkins.io/redirect/report-an-issue
).
java.lang.NullPointerException
at com.byclosure.jenkins.plugins.gcloud.GCloudBuildWrapper.getSDK(GCloudBuildWrapper.java:92)
at com.byclosure.jenkins.plugins.gcloud.GCloudBuildWrapper.setUp(GCloudBuildWrapper.java:52)
at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:667)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1815)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
project=hudson.maven.MavenModuleSet@15b6d37a[dk0871-e/gcloud-integration]
project.getModules()=[]
project.getRootModule()=null
FATAL: null
java.lang.NullPointerException
at com.byclosure.jenkins.plugins.gcloud.GCloudBuildWrapper.getSDK(GCloudBuildWrapper.java:92)
at com.byclosure.jenkins.plugins.gcloud.GCloudBuildWrapper.setUp(GCloudBuildWrapper.java:52)
at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:667)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1815)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE