java.lang.NullPointerException

Jenkins JIRA | Silvio Matthes | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Since updating to latest Jenkins and clearcase plugin, i have been unable to successfully run a build past the updating view stage. $ cleartool -version ClearCase version 8.0.0.01 (Wed Dec 28 01:01:29 EST 2011) (8.0.0.01.00_2011D.FCS) ClearCase version 8.0.0.02 (Thu Apr 05 18:31:09 EST 2012) (8.0.0.02.00_2012A.FCS) ClearCase version 8.0.0.03 (Thu Jun 21 16:08:51 EST 2012) (8.0.0.03.00_2012B.FCS) ClearCase version 8.0.0.04 (Thu Sep 13 15:30:21 EDT 2012) (8.0.0.04.00_2012C.FCS) ClearCase version 8.0.0.05 (Thu Nov 29 22:26:07 EST 2012) (8.0.0.05.00_2012D.D121129) @(#) MVFS version 8.0.0.5 (Wed Nov 14 01:04:52 2012) cleartool 8.0.0.5 (Fri Nov 16 15:11:24 2012) db_server 8.0.0.5 (Wed Nov 21 01:26:48 2012) VOB database schema versions: 54, 80 Running cleartool setcs, this operation may take a while [view] $ cleartool setcs -current -overwrite FATAL: null java.lang.NullPointerException at hudson.plugins.clearcase.action.BaseSnapshotCheckoutAction.checkout(BaseSnapshotCheckoutAction.java:103) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666) at hudson.model.AbstractProject.checkout(AbstractProject.java:1394) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1593) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247)

    Jenkins JIRA | 4 years ago | Brad Grimmett
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    While testing the 1.5.4-SNAPSHOT for another issue, I see a new issue where the plugin gets a java.lang.NullPointerException when the plugin is running "ct diffbl". Reverting to the 1.5.3 version makes the issue go away. Console log: ... ... ... [mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191] $ /usr/atria//bin/cleartool lshistory -all -since 2-apr-15.06:31:38utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:Draco_ML_int -nco vobs/mrf_vob1/OAMP vobs/mrf_vob1/Draco "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/inc/MpcCpSpa_PortData.h" "/main/Draco_Import_int/Draco_ML_int/4" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/scp/MpcCpScp_CallLegRdncy.cpp" "/main/Draco_Import_int/Draco_ML_int/5" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/spa/MpcCpSpa_RdncyMgr.cpp" "/main/Draco_Import_int/Draco_ML_int/6" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/spa/MpcCpSpa_PortDataRdncy.cpp" "/main/Draco_Import_int/Draco_ML_int/5" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/spa/MpcCpSpa_ScrmSpa.cpp" "/main/Draco_Import_int/Draco_ML_int/16" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/spa/MpcCpSpa_PortData.cpp" "/main/Draco_Import_int/Draco_ML_int/8" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.201242" "rkanniap" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/scp/MpcCpScp_PortControl.cpp" "/main/Draco_ML_int/5" "create version" "checkin" "deliver.rkanniap_Draco_ML.20150402.201014" "20150402.165346" "apaulraj" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Scc/Cp/src/smp/SccCpSmp_coreAffinityTbl.cpp" "/main/Draco_Import_int/Draco_ML_int/5" "create version" "checkin" "deliver.apaulraj_Draco_ML.20150402.165419" "20150402.151802" "apaulraj" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Scc/Macros/bin/card/Set_MPC_Service_Mode" "/main/Draco_Import_int/Draco_ML_int/4" "create version" "checkin" "deliver.apaulraj_Draco_ML.20150402.151806" "20150402.151802" "apaulraj" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Scc/Cp/src/smp/SccCpSmp_commShelfTbl.cpp" "/main/Draco_Import_int/Draco_ML_int/1" "create version" "checkin" "deliver.apaulraj_Draco_ML.20150402.151806" "20150402.151732" "apaulraj" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Scc/Cp/src/smp/SccCpSmp_commShelfTbl.cpp" "/main/Draco_Import_int/Draco_ML_int/0" "create version" "mkbranch" "" "20150402.151732" "apaulraj" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Scc/Cp/src/smp/SccCpSmp_commShelfTbl.cpp" "/main/Draco_Import_int/Draco_ML_int" "create branch" "mkbranch" "" "20150402.151517" "ankumar" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/cc/MpcCpCc_ProcCom.cpp" "/main/Draco_Import_int/Draco_ML_int/8" "create version" "checkin" "deliver.ankumar_Draco_ML.20150402.151351" "20150402.143604" "sagupta" "/view/mrfbldac_Mainline_Draco_Draco_ML-AllTargets_191/vobs/mrf_vob1/Draco/Mpc/Cp/src/b2bscp/MpcCpB2BScp_SdpGetFunctions.cpp" "/main/Draco_Import_int/Draco_ML_int/7" "create version" "checkin" "deliver.sagupta_Draco_ML.20150402.143701" [Draco_ML-AllTargets] $ /usr/atria//bin/cleartool diffbl -activities baseline:PLATFORM_1.03@/vobs/mrf_pvob baseline:PLATFORM_1.05@/vobs/mrf_pvob Comparing the following: PLATFORM_1.03@/vobs/mrf_pvob PLATFORM_1.05@/vobs/mrf_pvob Differences: >> deliver.fchaliss_Platform_ML_dev.20150325.114544@/vobs/mrf_pvob "deliver fchaliss_Platform_ML_dev on 25-03-2015 11:45:44." >> NCQ_Release_PLATFORM_1.04_binary_checkins@/vobs/mrf_pvob "NCQ: Release PLATFORM_1.04 binary checkins" >> deliver.hrajpoot_Platform_ML.20150331.141741@/vobs/mrf_pvob "deliver hrajpoot_Platform_ML on 31-Mar-15 2:17:41 PM." >> NCQ_Release_PLATFORM_1.05_binary_checkins@/vobs/mrf_pvob "NCQ: Release PLATFORM_1.05 binary checkins" >> MAS00074221@/vobs/mrf_pvob "MAS00074221" >> MAS00057851_After_SCC_Swithover_LED_on_chasis_Facelplate_rese@/vobs/mrf_pvob "MAS00057851:After SCC Swithover LED on chasis Facelplate reset" FATAL: null java.lang.NullPointerException at hudson.plugins.clearcase.history.DefaultFilter.accept(DefaultFilter.java:36) at hudson.plugins.clearcase.history.FilterChain.accept(FilterChain.java:50) at hudson.plugins.clearcase.history.AbstractHistoryAction.filterEntries(AbstractHistoryAction.java:139) at hudson.plugins.clearcase.history.AbstractHistoryAction.runAndFilterLsHistory(AbstractHistoryAction.java:260) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:81) at hudson.plugins.clearcase.ucm.UcmHistoryAction.getChanges(UcmHistoryAction.java:109) at hudson.plugins.clearcase.AbstractClearCaseScm.saveChangeLog(AbstractClearCaseScm.java:1098) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:388) at hudson.model.AbstractProject.checkout(AbstractProject.java:1253) 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:1745) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Jenkins JIRA | 2 years ago | John Lengeling
    java.lang.NullPointerException
  4. 0

    Since updating to latest Jenkins and clearcase plugin, i have been unable to successfully run a build past the updating view stage. $ cleartool -version ClearCase version 8.0.0.01 (Wed Dec 28 01:01:29 EST 2011) (8.0.0.01.00_2011D.FCS) ClearCase version 8.0.0.02 (Thu Apr 05 18:31:09 EST 2012) (8.0.0.02.00_2012A.FCS) ClearCase version 8.0.0.03 (Thu Jun 21 16:08:51 EST 2012) (8.0.0.03.00_2012B.FCS) ClearCase version 8.0.0.04 (Thu Sep 13 15:30:21 EDT 2012) (8.0.0.04.00_2012C.FCS) ClearCase version 8.0.0.05 (Thu Nov 29 22:26:07 EST 2012) (8.0.0.05.00_2012D.D121129) @(#) MVFS version 8.0.0.5 (Wed Nov 14 01:04:52 2012) cleartool 8.0.0.5 (Fri Nov 16 15:11:24 2012) db_server 8.0.0.5 (Wed Nov 21 01:26:48 2012) VOB database schema versions: 54, 80 Running cleartool setcs, this operation may take a while [view] $ cleartool setcs -current -overwrite FATAL: null java.lang.NullPointerException at hudson.plugins.clearcase.action.BaseSnapshotCheckoutAction.checkout(BaseSnapshotCheckoutAction.java:103) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666) at hudson.model.AbstractProject.checkout(AbstractProject.java:1394) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1593) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247)

    Jenkins JIRA | 4 years ago | Brad Grimmett
    java.lang.NullPointerException

    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 hudson.plugins.clearcase.AbstractClearCaseScm$AbstractClearCaseScmDescriptor.getCleartoolExe()
    2. hudson.plugins.clearcase
      AbstractClearCaseScm.checkout
      1. hudson.plugins.clearcase.AbstractClearCaseScm$AbstractClearCaseScmDescriptor.getCleartoolExe(AbstractClearCaseScm.java:111)
      2. hudson.plugins.clearcase.AbstractClearCaseScm.createClearToolLauncher(AbstractClearCaseScm.java:794)
      3. hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:623)
      3 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1331)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
      2 frames
    4. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587)
      2. hudson.model.Run.execute(Run.java:1557)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:236)
      5 frames