Error: org.apache.commons.net.io.CopyStreamException: IOException caught while copyin

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.

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\j2meclasses
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\j2meclasses
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™ Client VM 21.0-b17
Target IP: 10.35.6.2
Network interfaces on host:
Broadcom NetLink ™ Gigabit Ethernet: address: 10.104.26.150 netmask: 255.255.255.0
Intel® 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.java:130)
at org.apache.commons.net.ftp.FTPClient.retrieveFile(FTPClient.java:1611)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.upgrade(UpgradeTask.java:302)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(UpgradeTask.java:216)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java: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.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.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(RunClassThread.java:153)
BUILD FAILED (total time: 11 seconds)

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 ™ 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