DoubleSolenoid on LiveWindow error

When I try to view a DoubleSolenoid in LiveWindow, it repeated throws this error although the object still works in LiveWindow

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.DoubleSolenoid.get(DoubleSolenoid.java:140)
edu.wpi.first.wpilibj.DoubleSolenoid.updateTable(DoubleSolenoid.java:201)
edu.wpi.first.wpilibj.livewindow.LiveWindow.updateValues(LiveWindow.java:167)
edu.wpi.first.wpilibj.livewindow.LiveWindow.run(LiveWindow.java:132)
org.team1100.Robot.testPeriodic(Robot.java:82)
edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:117)
edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:234)

Going into the code, the code

HALUtil.checkStatus(status);

is where the error is handled. Does anyone know what causes this and how to fix it?