java.lang.RuntimeException: Delegated task threw Exception/Error

Jenkins JIRA | stephenconnolly | 7 months 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

    Found following stack traces when preparing for my Jenkins World talk: {code} Sep 09, 2016 2:17:07 PM hudson.util.ExceptionCatchingThreadFactory uncaughtException WARNING: Thread Computer.threadPoolForRemoting [#3] terminated unexpectedly java.lang.RuntimeException: Delegated task threw Exception/Error at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1429) at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:535) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:813) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processRead(SSLEngineFilterLayer.java:336) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecv(SSLEngineFilterLayer.java:116) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669) at org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:138) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:148) at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:697) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at sun.security.ssl.SunX509KeyManagerImpl.getAliases(SunX509KeyManagerImpl.java:359) at sun.security.ssl.SunX509KeyManagerImpl.getClientAliases(SunX509KeyManagerImpl.java:308) at sun.security.ssl.SunX509KeyManagerImpl.chooseClientAlias(SunX509KeyManagerImpl.java:218) at sun.security.ssl.SunX509KeyManagerImpl.chooseEngineClientAlias(SunX509KeyManagerImpl.java:241) at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:806) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:348) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker$1.run(Handshaker.java:919) at sun.security.ssl.Handshaker$1.run(Handshaker.java:916) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processRead(SSLEngineFilterLayer.java:371) ... 9 more {code} In some cases this can lead to a stuck thread, so better option is to catch, log and close the connection

    Jenkins JIRA | 7 months ago | stephenconnolly
    java.lang.RuntimeException: Delegated task threw Exception/Error
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  6. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 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 sun.security.ssl.SunX509KeyManagerImpl.getAliases()
    2. Java JSSE
      Handshaker$1.run
      1. sun.security.ssl.SunX509KeyManagerImpl.getAliases(SunX509KeyManagerImpl.java:359)
      2. sun.security.ssl.SunX509KeyManagerImpl.getClientAliases(SunX509KeyManagerImpl.java:308)
      3. sun.security.ssl.SunX509KeyManagerImpl.chooseClientAlias(SunX509KeyManagerImpl.java:218)
      4. sun.security.ssl.SunX509KeyManagerImpl.chooseEngineClientAlias(SunX509KeyManagerImpl.java:241)
      5. sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:806)
      6. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:348)
      7. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
      8. sun.security.ssl.Handshaker$1.run(Handshaker.java:919)
      9. sun.security.ssl.Handshaker$1.run(Handshaker.java:916)
      9 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Java JSSE
      Handshaker$DelegatedTask.run
      1. sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
      1 frame
    5. org.jenkinsci.remoting
      IOHub$OnReady.run
      1. org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processRead(SSLEngineFilterLayer.java:371)
      2. org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecv(SSLEngineFilterLayer.java:116)
      3. org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669)
      4. org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:138)
      5. org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:148)
      6. org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:697)
      6 frames
    6. jenkins.util
      ContextResettingExecutorService$1.run
      1. jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames