java.io.InterruptedIOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: [HttpClient 3.1] "The operation timed out" on close
    via by Oleg Kalnichevski,
  • [HttpClient 3.1] "The operation timed out" on close
    via by Cyril Jaquier,
  • If a remote build is stopped while a Bamboo agent is sending the artifact back to the server, the agent throws an exception and tries to restart - {quote}2008-08-12 11:00:38,290 INFO [BAM::fodevsx4.london.kbcfp.com::Agent] [BuildArtifactPostProcessor] Copying the build artifacts for build:CTU-HEAD-1026 2008-08-12 11:03:29,225 INFO [agentMessageListenerConnector-1] [DefaultBuildAgent] Cancel build build request for 'CTU-HEAD-1026' received on agent 'fodevsx4.london.kbcfp.com'. 2008-08-12 11:03:29,226 INFO [agentMessageListenerConnector-1] [DefaultBuildAgent] Interrupting task com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask@63f0f47c. 2008-08-12 11:03:29,252 INFO [BAM::fodevsx4.london.kbcfp.com::Agent] [AgentContext] Exiting Bamboo agent... java.io.InterruptedIOException: Operation interrupted at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:505) at org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:430) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1273) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:381) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:106) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:232) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:225) at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:172) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:433) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:557) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:548) at com.atlassian.bamboo.v2.build.agent.remote.JmsTemplateStrategy.send(JmsTemplateStrategy.java:19) at com.atlassian.bamboo.v2.build.agent.remote.SegmentedMessageStrategy$1.write(SegmentedMessageStrategy.java:48) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838) at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at com.atlassian.bamboo.v2.build.agent.messages.PublishArtifacts.writeObject(PublishArtifacts.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at com.atlassian.bamboo.v2.build.agent.remote.SegmentedMessageStrategy.send(SegmentedMessageStrategy.java:67) at com.atlassian.bamboo.v2.build.agent.remote.BambooAgentMessageSenderImpl.send(BambooAgentMessageSenderImpl.java:27) at com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager.publish(RemoteArtifactManager.java:18) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:49) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:109) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:69) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:89) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:619) {quote}
    via by Ajay Sridhar [Atlassian],
  • BufferedReader on linux
    via by 807556,
  • InterruptedIOException
    via by 843854,
  • If a remote build is stopped while a Bamboo agent is sending the artifact back to the server, the agent throws an exception and tries to restart - {quote}2008-08-12 11:00:38,290 INFO [BAM::fodevsx4.london.kbcfp.com::Agent] [BuildArtifactPostProcessor] Copying the build artifacts for build:CTU-HEAD-1026 2008-08-12 11:03:29,225 INFO [agentMessageListenerConnector-1] [DefaultBuildAgent] Cancel build build request for 'CTU-HEAD-1026' received on agent 'fodevsx4.london.kbcfp.com'. 2008-08-12 11:03:29,226 INFO [agentMessageListenerConnector-1] [DefaultBuildAgent] Interrupting task com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask@63f0f47c. 2008-08-12 11:03:29,252 INFO [BAM::fodevsx4.london.kbcfp.com::Agent] [AgentContext] Exiting Bamboo agent... java.io.InterruptedIOException: Operation interrupted at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:505) at org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:430) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1273) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:381) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:106) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:232) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:225) at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:172) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:433) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:557) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:548) at com.atlassian.bamboo.v2.build.agent.remote.JmsTemplateStrategy.send(JmsTemplateStrategy.java:19) at com.atlassian.bamboo.v2.build.agent.remote.SegmentedMessageStrategy$1.write(SegmentedMessageStrategy.java:48) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838) at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at com.atlassian.bamboo.v2.build.agent.messages.PublishArtifacts.writeObject(PublishArtifacts.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at com.atlassian.bamboo.v2.build.agent.remote.SegmentedMessageStrategy.send(SegmentedMessageStrategy.java:67) at com.atlassian.bamboo.v2.build.agent.remote.BambooAgentMessageSenderImpl.send(BambooAgentMessageSenderImpl.java:27) at com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager.publish(RemoteArtifactManager.java:18) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:49) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:109) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:69) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:89) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:619) {quote}
    via by Ajay Sridhar [Atlassian],
  • Problems with SSL and TOMCAT 3.2.3
    via by 807541,
    • java.io.InterruptedIOException: The operation timed out at java.net.SocketImpl.receiveStreamImpl(Native Method) at java.net.SocketImpl.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fillbuf(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.ChunkedInputStream.read(Unknown Source) at org.apache.commons.httpclient.ChunkedInputStream.read(Unknown Source)
    No Bugmate found.