javax.servlet.ServletException: java.lang.NullPointerException

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 Google Groups by dan...@gmail.com (JIRA), 1 year ago
via Google Groups by ad...@hadriel.net (JIRA), 10 months ago
via Jenkins JIRA by BERNARDIN Benoit, 1 year ago
java.lang.NullPointerException
via Jenkins JIRA by BERNARDIN Benoit, 1 year ago
java.lang.NullPointerException
via GitHub by ezraroi
, 1 year ago
java.lang.NullPointerException
javax.servlet.ServletException: java.lang.NullPointerException
at org.jenkinsci.plugins.p4.tagging.TagAction.getPort(TagAction.java:141)
at org.jenkinsci.plugins.p4.PerforceScm.buildEnvVars(PerforceScm.java:451)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:927)
at org.jenkinsci.plugins.p4.PerforceScm.processWorkspaceBeforeDeletion(PerforceScm.java:546)
at hudson.scm.SCM.processWorkspaceBeforeDeletion(SCM.java:236)
at hudson.model.AbstractProject.performDelete(AbstractProject.java:375)
at hudson.model.AbstractItem.delete(AbstractItem.java:589)
at hudson.model.Job.delete(Job.java:688)
at hudson.model.AbstractItem.doDoDelete(AbstractItem.java:550)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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