java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Brydie McCoy [Atlassian], 1 year ago
Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]
via Atlassian JIRA by Brydie McCoy [Atlassian], 1 year ago
Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]
via YouTrack by Unknown author, 1 year ago
Command line returned OS error code '1' for command [df, -k, /home/teamcity/.BuildServer/system/artifacts]
via Stack Overflow by Tej Kiran
, 2 years ago
Command line returned OS error code '3' for command [cmd.exe, /C, dir /-c "F:\MyApp"]
via YouTrack by Unknown author, 1 year ago
Command line threw an InterruptedException 'null' for command [cmd.exe, /C, dir /-c C:]
java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]
at org.apache.commons.io.FileSystemUtils.performCommand(FileSystemUtils.java:419)
at org.apache.commons.io.FileSystemUtils.freeSpaceUnix(FileSystemUtils.java:323)
at org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:196)
at com.atlassian.bamboo.configuration.SystemInfo.getFreeDiskSpace(SystemInfo.java:286)
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 ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:778)
at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1297)
at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)
at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147)
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1940)
at ognl.ASTProperty.getValueBody(ASTProperty.java:114)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
at ognl.SimpleNode.getValue(SimpleNode.java:258)
at ognl.ASTChain.getValueBody(ASTChain.java:141)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
at ognl.SimpleNode.getValue(SimpleNode.java:258)
at ognl.Ognl.getValue(Ognl.java:494)
at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:300)
at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:258)
at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:151)
at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:101)
at com.opensymphony.webwork.components.Component.findValue(Component.java:296)
at com.opensymphony.webwork.components.UIBean.evaluateParams(UIBean.java:823)
at com.opensymphony.webwork.components.UIBean.end(UIBean.java:591)
at freemarker.core.Environment.visit(Environment.java:301)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment.visit(Environment.java:395)
at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Macro$Context.runMacro(Macro.java:172)
at freemarker.core.Environment.visit(Environment.java:603)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.IfBlock.accept(IfBlock.java:82)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment.visit(Environment.java:395)
at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Macro$Context.runMacro(Macro.java:172)
at freemarker.core.Environment.visit(Environment.java:603)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.