java.lang.NullPointerException: Current Project is null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Riccardo Gorza, 1 year ago
Current Project is null
via Jenkins JIRA by Riccardo Gorza, 1 year ago
Current Project is null
via Google Groups by Jan Seidel, 2 years ago
Current Project is null
java.lang.NullPointerException: Current Project is null
at com.sonyericsson.rebuild.RebuildAction.getProject(RebuildAction.java:138)
at com.sonyericsson.rebuild.RebuildAction.isRebuildAvailable(RebuildAction.java:276)
at com.sonyericsson.rebuild.RebuildAction.getUrlName(RebuildAction.java:163)
at org.jenkinsci.lib.envinject.service.EnvInjectActionRetriever.getEnvInjectAction(EnvInjectActionRetriever.java:36)
at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getEnVars(EnvVarsResolver.java:54)
at org.jenkinsci.lib.envinject.service.EnvVarsResolver.getPollingEnvVars(EnvVarsResolver.java:36)
at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:371)
at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:97)
at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:294)
at hudson.model.Project.onLoad(Project.java:83)
at hudson.model.Items.load(Items.java:221)
at jenkins.model.Jenkins$17.run(Jenkins.java:2539)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:883)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.