java.lang.NullPointerException

Jenkins JIRA | Sunil Jacob | 8 months ago
  1. 0

    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)

    Jenkins JIRA | 8 months ago | Sunil Jacob
    java.lang.NullPointerException
  2. 0

    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)

    Jenkins JIRA | 8 months ago | Sunil Jacob
    java.lang.NullPointerException
  3. 0

    [JIRA] [p4-plugin] (JENKINS-31169) NullPointerException if user doesn't exist when collecting changes

    Google Groups | 1 year ago | phil.mcardle@cloudgine.com (JIRA)
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jenkinsci.plugins.p4.changes.P4ChangeSet.store()
    2. org.jenkinsci.plugins
      PerforceScm.checkout
      1. org.jenkinsci.plugins.p4.changes.P4ChangeSet.store(P4ChangeSet.java:93)
      2. org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:300)
      2 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:485)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
      3 frames
    4. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1738)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:410)
      5 frames