Deploy Error

When deploying we get this error in the Drivers Station

ERROR Unhandled exception instantiating robot org.usfirst.frc.team2145.robot.Robot java.lang.ExceptionInInitializerError at [java.lang.Class.forName0(Native Method), java.lang.Class.forName(, edu.wpi.first.wpilibj.RobotBase.main(]

The console in Eclipse says the code built successfully. Here is our code

Any ideas?

There are many places where you are creating objects using I/O resources that are already allocated.

You’ll get better stack traces if you create your subsystems in robotInit, like Robot Builder does. Using Robot Builder, or at least being more diligent in using RobotMap would make this a lot easier.