Go to Post If everyone could just worry about how much fun they are having rather than how much they disagree with other teams, the program would be much better off. - Tom Bottiglieri [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 11-01-2013, 18:29
gluxon's Avatar
gluxon gluxon is offline
\n
AKA: Brandon Cheng
FRC #0178 (The 2nd Law Enforcers)
Team Role: Leadership
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Connecticut
Posts: 65
gluxon has a spectacular aura aboutgluxon has a spectacular aura aboutgluxon has a spectacular aura about
[2013] SocketException in Netbeans during code deploy

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

Last edited by gluxon : 11-01-2013 at 18:42.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2013, 19:10
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: [2013] SocketException in Netbeans during code deploy

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.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #3   Spotlight this post!  
Unread 11-01-2013, 19:16
gluxon's Avatar
gluxon gluxon is offline
\n
AKA: Brandon Cheng
FRC #0178 (The 2nd Law Enforcers)
Team Role: Leadership
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Connecticut
Posts: 65
gluxon has a spectacular aura aboutgluxon has a spectacular aura aboutgluxon has a spectacular aura about
Re: [2013] SocketException in Netbeans during code deploy

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.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2013, 16:18
Sanchez_Man Sanchez_Man is offline
Registered User
FRC #3019
 
Join Date: Jan 2013
Location: Arizona
Posts: 4
Sanchez_Man is an unknown quantity at this point
Re: [2013] SocketException in Netbeans during code deploy

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?
__________________
Why are they called urinal cakes if people yell at you for eating them?
Reply With Quote
  #5   Spotlight this post!  
Unread 12-01-2013, 16:21
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: [2013] SocketException in Netbeans during code deploy

How is your firewall set up?

Is your team number in your Netbeans settings?
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2013, 16:34
Sanchez_Man Sanchez_Man is offline
Registered User
FRC #3019
 
Join Date: Jan 2013
Location: Arizona
Posts: 4
Sanchez_Man is an unknown quantity at this point
Re: [2013] SocketException in Netbeans during code deploy

Quote:
Originally Posted by connor.worley View Post
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.
__________________
Why are they called urinal cakes if people yell at you for eating them?
Reply With Quote
  #7   Spotlight this post!  
Unread 12-01-2013, 16:35
mitchellweb1 mitchellweb1 is offline
Registered User
AKA: Mitchell W
FRC #0190
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Acton, MA
Posts: 30
mitchellweb1 is an unknown quantity at this point
Re: [2013] SocketException in Netbeans during code deploy

Try disabling the firewall entirely.
Reply With Quote
  #8   Spotlight this post!  
Unread 12-01-2013, 16:39
Sanchez_Man Sanchez_Man is offline
Registered User
FRC #3019
 
Join Date: Jan 2013
Location: Arizona
Posts: 4
Sanchez_Man is an unknown quantity at this point
Re: [2013] SocketException in Netbeans during code deploy

Quote:
Originally Posted by mitchellweb1 View Post
Try disabling the firewall entirely.
Even with the firewall off, the deployment still fails with error:

Code:
java.net.SocketException: Software caused connection abort: socket write error
**Edit** By turning off the firewall for all profiles, it worked.
__________________
Why are they called urinal cakes if people yell at you for eating them?

Last edited by Sanchez_Man : 12-01-2013 at 16:59.
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


All times are GMT -5. The time now is 10:06.

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