|
Could not instantiate robot?
So I'm testing an electrical system my team rigged up.
-First I uploaded firmware to the radio
-Then I configured Said Radio
-I imaged the RoboRio
-And put Java on the RoboRio
-Now when I went to go upload code to the RoboRio I got the following error in my drivers station even though my upload log gave me a successful build
ERROR 1 ERROR Unhandled exception instantiating robot org.usfirst.frc.team3039.robot.Robot java.lang.ExceptionInInitializerError at [java.lang.Class.forName0(Native Method), java.lang.Class.forName(Class.java:259), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)] edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:218)
ERROR Unhandled exception instantiating robot org.usfirst.frc.team3039.robot.Robot java.lang.ExceptionInInitializerError at [java.lang.Class.forName0(Native Method), java.lang.Class.forName(Class.java:259), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)]
WARNING: Robots don't quit!
ERROR: Could not instantiate robot org.usfirst.frc.team3039.robot.Robot!
There are no visible errors in my code, so any help would be much appreciated!
|