java.lang.NullPointerException

Jenkins JIRA | Jean Detoeuf | 2 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

    I updated jenkins from 1.606 to 1.607. Since then, workflow builds hang on "allocating node". Running: Allocate node : Start Still waiting to schedule task Waiting for next available executor System logs are as follows : Timer task hudson.model.Queue$MaintainTask@6f7ff478 failed java.lang.NullPointerException at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:617) at java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:786) at java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1640) at jenkins.model.Nodes.getNode(Nodes.java:216) at jenkins.model.Jenkins.getNode(Jenkins.java:1667) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getLastBuiltOn(ExecutorStepExecution.java:187) at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:202) at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:172) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:390) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:318) at hudson.model.Queue.maintain(Queue.java:1355) at hudson.model.Queue$MaintainTask.doRun(Queue.java:2435) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) This build was functional before upgrading Jenkins.

    Jenkins JIRA | 2 years ago | Jean Detoeuf
    java.lang.NullPointerException
  2. 0

    I updated jenkins from 1.606 to 1.607. Since then, workflow builds hang on "allocating node". Running: Allocate node : Start Still waiting to schedule task Waiting for next available executor System logs are as follows : Timer task hudson.model.Queue$MaintainTask@6f7ff478 failed java.lang.NullPointerException at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:617) at java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:786) at java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1640) at jenkins.model.Nodes.getNode(Nodes.java:216) at jenkins.model.Jenkins.getNode(Jenkins.java:1667) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getLastBuiltOn(ExecutorStepExecution.java:187) at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:202) at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:172) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:390) at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:318) at hudson.model.Queue.maintain(Queue.java:1355) at hudson.model.Queue$MaintainTask.doRun(Queue.java:2435) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) This build was functional before upgrading Jenkins.

    Jenkins JIRA | 2 years ago | Jean Detoeuf
    java.lang.NullPointerException
  3. 0

    cqengine IndexedCollection add causing nullpointer

    Stack Overflow | 5 months ago | Hooli
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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 java.util.concurrent.ConcurrentSkipListMap.comparable()
    2. Java RT
      ConcurrentSkipListMap.get
      1. java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:617)
      2. java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:786)
      3. java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1640)
      3 frames
    3. jenkins.model
      Jenkins.getNode
      1. jenkins.model.Nodes.getNode(Nodes.java:216)
      2. jenkins.model.Jenkins.getNode(Jenkins.java:1667)
      2 frames
    4. org.jenkinsci.plugins
      ExecutorStepExecution$PlaceholderTask.getLastBuiltOn
      1. org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getLastBuiltOn(ExecutorStepExecution.java:187)
      1 frame
    5. Hudson
      SafeTimerTask.run
      1. hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:202)
      2. hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:172)
      3. hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:390)
      4. hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:318)
      5. hudson.model.Queue.maintain(Queue.java:1355)
      6. hudson.model.Queue$MaintainTask.doRun(Queue.java:2435)
      7. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
      7 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      9. java.lang.Thread.run(Thread.java:662)
      9 frames