Go to Post Drive Trains are overrated - MaGiC_PiKaChU [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 13-01-2012, 19:25
Free Willy's Avatar
Free Willy Free Willy is offline
Registered User
no team
Team Role: Leadership
 
Join Date: Feb 2010
Rookie Year: 2009
Location: California
Posts: 37
Free Willy is an unknown quantity at this point
Code Error Message

When we upload our java code to the cRIO it returns the message Robots Don't Quit! and says that the start competition method should have handled this exception. Any ideas?

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2017, 11:52
AutomationFTW's Avatar
AutomationFTW AutomationFTW is offline
Registered User
FRC #5829
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Houston
Posts: 17
AutomationFTW can only hope to improve
Re: Code Error Message

I would try reinstalling the plugins and it eclipse
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2017, 12:08
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 62
java4first is an unknown quantity at this point
Re: Code Error Message

If you enable the console view on the NI Driver station (the little gear above the text box on the left), it should print out a stack trace of where the exception is getting thrown? Are you seeing that? If so, it should give you the line number in your part of the code - plus some kind of message maybe with more detail. It's not clear your Eclipse installation is wrong as you are clearly downloading the code. An example problem would be if you try to create / initialize a speed controller on the same port. It throws the exception (with that error message), and then starts the code again (so you'll be in an infinite loop of restarts). But if you are getting the stack trace it should be easy to find the line of code that is blowing up.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2017, 18:20
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,314
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Code Error Message

Just so you guys know, this post is from 2012, hence why the question was about the CRio.
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present
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 13:16.

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