Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Java to CRIO connection problems (http://www.chiefdelphi.com/forums/showthread.php?t=102524)

BoltAction 11-02-2012 10:49

Java to CRIO connection problems
 
We have been trying to upload the code to the CRIO for 3 days now. We keep getting errors. We have already tried reimaging the CRIO but still getting the error.
We are using direct connection between the CRIO and the laptop.
The laptop's ip: 10.10.9.6
subnet: 255.0.0.0
Gateway: 10.10.9.4

This is the error we keep getting:
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) 64-Bit Server VM 22.0-b10
Target IP: 10.10.9.2
Network interfaces on host:
Intel(R) 82579LM Gigabit Network Connection: address: 10.10.9.6 netmask: 255.0.0.0 <--- on robot's subnet
1x1 11b/g/n Wireless LAN PCI Express Half Mini Card Adapter: address: 192.168.2.7 netmask: 255.255.255.254
Connecting FTP @10.10.9.2
C:\Users\Karan Thukral\sunspotfrcsdk\build.xml:96: The following error occurred while executing this line:
C:\Users\Karan Thukral\sunspotfrcsdk\ant\upgrade.xml:40:
java.net.SocketException: Software caused connection abort: recv failed

Someone please help.

Patrick Chiang 11-02-2012 13:26

Re: Java to CRIO connection problems
 
This seems like an issue with communicating with the cRIO.

Troubleshooting steps I would take:
1. Turn off the firewall, all of them.
2. ping 10.10.9.2
3. ftp 10.10.9.2
4. Reinstall the Netbeans plugins (completely remove and reinstall) or upgrade them. It might be the case that the cRio is updated and the plugins are old. Or maybe the plugins are updated and the cRio is old. Make 100% sure that both of them are updated to the newest version. (You'd be surprised how many people with problems will tell you that everything's updated and they're not.)

If all this fails, then I would suggest trying to isolate the cause of the problem by putting the code on another computer and trying to upload from there OR to upload onto another cRio (if you have one).

jesusrambo 11-02-2012 13:52

Re: Java to CRIO connection problems
 
Try changing your netmask to 255.255.255.0.


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

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