View Single Post
  #4   Spotlight this post!  
Unread 01-12-2015, 22:46
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,605
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: [FTC]: (Android Studio) User code threw an uncaught exception: NullPointerExcepti

Quote:
Originally Posted by Fedoros View Post
I get the following message:

Error: User code threw an uncaught exception: NullPointerException
Quote:
Originally Posted by DavisDad View Post
I've gotten this error whenever the robot phone's config names for motors don't match the code.
I don't write a lot of Java, but I do run a lot of it. I could probably rattle of fifty different ways to get a null pointer exception in a single sitting. The only java run time error message less useful is "unhandled exception".
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote