Go to Post Until we learn to celebrate our differences with great vigor in an earnest way, we won't accomplish what we're supposed to get done. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 26-01-2012, 19:39
Aggronian42 Aggronian42 is offline
Registered User
FRC #3506
 
Join Date: Jan 2012
Location: Charlotte, NC
Posts: 3
Aggronian42 is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2012, 21:17
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Error: org.apache.commons.net.io.CopyStreamException: IOException caught while co

Quote:
Originally Posted by Aggronian42 View Post
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2012, 19:19
Aggronian42 Aggronian42 is offline
Registered User
FRC #3506
 
Join Date: Jan 2012
Location: Charlotte, NC
Posts: 3
Aggronian42 is an unknown quantity at this point
Re: Error: org.apache.commons.net.io.CopyStreamException: IOException caught while co

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)
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2012, 10:51
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Error: org.apache.commons.net.io.CopyStreamException: IOException caught while co

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.

Quote:
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi