I’ve set up my gyro properly, we’ve used them in the past. However, after deploying I get this error to the dashboard.
ERROR Unhandled exception instantiating robot org.usfirst.frc.team498.robot.Robot java.lang.RuntimeException: Code: -1005. HAL: A pointer parameter to a method is NULL at [edu.wpi.first.wpilibj.hal.AnalogJNI.setAccumulatorDeadband(Native Method), edu.wpi.first.wpilibj.AnalogInput.setAccumulatorDeadband(AnalogInput.java:279), edu.wpi.first.wpilibj.AnalogGyro.setDeadband(AnalogGyro.java:239), edu.wpi.first.wpilibj.AnalogGyro.initGyro(AnalogGyro.java:56), edu.wpi.first.wpilibj.AnalogGyro.<init>(AnalogGyro.java:106), edu.wpi.first.wpilibj.AnalogGyro.<init>(AnalogGyro.java:90), org.usfirst.frc.team498.robot.Robot.<init>(Robot.java:20), sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method), sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62), sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45), java.lang.reflect.Constructor.newInstance(Constructor.java:408), java.lang.Class.newInstance(Class.java:433), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:204)]
Is something wrong with the library?