Go to Post If you do mentor FIRST, be an asset to your team, but know that your students will admire you all the more if you set an example and finish your own homework. - Eugenia Gabrielov [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 03-02-2011, 21:52
idunno42's Avatar
idunno42 idunno42 is offline
Registered User
FRC #0069
 
Join Date: Jan 2011
Location: There
Posts: 4
idunno42 is an unknown quantity at this point
Re: NetBeans run stops but doesnt crash

We have seen the same thing. While downloading you see the green flashing by in the lower right, when it stops and a little bit of that bar on the left is blue, it should be done. We've run our robot after that.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2011, 23:58
Lunemori Lunemori is offline
Registered User
FRC #2439
 
Join Date: Aug 2010
Location: Hawaii
Posts: 1
Lunemori is an unknown quantity at this point
Re: NetBeans run stops but doesnt crash

Yeah this is happening to us too. I apparently loads but when we try the controls, nothing happens. All that's left is the blue bar on the right..
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2011, 11:53
Unoquadium Unoquadium is offline
The Parlor Generals
AKA: Ilya Rubnich
FRC #0334 (Tech Knights)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Brooklyn, NY
Posts: 8
Unoquadium is an unknown quantity at this point
Re: NetBeans run stops but doesnt crash

This is seemingly normal lately, for me after that shows up the code runs fine. There's a new image of the cRIO out (v28) though, see if that helps?
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2011, 13:32
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: NetBeans run stops but doesnt crash

In NetBeans, the "Run" command is not supposed to complete - the Run task is watching for output from your program (System.out.println(), etc.)

If your robot doesn't have any more output, then NetBeans will just sit there waiting.

If your robot is not moving, you can add some temporary println calls to see if:
- your robot initializes correctly - finishes constructors, etc.
- the robot changes to the disabled, autonomous, and teleop states.
- print the status of joystick buttons and axis values
- look for "watchdog" errors.
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:34.

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