Go to Post So yeah, everyone please remember that lathes are one of the most dangerous machine tools you'll encounter. And keep your hand on the chuck key whenever it's in the chuck. If you never let it go till it's out of the chuck, it's stupendously less likely to take flight. - Kevin Sevcik [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-27-2010, 04:23 PM
durden_614 durden_614 is offline
Registered User
FRC #0614
 
Join Date: Jan 2010
Location: VA
Posts: 1
durden_614 is an unknown quantity at this point
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)
Reply With Quote
  #2   Spotlight this post!  
Unread 01-27-2010, 05:42 PM
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: 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.
]
Reply With Quote
  #3   Spotlight this post!  
Unread 01-28-2010, 12:25 PM
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
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.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript and XML Help TLuck234 Website Design/Showcase 4 01-17-2008 10:37 AM
BUILD\MAKE ERROR please Help! caderader Programming 3 02-15-2005 10:22 PM
pic: please help us please mortals CD47-Bot Robot Showcase 5 01-25-2004 11:03 AM
please help us, pretty please :) archiver 2001 0 06-24-2002 03:13 AM


All times are GMT -5. The time now is 07:36 AM.

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