java.io.IOException

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.

  • *edit:* Before this ticket was reporting that only the bamboo.cfg.xml could disappear. Changed this ticket to be more generic after handling cases where we could not identify what was the missing or corrupted file. Currently, files from the *Bamboo-Home-Dir* disappear from the hard disk where the Bamboo Server is installed when the disk gets full. The Server logs report: {code} 2010-10-05 04:00:13,673 ERROR [Persistence Adaptor Task] [AMQPersistenceAdapter] Failed to mark the Journal: java.io.IOException: No space left on device java.io.IOException: No space left on device at sun.nio.ch.FileDispatcher.write0(Native Method) at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122) at sun.nio.ch.IOUtil.write(IOUtil.java:93) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.transfer(NIODataFileAppender.java:205) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.processQueue(NIODataFileAppender.java:116) at org.apache.activemq.kaha.impl.async.DataFileAppender$2.run(DataFileAppender.java:227) {code} {code} 2010-10-05 04:03:45,580 WARN [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultArtifactManager] Error occurred trying to generate an artifact redirect java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:284) at org.apache.commons.io.IOUtils.write(IOUtils.java:784) at org.apache.commons.io.IOUtils.write(IOUtils.java:808) at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1254) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.generateLatestVersionRedirect(DefaultArtifactManager.java:91) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.publish(DefaultArtifactManager.java:75) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:62) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy265.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:156) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy264.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:636) {code}
    via by Renan Battaglin,
  • *edit:* Before this ticket was reporting that only the bamboo.cfg.xml could disappear. Changed this ticket to be more generic after handling cases where we could not identify what was the missing or corrupted file. Currently, files from the *Bamboo-Home-Dir* disappear from the hard disk where the Bamboo Server is installed when the disk gets full. The Server logs report: {code} 2010-10-05 04:00:13,673 ERROR [Persistence Adaptor Task] [AMQPersistenceAdapter] Failed to mark the Journal: java.io.IOException: No space left on device java.io.IOException: No space left on device at sun.nio.ch.FileDispatcher.write0(Native Method) at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122) at sun.nio.ch.IOUtil.write(IOUtil.java:93) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.transfer(NIODataFileAppender.java:205) at org.apache.activemq.kaha.impl.async.NIODataFileAppender.processQueue(NIODataFileAppender.java:116) at org.apache.activemq.kaha.impl.async.DataFileAppender$2.run(DataFileAppender.java:227) {code} {code} 2010-10-05 04:03:45,580 WARN [BAM::Default Agent::Agent:pool-4-thread-1] [DefaultArtifactManager] Error occurred trying to generate an artifact redirect java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:284) at org.apache.commons.io.IOUtils.write(IOUtils.java:784) at org.apache.commons.io.IOUtils.write(IOUtils.java:808) at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1254) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.generateLatestVersionRedirect(DefaultArtifactManager.java:91) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.publish(DefaultArtifactManager.java:75) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:62) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy265.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:156) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy264.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:636) {code}
    via by Renan Battaglin,
  • How does FileLock work?
    via Stack Overflow by Dónal
    ,
  • elasticsearch dead but pid file exists
    via by shriyansh jain,
  • No space left on device
    via GitHub by rsoni1
    ,
  • Hadoop crashed while running terasort?
    via by Unknown author,
    • java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:284) at org.apache.commons.io.IOUtils.write(IOUtils.java:784) at org.apache.commons.io.IOUtils.write(IOUtils.java:808) at org.apache.commons.io.FileUtils.writeStringToFile(FileUtils.java:1254) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.generateLatestVersionRedirect(DefaultArtifactManager.java:91) at com.atlassian.bamboo.build.artifact.DefaultArtifactManager.publish(DefaultArtifactManager.java:75) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:62) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy265.call(Unknown Source) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:156) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) at sun.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy264.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Thread.java:636)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    34 more bugmates