Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   build.xml help please (http://www.chiefdelphi.com/forums/showthread.php?t=81268)

durden_614 27-01-2010 16:23

build.xml help please
 
Hello!
We are trying to troubleshoot one errors that keep appearing when we build in netbeans and try to communicate to the cRIO. We have correctly compiled our code and ran it on the cRIO on several occasions but for some reason we receive this error after no changes have been made. The error appears on multiple computers, even after the computer has previously ran and imported code to the cRIO and no changes have been made to the computers code or settings with the wireless, cRIO, or the small 2Go laptop. We would appreciate your help!
Quote:

Sending local file image.suite
C:\Documents and Settings\team614\sunspotfrcsdk\build.xml:95: The following error occurred while executing this line:
C:\Documents and Settings\team614\sunspotfrcsdk\ant\deploy.xml:35:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream. java:168)
at java.io.BufferedInputStream.read1(BufferedInputStr eam.java:256)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:317)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:237)
at org.apache.commons.net.telnet.TelnetInputStream.__ read(TelnetInputStream.java:114)
at org.apache.commons.net.telnet.TelnetInputStream.ru n(TelnetInputStream.java:535)
at java.lang.Thread.run(Thread.java:619)
BUILD FAILED (total time: 11 seconds)

derekwhite 27-01-2010 17:42

Re: build.xml help please
 
The "java.net.SocketException: Connection reset" means that it's a networking issue from your development machine to the cRIO.

Have you tried "ping" and "ftp" commands from the development machine to the cRIO?

If those work, you can check the windows firewall settings. If the firewall is on, it will often all ping and ftp from the command line, but not allow ftp from Java.

If neither of these work, please post a complete transcript.

[more advanced -
- Use ftp from the command line to copy the "image.suite" file manually to the cRIO, but rename it "robot.suite" on the crio.
- From a command line in your robot project's directory,
- type "ant echo"
- reboot the cRIO.
]

Kingofl337 28-01-2010 12:25

Re: build.xml help please
 
I've seen this issue, quite a bit using the 2GO laptop. I would recommend either running wired to program or you will have to retry sending your code. I've seen upto 4 attempts to "Run" the code to get it to load correctly.


All times are GMT -5. The time now is 09:41.

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