View Full Version : Error: org.apache.commons.net.io.CopyStreamException: IOException caught while copyin
Aggronian42
26-01-2012, 19:39
In NetBeans 7.1, i am running the "cameraTest.java" program given to us by FRC. I have turned off the firewall found in my Norton Internet Security Version 19.2.0.10, and the two firewalls found in my Windows 7.
I also executed: netsh advfirewall set global StatefulFTP disable.
That fixed my old error, but this one came up this time: org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
Anyone know how i can fix this?
In NetBeans 7.1, i am running the "cameraTest.java" program given to us by FRC. I have turned off the firewall found in my Norton Internet Security Version 19.2.0.10, and the two firewalls found in my Windows 7.
I also executed: netsh advfirewall set global StatefulFTP disable.
That fixed my old error, but this one came up this time: org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
Anyone know how i can fix this?
Apparently it is trying to copy a file of some sort and apparently it is having trouble doing that.
Aggronian42
27-01-2012, 19:19
Here is the I get when i run the program. Any and all help appreciated!
init:
init:
Deleting directory C:\Users\Geoffrey\Documents\Robotics\YetiBot\build
Deleting directory C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite
Deleting directory C:\Users\Geoffrey\Documents\Robotics\YetiBot\j2mec lasses
clean:
Created dir: C:\Users\Geoffrey\Documents\Robotics\YetiBot\build
Compiling 2 source files to C:\Users\Geoffrey\Documents\Robotics\YetiBot\build
compile:
Created dir: C:\Users\Geoffrey\Documents\Robotics\YetiBot\j2mec lasses
preverify:
Created dir: C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite
Building jar: C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite \YetiBot_1.0.0.jar
jar-app:
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 156 classes and generated 4 files.
Expanding: C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite \YetiBot_1.0.0.jar into C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite
Moving 1 file to C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite
Moving 1 file to C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite
Moving 1 file to C:\Users\Geoffrey\Documents\Robotics\YetiBot\suite
Deleting: C:\Users\Geoffrey\Documents\Robotics\YetiBot\image .suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) Client VM 21.0-b17
Target IP: 10.35.6.2
Network interfaces on host:
Broadcom NetLink (TM) Gigabit Ethernet: address: 10.104.26.150 netmask: 255.255.255.0
Intel(R) WiFi Link 5100 AGN: address: 10.35.6.8 netmask: 255.255.255.254
WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot.
Connecting FTP @10.35.6.2
C:\Users\Geoffrey\sunspotfrcsdk\build.xml:96: The following error occurred while executing this line:
C:\Users\Geoffrey\sunspotfrcsdk\ant\upgrade.xml:40 :
org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
at org.apache.commons.net.io.Util.copyStream(Util.jav a:130)
at org.apache.commons.net.ftp.FTPClient.retrieveFile( FTPClient.java:1611)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.upgrade(Upgr adeTask.java:302)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:216)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java :442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(C allTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project .java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:285)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:153)
BUILD FAILED (total time: 11 seconds)
derekwhite
30-01-2012, 10:51
Check the netmask setting on your developer machine's wifi network connection. It should be 255.255.255.0, but it looks like its 255.255.255.254.
Target IP: 10.35.6.2
Network interfaces on host:
Broadcom NetLink (TM) Gigabit Ethernet: address: 10.104.26.150 netmask: 255.255.255.0
Intel(R) WiFi Link 5100 AGN: address: 10.35.6.8 netmask: 255.255.255.254
WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot.
Connecting FTP @10.35.6.2
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.