hudson.remoting.RemotingSystemException: java.lang.InterruptedException

Jenkins JIRA | Oliver Gondža | 4 months ago
  1. 0

    {{Jenkins.instance}} in groovy console yields: {noformat} java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:191) at Script1.class$(Script1.groovy) at Script1.$get$$class$jenkins$model$Jenkins(Script1.groovy) at Script1.run(Script1.groovy:1) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589) at hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:142) at hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} Following happened earlier in slave log: {noformat} Slave.jar version: 2.52 This is a Unix slave Evacuated stdout Slave successfully connected and online Jul 27, 2016 8:36:57 AM jenkins.model.Jenkins <clinit> SEVERE: Failed to load Jenkins.class hudson.remoting.RemotingSystemException: java.lang.InterruptedException at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:266) at com.sun.proxy.$Proxy5.fetch3(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:171) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at com.thoughtworks.xstream.XStream.buildMapper(XStream.java:590) at com.thoughtworks.xstream.XStream.<init>(XStream.java:568) at com.thoughtworks.xstream.XStream.<init>(XStream.java:496) at com.thoughtworks.xstream.XStream.<init>(XStream.java:465) at com.thoughtworks.xstream.XStream.<init>(XStream.java:411) at com.thoughtworks.xstream.XStream.<init>(XStream.java:350) at hudson.util.XStream2.<init>(XStream2.java:88) at jenkins.model.Jenkins.<clinit>(Jenkins.java:4217) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:191) at Script1.class$(Script1.groovy) at Script1.$get$$class$jenkins$model$Jenkins(Script1.groovy) at Script1.run(Script1.groovy:1) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589) at hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:142) at hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.Request.call(Request.java:147) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:253) ... 30 more {noformat} I dare to say it is another incarnation of JENKINS-19453, where classloading is interrupted and never reattempted.

    Jenkins JIRA | 4 months ago | Oliver Gondža
    hudson.remoting.RemotingSystemException: java.lang.InterruptedException
  2. 0

    IQueue.take() method can throw InterruptedException, but throws HazelcastException instead

    GitHub | 2 years ago | fargus
    com.hazelcast.core.HazelcastException: java.lang.InterruptedException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    CI job hang in a tomcat security test

    GitHub | 2 years ago | davsclaus
    java.lang.InterruptedException
  5. 0

    test.TestForker.testSimple2 failure

    GitHub | 5 years ago | fhuberts
    java.lang.InterruptedException

  1. treefolk 1 times, last 2 weeks ago
  2. danleyb2Interintel 1 times, last 2 weeks ago
  3. filpgame 1 times, last 2 months ago
  4. Nikolay Rybak 4 times, last 4 months ago
  5. Handemelindo 1 times, last 4 months ago
6 more registered users
18 unregistered visitors
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.InterruptedException

    No message provided

    at java.lang.Object.wait()
  2. Java RT
    Object.wait
    1. java.lang.Object.wait(Native Method)
    1 frame
  3. Hudson :: Remoting Layer
    RemoteInvocationHandler.invoke
    1. hudson.remoting.Request.call(Request.java:147)
    2. hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:253)
    2 frames
  4. com.sun.proxy
    $Proxy5.fetch3
    1. com.sun.proxy.$Proxy5.fetch3(Unknown Source)
    1 frame
  5. Hudson :: Remoting Layer
    RemoteClassLoader.findClass
    1. hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:171)
    1 frame
  6. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    2 frames
  7. XStream Core
    XStream.<init>
    1. com.thoughtworks.xstream.XStream.buildMapper(XStream.java:590)
    2. com.thoughtworks.xstream.XStream.<init>(XStream.java:568)
    3. com.thoughtworks.xstream.XStream.<init>(XStream.java:496)
    4. com.thoughtworks.xstream.XStream.<init>(XStream.java:465)
    5. com.thoughtworks.xstream.XStream.<init>(XStream.java:411)
    6. com.thoughtworks.xstream.XStream.<init>(XStream.java:350)
    6 frames
  8. Hudson
    XStream2.<init>
    1. hudson.util.XStream2.<init>(XStream2.java:88)
    1 frame
  9. jenkins.model
    Jenkins.<clinit>
    1. jenkins.model.Jenkins.<clinit>(Jenkins.java:4217)
    1 frame
  10. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:191)
    2 frames
  11. Unknown
    Script1.run
    1. Script1.class$(Script1.groovy)
    2. Script1.$get$$class$jenkins$model$Jenkins(Script1.groovy)
    3. Script1.run(Script1.groovy:1)
    3 frames
  12. Groovy
    GroovyShell.evaluate
    1. groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
    2. groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
    3. groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
    3 frames
  13. Hudson
    RemotingDiagnostics$Script.call
    1. hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:142)
    2. hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:114)
    2 frames
  14. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:121)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:49)
    3. hudson.remoting.Request$2.run(Request.java:326)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    4 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames