java.lang.NullPointerException

Jenkins JIRA | Matthew Mitchell | 7 months ago
  1. 0

    [JIRA] [core] (JENKINS-34887) PingFailureAnalyzer NPE

    Google Groups | 7 months ago | mmi...@microsoft.com (JIRA)
    java.lang.NullPointerException
  2. 0

    I've seen this a few times in the past: Exception in thread "Ping thread for channel hudson.remoting.Channel@63b204d9:channel" java.lang.NullPointerException at jenkins.slaves.PingFailureAnalyzer.all(PingFailureAnalyzer.java:31) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:111) at hudson.remoting.PingThread.ping(PingThread.java:126) at hudson.remoting.PingThread.run(PingThread.java:85) Mar 29, 2016 12:05:10 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82) at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72) at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103) at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Though I haven't looked at it in a while, IIRC,\ Jenkins.getInstance() was failing and returning null.

    Jenkins JIRA | 7 months ago | Matthew Mitchell
    java.lang.NullPointerException
  3. 0

    I've seen this a few times in the past: Exception in thread "Ping thread for channel hudson.remoting.Channel@63b204d9:channel" java.lang.NullPointerException at jenkins.slaves.PingFailureAnalyzer.all(PingFailureAnalyzer.java:31) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:111) at hudson.remoting.PingThread.ping(PingThread.java:126) at hudson.remoting.PingThread.run(PingThread.java:85) Mar 29, 2016 12:05:10 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82) at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72) at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103) at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Though I haven't looked at it in a while, IIRC,\ Jenkins.getInstance() was failing and returning null.

    Jenkins JIRA | 7 months ago | Matthew Mitchell
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: 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 jenkins.slaves.PingFailureAnalyzer.all()
    2. jenkins.slaves
      PingFailureAnalyzer.all
      1. jenkins.slaves.PingFailureAnalyzer.all(PingFailureAnalyzer.java:31)
      1 frame
    3. Hudson
      ChannelPinger$1.onDead
      1. hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:111)
      1 frame
    4. Hudson :: Remoting Layer
      PingThread.run
      1. hudson.remoting.PingThread.ping(PingThread.java:126)
      2. hudson.remoting.PingThread.run(PingThread.java:85)
      2 frames