java.lang.Exception

Jenkins JIRA | crbeng | 8 years ago
  1. 0

    I'm using hudson 1.297. My build job output BUILD SUCCESSFUL and got stuck: ... rm -f release_build_analyzer/ba-doc-4.5.0.tar.gz cd release_build_analyzer && tar zcf ba-doc-4.5.0.tar.gz ./* BUILD SUCCESSFUL BUILD SUCCESSFUL It's a build through make. I noticed the following error in the log for the build machine that started about 1ish pm and repeated numerous times: Mar 18, 2009 4:31:54 PM hudson.Proc$LocalProc join WARNING: Process leaked file descriptors. See http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build for more information java.lang.Exception at hudson.Proc$LocalProc.join(Proc.java:128) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:424) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:405) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:200) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) According to http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build, hudson should just print out a warning and move on. It did not. The job stayed hung for hours.

    Jenkins JIRA | 8 years ago | crbeng
    java.lang.Exception
  2. 0

    I'm using hudson 1.297. My build job output BUILD SUCCESSFUL and got stuck: ... rm -f release_build_analyzer/ba-doc-4.5.0.tar.gz cd release_build_analyzer && tar zcf ba-doc-4.5.0.tar.gz ./* BUILD SUCCESSFUL BUILD SUCCESSFUL It's a build through make. I noticed the following error in the log for the build machine that started about 1ish pm and repeated numerous times: Mar 18, 2009 4:31:54 PM hudson.Proc$LocalProc join WARNING: Process leaked file descriptors. See http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build for more information java.lang.Exception at hudson.Proc$LocalProc.join(Proc.java:128) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:424) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:405) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:200) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) According to http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build, hudson should just print out a warning and move on. It did not. The job stayed hung for hours.

    Jenkins JIRA | 8 years ago | crbeng
    java.lang.Exception
  3. 0

    Periodically, we run into the following message on our Windows Vista (32-bit) slave VM. Note that this happens ONLY on the Windows slave, and that nothing else has changed in our infrastructure or job definitions except the Hudson version. ---- ... Updating http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x ERROR: Failed to update http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x org.tmatesoft.svn.core.SVNException: svn: No buffer space available (maximum connections reached?): connect svn: OPTIONS request failed on '/repos/asf/maven/components/branches/maven-2.1.x' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:601) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:143) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:339) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:327) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:426) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:210) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:505) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:476) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createPlainSocket(SVNSocketFactory.java:53) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:167) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:307) ... 23 more ---- At the same time, if I look at the log for that node, I see: ---- [04/02/09 14:57:44] Launching slave agent $ ssh vista2.grid.sonatype.com cmd /C C:/opt/hudson/slave/start.bat At revision 158. ���channel started Starting periodic ping thread This is a Windows slave Copied maven-agent.jar Copied maven-interceptor.jar Can't load log handler "java.util.logging.FileHandler" java.io.IOException: Couldn't get lock for %u/.hudson/hudson%u.log java.io.IOException: Couldn't get lock for %u/.hudson/hudson%u.log at java.util.logging.FileHandler.openFiles(FileHandler.java:372) at java.util.logging.FileHandler.<init>(FileHandler.java:208) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at java.util.logging.LogManager$7.run(LogManager.java:911) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:903) at java.util.logging.LogManager.access$900(LogManager.java:129) at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1010) at java.util.logging.Logger.log(Logger.java:454) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.log(Logger.java:569) at hudson.Proc$LocalProc.join(Proc.java:157) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:504) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:485) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Apr 2, 2009 10:00:34 PM hudson.Proc$LocalProc join WARNING: Process leaked file descriptors. See http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build for more information java.lang.Exception at hudson.Proc$LocalProc.join(Proc.java:156) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:504) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:485) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Apr 3, 2009 10:00:17 AM hudson.remoting.Channel$ReaderThread run SEVERE: Failed to execute command UserRequest:hudson.FilePath$FileCallableWrapper@4b495a java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.Request.execute(Request.java:231) at hudson.remoting.Channel$ReaderThread.run(Channel.java:675) Apr 3, 2009 10:00:17 AM hudson.remoting.Channel$ReaderThread run SEVERE: This command is created here Command UserRequest:hudson.FilePath$FileCallableWrapper@4b495a created at at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Request.<init>(Request.java:75) at hudson.remoting.UserRequest.<init>(UserRequest.java:57) at hudson.remoting.Channel.call(Channel.java:480) at hudson.FilePath.act(FilePath.java:545) at hudson.FilePath.mkdirs(FilePath.java:600) at hudson.model.AbstractProject.checkout(AbstractProject.java:806) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)

    Jenkins JIRA | 8 years ago | jdcasey
    java.lang.Exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Periodically, we run into the following message on our Windows Vista (32-bit) slave VM. Note that this happens ONLY on the Windows slave, and that nothing else has changed in our infrastructure or job definitions except the Hudson version. ---- ... Updating http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x ERROR: Failed to update http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x org.tmatesoft.svn.core.SVNException: svn: No buffer space available (maximum connections reached?): connect svn: OPTIONS request failed on '/repos/asf/maven/components/branches/maven-2.1.x' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:601) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:143) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:339) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:327) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:426) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:210) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:505) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:476) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createPlainSocket(SVNSocketFactory.java:53) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:167) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:307) ... 23 more ---- At the same time, if I look at the log for that node, I see: ---- [04/02/09 14:57:44] Launching slave agent $ ssh vista2.grid.sonatype.com cmd /C C:/opt/hudson/slave/start.bat At revision 158. ���channel started Starting periodic ping thread This is a Windows slave Copied maven-agent.jar Copied maven-interceptor.jar Can't load log handler "java.util.logging.FileHandler" java.io.IOException: Couldn't get lock for %u/.hudson/hudson%u.log java.io.IOException: Couldn't get lock for %u/.hudson/hudson%u.log at java.util.logging.FileHandler.openFiles(FileHandler.java:372) at java.util.logging.FileHandler.<init>(FileHandler.java:208) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at java.util.logging.LogManager$7.run(LogManager.java:911) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:903) at java.util.logging.LogManager.access$900(LogManager.java:129) at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1010) at java.util.logging.Logger.log(Logger.java:454) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.log(Logger.java:569) at hudson.Proc$LocalProc.join(Proc.java:157) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:504) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:485) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Apr 2, 2009 10:00:34 PM hudson.Proc$LocalProc join WARNING: Process leaked file descriptors. See http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build for more information java.lang.Exception at hudson.Proc$LocalProc.join(Proc.java:156) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:504) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:485) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Apr 3, 2009 10:00:17 AM hudson.remoting.Channel$ReaderThread run SEVERE: Failed to execute command UserRequest:hudson.FilePath$FileCallableWrapper@4b495a java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.Request.execute(Request.java:231) at hudson.remoting.Channel$ReaderThread.run(Channel.java:675) Apr 3, 2009 10:00:17 AM hudson.remoting.Channel$ReaderThread run SEVERE: This command is created here Command UserRequest:hudson.FilePath$FileCallableWrapper@4b495a created at at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Request.<init>(Request.java:75) at hudson.remoting.UserRequest.<init>(UserRequest.java:57) at hudson.remoting.Channel.call(Channel.java:480) at hudson.FilePath.act(FilePath.java:545) at hudson.FilePath.mkdirs(FilePath.java:600) at hudson.model.AbstractProject.checkout(AbstractProject.java:806) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)

    Jenkins JIRA | 8 years ago | jdcasey
    java.lang.Exception

    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.Exception

      No message provided

      at hudson.Proc$LocalProc.join()
    2. Hudson
      Launcher$RemoteLaunchCallable.call
      1. hudson.Proc$LocalProc.join(Proc.java:128)
      2. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:424)
      3. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:405)
      3 frames
    3. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:69)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:23)
      3. hudson.remoting.Request$2.run(Request.java:200)
      3 frames
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      3 frames