When I try to read the value of a solenoid using the get() method, it is giving me this error:
Unknown error status at edu.wpi.first.wpilibj.hal.HALUtil.checkStatus(HALUtil.java:51)
edu.wpi.first.wpilibj.SolenoidBase.getAll(SolenoidBase.java:69)
edu.wpi.first.wpilibj.Solenoid.get(Solenoid.java:101)
org.usfirst.frc.team2035.robot.subsystems.Forklift.extendForklift(Forklift.java:89)
org.usfirst.frc.team2035.robot.commands.TiltInOut.initialize(TiltInOut.java:20)
edu.wpi.first.wpilibj.command.Command.run(Command.java:214)
edu.wpi.first.wpilibj.command.Scheduler.run(Scheduler.java:215)
org.usfirst.frc.team2035.robot.Robot.teleopPeriodic(Robot.java:118)
edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:150)
edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:234)
We are writing our code in java.
Has anybody seen this before or know how to fix it? Any help would be appreciated, thank you.