ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54397] Copy task fails when copying from CIFS mounted location
Date Wed, 06 Mar 2013 22:41:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54397

--- Comment #2 from jonny <jonteh1337@gmail.com> ---
I am encountering similar issues when using the commons.io.FileUtils to do copy
operations via Groovy on an AIX box. plutarch is the name of my class. Perhaps
Ant relies on these?

java.io.IOException: A system call received a parameter that is not valid.
    at sun.nio.ch.FileChannelImpl.map0(Native Method)
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:768)
    at
sun.nio.ch.FileChannelImpl.transferFromFileChannel(FileChannelImpl.java:552)
    at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:615)
    at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:1147)
    at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1428)
    at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1389)
    at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1261)
    at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1230)
    at org.apache.commons.io.FileUtils$copyDirectory.call(Unknown Source)
    at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    at plutarch.archiveOldFilesOnSabrina(plutarch.groovy:111)
    at plutarch$archiveOldFilesOnSabrina.callCurrent(Unknown Source)
    at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
    at plutarch.run(plutarch.groovy:47)
    at
groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:257)
    at groovy.lang.GroovyShell.run(GroovyShell.java:220)
    at groovy.lang.GroovyShell.run(GroovyShell.java:150)
    at groovy.ui.GroovyMain.processOnce(GroovyMain.java:588)
    at groovy.ui.GroovyMain.run(GroovyMain.java:375)
    at groovy.ui.GroovyMain.process(GroovyMain.java:361)
    at groovy.ui.GroovyMain.processArgs(GroovyMain.java:120)
    at groovy.ui.GroovyMain.main(GroovyMain.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at
org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:106)
    at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:128)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message