View Single Post
  #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