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

Null pointer exception in platformlabeler

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • platformlabeler-plugin
    • None
    • Jenkins 2.289.2
      Platform labeler 878.v3d1d81b156bc
    • 940.v20c85620f679

      A null pointer exception was logged by the platformlabeler plugin

      java.lang.NullPointerException
              at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.getLabelsForNode(NodeLabelCache.java:163)
              at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.refreshModel(NodeLabelCache.java:107)
              at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.lambda$onConfigurationChange$0(NodeLabelCache.java:81)
              at java.util.WeakHashMap.forEach(WeakHashMap.java:1025)
              at java.util.Collections$SynchronizedMap.forEach(Collections.java:2649)
              at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.onConfigurationChange(NodeLabelCache.java:79)
              at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:250)
              at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1633)
              at jenkins.model.Nodes$6.run(Nodes.java:287)
              at hudson.model.Queue._withLock(Queue.java:1398)
              at hudson.model.Queue.withLock(Queue.java:1274)
              at jenkins.model.Nodes.removeNode(Nodes.java:278)
              at jenkins.model.Jenkins.removeNode(Jenkins.java:2163)
              at hudson.plugins.swarm.SwarmLauncher.afterDisconnect(SwarmLauncher.java:38)
              at hudson.slaves.SlaveComputer$1.onClosed(SlaveComputer.java:631)
              at hudson.remoting.Channel.terminate(Channel.java:1106)
      

            markewaite Mark Waite
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: