View Single Post
  #4   Spotlight this post!  
Unread 16-01-2015, 07:54
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Unhandled exception instantiating robot

Quote:
Originally Posted by dash121 View Post
I am having the same problem. The specific error that is given "ERROR Unhandled exception: java.lang.NullPointerException at [edu.wpi.first.wpilibj.PWM.startLiveWindowMode(PWM. java:484), org.usfirst.frc.team4085.robot.Robot.teleopPeriodi c(Robot.java:117), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:150), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)]"
I'm having difficulty figuring out what exactly you are trying to do with this code. It is using the Command based template, but then you have manually altered the TeleopPeriodic method to do a number of strange things. Why are you trying to get user console input on the roboRIO? What are you trying to accomplish with the LiveWindow code? Why are you suppressing the warming that would have told you your code was broken before you ran it?
Reply With Quote