View Single Post
  #3   Spotlight this post!  
Unread 06-02-2012, 22:06
severhale severhale is offline
Registered User
FRC #4097
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Northampton, MA
Posts: 10
severhale is an unknown quantity at this point
Re: Jaguar Programming with NetBeans

The fact that you're not getting any errors means that testJoystick is declared, but does it have a value? Are you saying
testJoystick = new Joystick(portNumber);
If you're not, you'd be getting a null pointer exception in the console.
Reply With Quote