java.lang.InterruptedException

Jenkins JIRA | bjacobse | 9 years ago
  1. 0

    I know this have been reported before, but I though I'd fill in with some additional information. I am trying to build our Maven2 multi project with Hudson, but it just hangs while trying to fetch artifacts from external repositories. The same build works fine from the commandline. I tried with Maven 2.0.4, Maven 2.0.6 and Maven 2.0.7 all with the same result. Here is what the console log shows: $ java -cp "C:\Documents and Settings\bjacobse\Local Settings\Temp\winstone\hudson.war\WEB-INF\lib\maven-agent-1.150.jar;C:\Program Files\maven-2.0.4\core\boot\classworlds-1.1.jar" hudson.maven.agent.Main "C:\Program Files\maven-2.0.4" "C:\Documents and Settings\bjacobse\Local Settings\Temp\winstone\hudson.war\WEB-INF\lib\remoting-1.150.jar" "C:\Documents and Settings\bjacobse\Local Settings\Temp\winstone\hudson.war\WEB-INF\lib\maven-interceptor-1.150.jar" channel started [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ip-functions [INFO] ip-code-translator [INFO] ip-code-service-rar [INFO] ip-code-service-ws [INFO] ip-exceptions [INFO] ip-logging [INFO] ip-logging-servlet [INFO] ip-soapfault-interpreter [INFO] ip-errorhandler-logging [INFO] ip-errorhandler [INFO] ip-bulls-logservice [INFO] ip-bulls-eventservice [INFO] ip-test-tse-logging [INFO] ip-testservice [INFO] test-webservices [INFO] bulls-webservices [INFO] ip-code-translator-rar [INFO] ip-alsb-logging Downloading: http://repo1.maven.org/maven2/org/apache/axis2/maven2/axis2-aar-maven-plugin/1.1/axis2-aar-maven-plugin-1.1.pom When I then eventually abort the job I get this stacktrace: ERROR: Aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at hudson.remoting.Request.call(Request.java:88) at hudson.remoting.Channel.call(Channel.java:272) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:309) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192) at hudson.model.Run.run(Run.java:601) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62) finished: FAILURE

    Jenkins JIRA | 9 years ago | bjacobse
    java.lang.InterruptedException
  2. 0

    I know this have been reported before, but I though I'd fill in with some additional information. I am trying to build our Maven2 multi project with Hudson, but it just hangs while trying to fetch artifacts from external repositories. The same build works fine from the commandline. I tried with Maven 2.0.4, Maven 2.0.6 and Maven 2.0.7 all with the same result. Here is what the console log shows: $ java -cp "C:\Documents and Settings\bjacobse\Local Settings\Temp\winstone\hudson.war\WEB-INF\lib\maven-agent-1.150.jar;C:\Program Files\maven-2.0.4\core\boot\classworlds-1.1.jar" hudson.maven.agent.Main "C:\Program Files\maven-2.0.4" "C:\Documents and Settings\bjacobse\Local Settings\Temp\winstone\hudson.war\WEB-INF\lib\remoting-1.150.jar" "C:\Documents and Settings\bjacobse\Local Settings\Temp\winstone\hudson.war\WEB-INF\lib\maven-interceptor-1.150.jar" channel started [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ip-functions [INFO] ip-code-translator [INFO] ip-code-service-rar [INFO] ip-code-service-ws [INFO] ip-exceptions [INFO] ip-logging [INFO] ip-logging-servlet [INFO] ip-soapfault-interpreter [INFO] ip-errorhandler-logging [INFO] ip-errorhandler [INFO] ip-bulls-logservice [INFO] ip-bulls-eventservice [INFO] ip-test-tse-logging [INFO] ip-testservice [INFO] test-webservices [INFO] bulls-webservices [INFO] ip-code-translator-rar [INFO] ip-alsb-logging Downloading: http://repo1.maven.org/maven2/org/apache/axis2/maven2/axis2-aar-maven-plugin/1.1/axis2-aar-maven-plugin-1.1.pom When I then eventually abort the job I get this stacktrace: ERROR: Aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at hudson.remoting.Request.call(Request.java:88) at hudson.remoting.Channel.call(Channel.java:272) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:309) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192) at hudson.model.Run.run(Run.java:601) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62) finished: FAILURE

    Jenkins JIRA | 9 years ago | bjacobse
    java.lang.InterruptedException
  3. 0

    HUdson 1.140 Java 1.6.0_01-b06 Tomcat 6 Windows XP dual processor I had a native m2 build with multiple modules, and noticed the build was hanging whilst download JUnit from central repo (most likely an issue with our proxy) so I aborted the job. The job aborted fine and project has been built several times since. However if I look at the module page for the project, the module that was in the process of being built for the aborted build still thinks it is in the process of being built. This causes errors with the update of the build history. Log of build#244 from the parent project ======================================== started Checking out svn://xxxxxxxxx/xxx/xxxxxx/trunk <SNIP> At revision 412 Parsing POMs $ C:\Progra~1\Java\jdk1.6.0_02/bin/java -cp "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\maven-agent-1.140.jar;C:\Program Files\maven-2.0.6\boot\classworlds-1.1.jar" hudson.maven.agent.Main "C:\Program Files\maven-2.0.6" "C:\Program Files\Apache Software Foundation\Tomcat 6.0 \webapps\ROOT\WEB-INF\lib\remoting-1.140.jar" "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\maven-interceptor-1.140.jar" channel started [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ECM-Recorder [INFO] Config [INFO] Messages [INFO] Multicast-Receiver [INFO] ECM-Demux [INFO] VECM-Demux [INFO] Cryptoperiod-Latch [INFO] XTVS-Networking [INFO] Push-Output [INFO] ECMR-Application [INFO] ------------------------------------------------------------------------- --- [INFO] Building ECM-Recorder [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] [install:install] [INFO] Installing c:\hudson\jobs\ECM-Recorder\workspace\trunk\pom.xml to C:\Documents and Settings\ShaperS\.m2\repository\com\nds\tvp\scg\ECM- Recorder\0.4-SNAPSHOT\ECM-Recorder-0.4-SNAPSHOT.pom [HUDSON] Archiving c:\hudson\jobs\ECM-Recorder\workspace\trunk\pom.xml [INFO] ------------------------------------------------------------------------- --- [INFO] Building Config [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact junit:junit: checking for updates from central ERROR: Aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at hudson.remoting.Request.call(Request.java:81) at hudson.remoting.Channel.call(Channel.java:264) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun (MavenModuleSetBuild.java:309) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181) at hudson.model.Run.run(Run.java:577) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:59) finished: FAILURE Log of the build from the module that thinks it is still building ================================================================= [INFO] ------------------------------------------------------------------------- --- [INFO] Building Config [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact junit:junit: checking for updates from central

    Jenkins JIRA | 9 years ago | James Nord
    java.lang.InterruptedException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HUdson 1.140 Java 1.6.0_01-b06 Tomcat 6 Windows XP dual processor I had a native m2 build with multiple modules, and noticed the build was hanging whilst download JUnit from central repo (most likely an issue with our proxy) so I aborted the job. The job aborted fine and project has been built several times since. However if I look at the module page for the project, the module that was in the process of being built for the aborted build still thinks it is in the process of being built. This causes errors with the update of the build history. Log of build#244 from the parent project ======================================== started Checking out svn://xxxxxxxxx/xxx/xxxxxx/trunk <SNIP> At revision 412 Parsing POMs $ C:\Progra~1\Java\jdk1.6.0_02/bin/java -cp "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\maven-agent-1.140.jar;C:\Program Files\maven-2.0.6\boot\classworlds-1.1.jar" hudson.maven.agent.Main "C:\Program Files\maven-2.0.6" "C:\Program Files\Apache Software Foundation\Tomcat 6.0 \webapps\ROOT\WEB-INF\lib\remoting-1.140.jar" "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\maven-interceptor-1.140.jar" channel started [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ECM-Recorder [INFO] Config [INFO] Messages [INFO] Multicast-Receiver [INFO] ECM-Demux [INFO] VECM-Demux [INFO] Cryptoperiod-Latch [INFO] XTVS-Networking [INFO] Push-Output [INFO] ECMR-Application [INFO] ------------------------------------------------------------------------- --- [INFO] Building ECM-Recorder [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] [install:install] [INFO] Installing c:\hudson\jobs\ECM-Recorder\workspace\trunk\pom.xml to C:\Documents and Settings\ShaperS\.m2\repository\com\nds\tvp\scg\ECM- Recorder\0.4-SNAPSHOT\ECM-Recorder-0.4-SNAPSHOT.pom [HUDSON] Archiving c:\hudson\jobs\ECM-Recorder\workspace\trunk\pom.xml [INFO] ------------------------------------------------------------------------- --- [INFO] Building Config [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact junit:junit: checking for updates from central ERROR: Aborted java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at hudson.remoting.Request.call(Request.java:81) at hudson.remoting.Channel.call(Channel.java:264) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun (MavenModuleSetBuild.java:309) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181) at hudson.model.Run.run(Run.java:577) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:59) finished: FAILURE Log of the build from the module that thinks it is still building ================================================================= [INFO] ------------------------------------------------------------------------- --- [INFO] Building Config [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact junit:junit: checking for updates from central

    Jenkins JIRA | 9 years ago | James Nord
    java.lang.InterruptedException

  1. treefolk 1 times, last 1 week ago
  2. danleyb2Interintel 1 times, last 2 weeks ago
  3. filpgame 1 times, last 1 month 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)
    2. java.lang.Object.wait(Object.java:485)
    2 frames
  3. Hudson :: Remoting Layer
    Channel.call
    1. hudson.remoting.Request.call(Request.java:88)
    2. hudson.remoting.Channel.call(Channel.java:272)
    2 frames
  4. Hudson Maven Embedder
    MavenModuleSetBuild$RunnerImpl.doRun
    1. hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:309)
    1 frame
  5. Hudson
    Run.run
    1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192)
    2. hudson.model.Run.run(Run.java:601)
    2 frames
  6. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172)
    1 frame
  7. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:70)
    2. hudson.model.Executor.run(Executor.java:62)
    2 frames