View Single Post
  #1   Spotlight this post!  
Unread 17-01-2017, 18:11
Psychicowl's Avatar
Psychicowl Psychicowl is offline
Registered User
FRC #3039
 
Join Date: Jan 2017
Location: Destrehan, Louisiana
Posts: 9
Psychicowl is an unknown quantity at this point
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!
Reply With Quote