![]() |
Problems with deploying code on CRio through Netbeans
Hello guys,
i am using netbeans/java to program our teams robot. when i try to deploy it on to the crio i get an error like: C:\Users\JAY.JAY-HP\sunspotfrcsdk\build.xml:96: The following error occurred while executing this line: C:\Users\JAY.JAY-HP\sunspotfrcsdk\ant\upgrade.xml:40: java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream. java:150) at java.net.SocketInputStream.read(SocketInputStream. java:121) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.j ava:283) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.ja va:325) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:1 77) at java.io.InputStreamReader.read(InputStreamReader.j ava:184) at java.io.BufferedReader.fill(BufferedReader.java:15 4) at java.io.BufferedReader.read(BufferedReader.java:17 5) at org.apache.commons.net.io.CRLFLineReader.readLine( CRLFLineReader.java:58) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java :310) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java :290) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:474) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:547) at org.apache.commons.net.ftp.FTP.port(FTP.java:872) at org.apache.commons.net.ftp.FTPClient._openDataConn ection_(FTPClient.java:667) at org.apache.commons.net.ftp.FTPClient.retrieveFile( FTPClient.java:1595) at com.sun.spot.sdk.tool.ftp.UpgradeTask.checkVersion (UpgradeTask.java:34) at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:215) at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291) at sun.reflect.GeneratedMethodAccessor68.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.GeneratedMethodAccessor68.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) |
Re: Problems with deploying code on CRio through Netbeans
There's some good advice in the post http://www.chiefdelphi.com/forums/sh...d.php?t=102524.
Otherwise post more of the error output. |
Re: Problems with deploying code on CRio through Netbeans
That is all of the error output
|
Re: Problems with deploying code on CRio through Netbeans
Sorry for being terse there, but the output immediately before your error may have useful information. For example:
Quote:
|
Re: Problems with deploying code on CRio through Netbeans
Don't know if you've solved this yet, but the error output looks like a bad network connection.
I would check your network settings - make sure that they are correct on the computer you are using. It should be on 10.tt.tt.xx with a subnet of 255.255.255.0 (and not using automatic, we've been fighting with windows over this on some of our machines...) |
| All times are GMT -5. The time now is 09:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi