Log in

View Full Version : [2013] SocketException in Netbeans during code deploy


gluxon
11-01-2013, 18:29
My team is struggling with a strange error when deploying code. We get a java.net.SocketException error when Netbeans attempts to connect to the FTP server on the cRIO.

This was after we updated all our software with the 2013 Java and Labview update. We're using the 2013 Driver Station, sunspotfrcsdk, and the latest version of JDK from Oracle.

I tested with a separate machine still under last year's utilities, and that uploaded fine. I then updated only the Netbeans plugins for 2013 on that machine, and then got a cRIO image mismatch. No biggy, just update to the 2013 v47 image. After I did that, I began receiving the same error.

Strangely enough, I downloaded FileZilla to test if the FTP server was working. It connected to the address fine.

Here's a link to the log saved from Netbeans. Any help would be greatly appreciated.
http://pastebin.com/na26vENM

BradAMiller
11-01-2013, 19:10
As a test, could you try disabling the firewall to see if that gets it through? If that works, you could try to make sure that NetBeans is listed in the firewall rules to make sure will pass through.

gluxon
11-01-2013, 19:16
Just tried, didn't change anything. As said, the only change he second machine did to go from working to non-working was the Java Netbeans plugins update.

Sanchez_Man
12-01-2013, 16:18
We are having the exact same error when it comes to deploying. I have connected to the cRIO's ftp server on multiple occaisions, but netbean's simply doesn't deploy.

Is there something in the required network settings that has changed from last year to this year?

connor.worley
12-01-2013, 16:21
How is your firewall set up?

Is your team number in your Netbeans settings?

Sanchez_Man
12-01-2013, 16:34
How is your firewall set up?

Is your team number in your Netbeans settings?

The team number is definitely in the netbeans Misc settings. As for the firewall, I've added both outgoing and incoming exceptions for Netbeans.

mitchellweb1
12-01-2013, 16:35
Try disabling the firewall entirely.

Sanchez_Man
12-01-2013, 16:39
Try disabling the firewall entirely.

Even with the firewall off, the deployment still fails with error:

java.net.SocketException: Software caused connection abort: socket write error

**Edit** By turning off the firewall for all profiles, it worked.