View Single Post
  #1   Spotlight this post!  
Unread 22-11-2016, 23:41
Fedoros Fedoros is offline
Registered User
FTC #7232
 
Join Date: Nov 2015
Location: Minnesota, United States
Posts: 3
Fedoros is an unknown quantity at this point
[FTC]: Android Studio NullPointerException on TeleOp Init

Recently the build team has finished setting up all of the electronics on our robot so now it's time to test code, aaaaaaand NullPointerException. From what I've gathered, there are many, many different problems which could give this error. Other programs (autonomous and a sensor test) run fine, but whenever I press "Init" on the phone, the app throws the error. I've tried commenting out just about everything I think could be causing the problem, but it still appears. It's likely something wrong in our hardware file because the robot doesn't do much else on initialization, but I can't tell for sure. Thanks in advance to anyone who looks at this code.

Teleop: http://pastebin.com/YpYwXARb

RobotHardware: http://pastebin.com/bVq1kHKr
Reply With Quote