java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When specifying label in P4 plugin, the following error occurs. Plugin appears to be compiling a list of perforce jobs per changelist, but we dont have perforce job for some changelists (not mandatory). P4 Task: saving built changes. ... p4 client -o jenkins-dev-gmge-release + ... p4 info + ... p4 changes -m100 //jenkins-dev-gmge-release/...@274096,branch_0015 + ... p4 client -o jenkins-dev-gmge-release + ... p4 info + ... p4 client -o jenkins-dev-gmge-release + ... p4 info + ... p4 label -o branch_0015 + ... p4 files -m51 //...@branch_0015 - p4 files -m51 //...@branch_0015 //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI-soapui-project.xml#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/build.gradle#2 - integrate change 273605 (text) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/public_html/WEB-INF/web.xml#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/Base64CharactersOTP.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/DefaultProperties.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/Generate.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/HmacSHA1Signature.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/NumericOneTimePassword.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/OneTimePassword.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/OneTimePasswordInterface.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/PasswordType.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/PropertiesBase.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/PropertiesInterface.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/ResourceBasedProperties.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/UtilsHelper.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/Validate.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/ValidationResultEnum.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/exception/InvalidParamException.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/exception/PropertiesException.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/otp-config.properties#1 - branch change 272745 (text) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/Base64CharactersOTPTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/HmacSHA1SignatureTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/NumericOneTimePasswordTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/OneTimePasswordTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/build.gradle#1 - branch change 272745 (text) //company/branch/Fusion/Build/.classpath#1 - branch change 270626 (text) //company/branch/Fusion/Build/.p4ignore#1 - branch change 270626 (text) //company/branch/Fusion/Build/.project#1 - branch change 270626 (text) //company/branch/Fusion/Build/Build.jpr#1 - branch change 270626 (text) //company/branch/Fusion/Build/Build.jws#1 - branch change 270626 (text) //company/branch/Fusion/Build/ant_includes/ant-deployapps.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ant-orabpel.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ant-oracle.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/aspectj_build.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/axis2.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/bpel.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/common.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/configPlan_template.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/database.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/datasource.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ejb.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/esb.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/loadProperties.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/pack200.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/rules.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/security.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ui.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/war.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/bin/README_GLIDe Data Retention Strategy.doc#1 - branch change 270626 (binary) //company/branch/Fusion/Build/bin/cbt.cmd#1 - branch change 270626 (text+x) //company/branch/Fusion/Build/bin/check_patches.sh#1 - branch change 270626 (text+kx) FATAL: null java.lang.NullPointerException at org.jenkinsci.plugins.p4.changes.P4ChangeSet.store(P4ChangeSet.java:93) at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:300) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)
    via by Sunil Jacob,
  • When specifying label in P4 plugin, the following error occurs. Plugin appears to be compiling a list of perforce jobs per changelist, but we dont have perforce job for some changelists (not mandatory). P4 Task: saving built changes. ... p4 client -o jenkins-dev-gmge-release + ... p4 info + ... p4 changes -m100 //jenkins-dev-gmge-release/...@274096,branch_0015 + ... p4 client -o jenkins-dev-gmge-release + ... p4 info + ... p4 client -o jenkins-dev-gmge-release + ... p4 info + ... p4 label -o branch_0015 + ... p4 files -m51 //...@branch_0015 - p4 files -m51 //...@branch_0015 //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI-soapui-project.xml#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/build.gradle#2 - integrate change 273605 (text) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/public_html/WEB-INF/web.xml#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/Base64CharactersOTP.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/DefaultProperties.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/Generate.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/HmacSHA1Signature.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/NumericOneTimePassword.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/OneTimePassword.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/OneTimePasswordInterface.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/PasswordType.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/PropertiesBase.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/PropertiesInterface.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/ResourceBasedProperties.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/UtilsHelper.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/Validate.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/ValidationResultEnum.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/exception/InvalidParamException.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/com/company/apiservices/onetimepassword/exception/PropertiesException.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/java/otp-config.properties#1 - branch change 272745 (text) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/Base64CharactersOTPTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/HmacSHA1SignatureTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/NumericOneTimePasswordTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/OneTimePasswordAPI/src/test/com/company/apiservices/onetimepassword/OneTimePasswordTest.java#1 - branch change 272745 (text+k) //company/branch/Fusion/APIServices/OneTimePassword/build.gradle#1 - branch change 272745 (text) //company/branch/Fusion/Build/.classpath#1 - branch change 270626 (text) //company/branch/Fusion/Build/.p4ignore#1 - branch change 270626 (text) //company/branch/Fusion/Build/.project#1 - branch change 270626 (text) //company/branch/Fusion/Build/Build.jpr#1 - branch change 270626 (text) //company/branch/Fusion/Build/Build.jws#1 - branch change 270626 (text) //company/branch/Fusion/Build/ant_includes/ant-deployapps.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ant-orabpel.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ant-oracle.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/aspectj_build.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/axis2.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/bpel.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/common.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/configPlan_template.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/database.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/datasource.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ejb.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/esb.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/loadProperties.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/pack200.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/rules.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/security.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/ui.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/ant_includes/war.xml#1 - branch change 270626 (text+k) //company/branch/Fusion/Build/bin/README_GLIDe Data Retention Strategy.doc#1 - branch change 270626 (binary) //company/branch/Fusion/Build/bin/cbt.cmd#1 - branch change 270626 (text+x) //company/branch/Fusion/Build/bin/check_patches.sh#1 - branch change 270626 (text+kx) FATAL: null java.lang.NullPointerException at org.jenkinsci.plugins.p4.changes.P4ChangeSet.store(P4ChangeSet.java:93) at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:300) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)
    via by Sunil Jacob,
    • java.lang.NullPointerException at org.jenkinsci.plugins.p4.workspace.Workspace.set(Workspace.java:104) at org.jenkinsci.plugins.p4.PerforceScm.setBuildLabel(PerforceScm.java:241) at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:202) at hudson.model.AbstractProject.checkout(AbstractProject.java:1259) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

    Users with the same issue

    Unknown visitor1 times, last one,