Go to Post cue Dave Lavery with some witty response - Taylor [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-12-2014, 17:24
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
NetBeans deploy hangs

A new mystery. We have been using NetBeans for several months with our 2014 robot. We have deployed many times with no problems. We last deployed code Dec 1 with no problems. On Dec 9 made some code mods and attempted to deploy to the robot. Deploy gets to the connecting FTP @n.n.n.n step and appears to hang. Nothing else happens...no timeout, no errors, nothing. The deploy is hung at that point and the deploy will not stop. You have to kill NetBeans to get rid of the hung deploy process.

Note that if you try to deploy with cRio not connected to the router, the deploy connect attempt times out as expected.

Network config and firewall are set as recommended and again, this worked fine last week. The PC is in my possession at all times so I can be sure it has not been tampered with by the kids.

Subnet is ok. Can ftp with browser no problem. Driver station works fine.


Additional info: the cRio Imaging tool does not detect the cRio from the same PC where NetBeans fails to deploy. Note again that ftp from Chrome on same PC works fine, ping works fine. Driver station works fine, can drive. Imaging tool does not find the cRio.

Update: cRio Imaging tool on second PC connects just fine. Unfortunately that PC has been out of use and does not have NetBeans installed so can't check that quickly on the second PC but things are pointing to some change on the problem development PC, which is the primary PC used for robot programming. But in the time between when it deployed and when it quit, there were no changes or updates made to that system.

Out of ideas...

Last edited by Crossle86 : 11-12-2014 at 19:13.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-12-2014, 17:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,861
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: NetBeans deploy hangs

In case it was a problem with your last code download, you can try this.
  • Use the cRIO Imaging Tool to turn on the No App switch on the cRIO
  • Reset the cRIO
  • Then try downloading
  • Turn the No App switch off again with the Imaging tool
  • Reset the cRIO to run your code
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 11-12-2014, 19:14
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
Re: NetBeans deploy hangs

See updated problem description. Not a problem with the code, the deploy step fails at ftp connect.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-12-2014, 19:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,861
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: NetBeans deploy hangs

Firewall and anti-virus are all turned off?

You could also try switching NICs, e.g., if you were using Ethernet try switching to a wireless connection through the DLink.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 11-12-2014, 23:38
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
Re: NetBeans deploy hangs

Tried all that, no joy.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-12-2014, 23:52
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is online now
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 403
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: NetBeans deploy hangs

Turn off firewall and antivirus, and change your wireless IP to 10.44.50.9 and try that. If that doesn't work, open Netbeans and open the settings page. Click on miscellaneous and FRC settings and make sure your team number is the right number for that specific robot.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #7   Spotlight this post!  
Unread 12-12-2014, 11:44
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
Re: NetBeans deploy hangs

Antivirus and firewall are off. IP of PC is 10.44.50.20 and the cRio is confirmed at 10.44.50.2 all as expected. Chrome browser accesses cRio via ftp no problem. CRio flash utility finds the robot from a different PC no problem.

On the problem PC, cRio flash utility does not find the robot. There is no apparent reason for that. NetBeans reaches the ftp connect to 10.44.50.2 and hangs hard. It would appear that NetBeans actually connects but then things go wrong. PC has JDK 1.8 installed and Eclipse is also present in anticipation of the switch for 2015.

Again, this all worked perfectly a week ago so the basic setup is correct. Something has changed but can't figure out what.
Reply With Quote
  #8   Spotlight this post!  
Unread 12-12-2014, 14:44
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is online now
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 403
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: NetBeans deploy hangs

Try setting your IP to 10.44.50.9 I think the last number has to be 0-10
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #9   Spotlight this post!  
Unread 16-12-2014, 11:49
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
Re: NetBeans deploy hangs

Ok, this problem seems to be solved. The issue turned out to be installing JRE 1.8 in anticipation of switch to Eclipse. NetBeans code download and cRio imaging tool would not function correctly with 1.8 as an enabled JRE. With switch back to 1.7 as the only enabled JRE, things went back to normal. JRE version affecting cRio imaging tool threw me for a while but apparently that tool is Java based and affected as well as NetBeans.
Reply With Quote
  #10   Spotlight this post!  
Unread 25-12-2014, 13:15
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: NetBeans deploy hangs

Quote:
Originally Posted by Crossle86 View Post
Ok, this problem seems to be solved. The issue turned out to be installing JRE 1.8 in anticipation of switch to Eclipse. NetBeans code download and cRio imaging tool would not function correctly with 1.8 as an enabled JRE. With switch back to 1.7 as the only enabled JRE, things went back to normal. JRE version affecting cRio imaging tool threw me for a while but apparently that tool is Java based and affected as well as NetBeans.
... you're mistaken, my laptop has run jre 1.8 since it was in beta and I've never had problems deploying. The issue you were having was a connection issue, 1.8 wouldn't have any effect on it. But if it works, it works.
Reply With Quote
  #11   Spotlight this post!  
Unread 29-12-2014, 19:27
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
Re: NetBeans deploy hangs

Well, I'm not mistaken in that the 1.8 JDK had some effect on NetBeans FRC delpoyment and also the cRio imaging utility. With 4 PCs that have the cRio imaging utility on them, all 4 worked at the start. Install JDK 1.8 on two of them and cRio imaging utility stopped working (along with NetBeans on one of them). cRio imaging utility continued to work on the 1.7 PCs. Disable 1.8 and re enable 1.7 on the two failing PCs and they go back to working normally.

I'd agree you would not expect the JDK version to have this effect but the evidence suggests some aspect of the JDK 1.8 is affecting these two tools...and believe me we worked hard to find another explanation.
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 12:41.

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