Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28384

NPE from LoadStatistics$LoadStatisticsSnapshot$Builder.with

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Reported in JENKINS-26582:

      java.lang.NullPointerException
      	at hudson.model.LoadStatistics$LoadStatisticsSnapshot$Builder.with(LoadStatistics.java:624)
      	at hudson.model.LoadStatistics$LoadStatisticsSnapshot$Builder.with(LoadStatistics.java:619)
      	at hudson.model.LoadStatistics.computeSnapshot(LoadStatistics.java:352)
      	at …
      

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/LoadStatistics.java
            http://jenkins-ci.org/commit/jenkins/86bac90fcbc6f3720242fa0db8836e562d4113d7
            Log:
            [FIXED JENKINS-28384] NPE when Node.toComputer → null.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/LoadStatistics.java http://jenkins-ci.org/commit/jenkins/86bac90fcbc6f3720242fa0db8836e562d4113d7 Log: [FIXED JENKINS-28384] NPE when Node.toComputer → null.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/LoadStatistics.java
            http://jenkins-ci.org/commit/jenkins/49f5a4586720ba4eed50c214558f65fd4692542f
            Log:
            Merge pull request #1700 from jglick/NPE-JENKINS-28384

            JENKINS-28384 NPE when Node.toComputer → null

            Compare: https://github.com/jenkinsci/jenkins/compare/550ba0c1be51...49f5a4586720

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/LoadStatistics.java http://jenkins-ci.org/commit/jenkins/49f5a4586720ba4eed50c214558f65fd4692542f Log: Merge pull request #1700 from jglick/NPE- JENKINS-28384 JENKINS-28384 NPE when Node.toComputer → null Compare: https://github.com/jenkinsci/jenkins/compare/550ba0c1be51...49f5a4586720
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4135
            [FIXED JENKINS-28384] NPE when Node.toComputer → null. (Revision 86bac90fcbc6f3720242fa0db8836e562d4113d7)

            Result = SUCCESS
            jesse glick : 86bac90fcbc6f3720242fa0db8836e562d4113d7
            Files :

            • core/src/main/java/hudson/model/LoadStatistics.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4135 [FIXED JENKINS-28384] NPE when Node.toComputer → null. (Revision 86bac90fcbc6f3720242fa0db8836e562d4113d7) Result = SUCCESS jesse glick : 86bac90fcbc6f3720242fa0db8836e562d4113d7 Files : core/src/main/java/hudson/model/LoadStatistics.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/LoadStatistics.java
            http://jenkins-ci.org/commit/jenkins/aadc9914ff34edaf564b67706852f34c17245fb4
            Log:
            [FIXED JENKINS-28384] NPE when Node.toComputer → null.
            (cherry picked from commit 86bac90fcbc6f3720242fa0db8836e562d4113d7)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/LoadStatistics.java http://jenkins-ci.org/commit/jenkins/aadc9914ff34edaf564b67706852f34c17245fb4 Log: [FIXED JENKINS-28384] NPE when Node.toComputer → null. (cherry picked from commit 86bac90fcbc6f3720242fa0db8836e562d4113d7)
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/6966f33d3db7e7308a201580c9c842f30f7245c9
            Log:
            JENKINS-28384 Noting merge of #1700.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/6966f33d3db7e7308a201580c9c842f30f7245c9 Log: JENKINS-28384 Noting merge of #1700.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: tfennelly
            Path:
            CONTRIBUTING.md
            README.md
            changelog.html
            cli/pom.xml
            core/pom.xml
            core/src/main/java/hudson/model/AbstractBuild.java
            core/src/main/java/hudson/model/Computer.java
            core/src/main/java/hudson/model/Descriptor.java
            core/src/main/java/hudson/model/Fingerprint.java
            core/src/main/java/hudson/model/FingerprintMap.java
            core/src/main/java/hudson/model/LoadStatistics.java
            core/src/main/java/hudson/model/Run.java
            core/src/main/java/hudson/slaves/CommandLauncher.java
            core/src/main/java/hudson/slaves/OfflineCause.java
            core/src/main/java/hudson/slaves/SlaveComputer.java
            core/src/main/java/hudson/tasks/Maven.java
            core/src/main/java/hudson/tools/DownloadFromUrlInstaller.java
            core/src/main/java/hudson/util/ConsistentHash.java
            core/src/main/java/hudson/util/KeyedDataStorage.java
            core/src/main/java/hudson/util/MaskingClassLoader.java
            core/src/main/java/jenkins/model/FingerprintFacet.java
            core/src/main/java/jenkins/mvn/GlobalSettingsProvider.java
            core/src/main/java/jenkins/security/RSAConfidentialKey.java
            core/src/main/java/jenkins/security/RSADigitalSignatureConfidentialKey.java
            core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol.java
            core/src/main/resources/hudson/slaves/OfflineCause/cause.jelly
            core/src/main/resources/hudson/slaves/SlaveComputer/slave-agent.jnlp.jelly
            core/src/main/resources/lib/form/class-entry.jelly
            core/src/main/resources/lib/form/hetero-list/hetero-list.js
            core/src/test/groovy/jenkins/security/RSAConfidentialKeyTest.groovy
            core/src/test/groovy/jenkins/security/RSADigitalSignatureConfidentialKeyTest.groovy
            core/src/test/java/hudson/model/RunTest.java
            core/src/test/java/hudson/util/ConsistentHashTest.java
            plugins/pom.xml
            pom.xml
            test/pom.xml
            test/src/test/java/hudson/ClassicPluginStrategyTest.java
            test/src/test/java/hudson/model/ComputerTest.java
            test/src/test/java/hudson/model/DescriptorTest.java
            test/src/test/java/hudson/model/FreestyleJobPublisherTest.java
            test/src/test/java/hudson/model/NodeTest.java
            test/src/test/java/hudson/model/utils/AbortExceptionPublisher.java
            test/src/test/java/hudson/model/utils/IOExceptionPublisher.java
            test/src/test/java/hudson/model/utils/ResultWriterPublisher.java
            test/src/test/java/hudson/model/utils/TrueFalsePublisher.java
            test/src/test/java/hudson/slaves/CommandLauncherTest.java
            test/src/test/java/hudson/tasks/MavenTest.java
            test/src/test/java/hudson/util/ArgumentListBuilder2Test.java
            test/src/test/java/hudson/util/EchoCommand.java
            test/src/test/resources/hudson/ClassicPluginStrategyTest/testMaskResourceClassLoader.zip
            test/src/test/resources/hudson/model/DescriptorTest/B1/config.jelly
            test/src/test/resources/hudson/model/DescriptorTest/B2/config.jelly
            test/src/test/resources/hudson/model/DescriptorTest/D1/config.jelly
            test/src/test/resources/hudson/model/DescriptorTest/D2/config.jelly
            test/src/test/resources/hudson/model/DescriptorTest/D3/config.jelly
            war/pom.xml
            http://jenkins-ci.org/commit/jenkins/2c6bc734b741ab18631973ecd9722322b22616ca
            Log:
            Merge branch 'master' into extensionlist-listener

            • master: (61 commits)
              JENKINS-28384 Noting merge of #1700.
              update changelog: PR 1682 -> issue 28233, fix markup issue
              Remove duplicated 1.613 section from changelog
              [FIXED JENKINS-28384] NPE when Node.toComputer → null.
              Refactor fingerprint classes: Javadoc and annotations
              fixup ce747f942c3502f3dc93b69079b4786ceb38fe86
              Refactor ArgumentListBuilder#toWindowsCommand
              Improve ArgumentListBuilder#toWindowsCommand test coverage
              Forgotten @Test annotation
              updated changelog for release
              updated changelog for release
              [maven-release-plugin] prepare release jenkins-1.613
              [maven-release-plugin] prepare for next development iteration
              Report launcher exited before establishing the channel
              Remove erroneous '+ ' from log message.
              Increase visibility of Java 7 requirement
              Expose SlaveComputer#getLogDir() explicitly
              [FIXED JENKINS-28227] Switch to Enblish locale in RunTest#getDurationString to test messages.
              Noting #1591
              Noting #1682
              ...
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: tfennelly Path: CONTRIBUTING.md README.md changelog.html cli/pom.xml core/pom.xml core/src/main/java/hudson/model/AbstractBuild.java core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/model/Descriptor.java core/src/main/java/hudson/model/Fingerprint.java core/src/main/java/hudson/model/FingerprintMap.java core/src/main/java/hudson/model/LoadStatistics.java core/src/main/java/hudson/model/Run.java core/src/main/java/hudson/slaves/CommandLauncher.java core/src/main/java/hudson/slaves/OfflineCause.java core/src/main/java/hudson/slaves/SlaveComputer.java core/src/main/java/hudson/tasks/Maven.java core/src/main/java/hudson/tools/DownloadFromUrlInstaller.java core/src/main/java/hudson/util/ConsistentHash.java core/src/main/java/hudson/util/KeyedDataStorage.java core/src/main/java/hudson/util/MaskingClassLoader.java core/src/main/java/jenkins/model/FingerprintFacet.java core/src/main/java/jenkins/mvn/GlobalSettingsProvider.java core/src/main/java/jenkins/security/RSAConfidentialKey.java core/src/main/java/jenkins/security/RSADigitalSignatureConfidentialKey.java core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol.java core/src/main/resources/hudson/slaves/OfflineCause/cause.jelly core/src/main/resources/hudson/slaves/SlaveComputer/slave-agent.jnlp.jelly core/src/main/resources/lib/form/class-entry.jelly core/src/main/resources/lib/form/hetero-list/hetero-list.js core/src/test/groovy/jenkins/security/RSAConfidentialKeyTest.groovy core/src/test/groovy/jenkins/security/RSADigitalSignatureConfidentialKeyTest.groovy core/src/test/java/hudson/model/RunTest.java core/src/test/java/hudson/util/ConsistentHashTest.java plugins/pom.xml pom.xml test/pom.xml test/src/test/java/hudson/ClassicPluginStrategyTest.java test/src/test/java/hudson/model/ComputerTest.java test/src/test/java/hudson/model/DescriptorTest.java test/src/test/java/hudson/model/FreestyleJobPublisherTest.java test/src/test/java/hudson/model/NodeTest.java test/src/test/java/hudson/model/utils/AbortExceptionPublisher.java test/src/test/java/hudson/model/utils/IOExceptionPublisher.java test/src/test/java/hudson/model/utils/ResultWriterPublisher.java test/src/test/java/hudson/model/utils/TrueFalsePublisher.java test/src/test/java/hudson/slaves/CommandLauncherTest.java test/src/test/java/hudson/tasks/MavenTest.java test/src/test/java/hudson/util/ArgumentListBuilder2Test.java test/src/test/java/hudson/util/EchoCommand.java test/src/test/resources/hudson/ClassicPluginStrategyTest/testMaskResourceClassLoader.zip test/src/test/resources/hudson/model/DescriptorTest/B1/config.jelly test/src/test/resources/hudson/model/DescriptorTest/B2/config.jelly test/src/test/resources/hudson/model/DescriptorTest/D1/config.jelly test/src/test/resources/hudson/model/DescriptorTest/D2/config.jelly test/src/test/resources/hudson/model/DescriptorTest/D3/config.jelly war/pom.xml http://jenkins-ci.org/commit/jenkins/2c6bc734b741ab18631973ecd9722322b22616ca Log: Merge branch 'master' into extensionlist-listener master: (61 commits) JENKINS-28384 Noting merge of #1700. update changelog: PR 1682 -> issue 28233, fix markup issue Remove duplicated 1.613 section from changelog [FIXED JENKINS-28384] NPE when Node.toComputer → null. Refactor fingerprint classes: Javadoc and annotations fixup ce747f942c3502f3dc93b69079b4786ceb38fe86 Refactor ArgumentListBuilder#toWindowsCommand Improve ArgumentListBuilder#toWindowsCommand test coverage Forgotten @Test annotation updated changelog for release updated changelog for release [maven-release-plugin] prepare release jenkins-1.613 [maven-release-plugin] prepare for next development iteration Report launcher exited before establishing the channel Remove erroneous '+ ' from log message. Increase visibility of Java 7 requirement Expose SlaveComputer#getLogDir() explicitly [FIXED JENKINS-28227] Switch to Enblish locale in RunTest#getDurationString to test messages. Noting #1591 Noting #1682 ...
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4139

            Result = SUCCESS

            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4139 Result = SUCCESS
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-28384] NPE when Node.toComputer → null. (Revision aadc9914ff34edaf564b67706852f34c17245fb4)

            Result = UNSTABLE
            ogondza : aadc9914ff34edaf564b67706852f34c17245fb4
            Files :

            • core/src/main/java/hudson/model/LoadStatistics.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-28384] NPE when Node.toComputer → null. (Revision aadc9914ff34edaf564b67706852f34c17245fb4) Result = UNSTABLE ogondza : aadc9914ff34edaf564b67706852f34c17245fb4 Files : core/src/main/java/hudson/model/LoadStatistics.java

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: