Error getting scoring tag
java.lang.ArrayIndexOutOfBoundsException: Index 362 out of bounds for length 362
at org.photonvision.common.dataflow.structures.Packet.decodeInt(Packet.java:147)
at org.photonvision.targeting.PhotonTrackedTarget.createFromPacket(PhotonTrackedTarget.java:254)
at org.photonvision.targeting.PhotonPipelineResult.createFromPacket(PhotonPipelineResult.java:141)
at org.photonvision.PhotonCamera.getLatestResult(PhotonCamera.java:186)
at frc.robot.AutoScoreCube.getScoringTagLabel(AutoScoreCube.java:38)
at frc.robot.Robot.robotPeriodic(Robot.java:129)
at edu.wpi.first.wpilibj.IterativeRobotBase.loopFunc(IterativeRobotBase.java:356)
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:139)
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:358)
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:451)
at frc.robot.Main.main(Main.java:23)
[phoenix-diagnostics] Server 2023.0.1 (Feb 10 2023, 20:58:39) running on port: 1250
Unhandled exception in Notifier thread: java.lang.ArrayIndexOutOfBoundsException: Index 362 out of bounds for length 362
Error at org.photonvision.common.dataflow.structures.Packet.decodeByte(Packet.java:135): Unhandled exception in Notifier thread: java.lang.ArrayIndexOutOfBoundsException: Index 362 out of bounds for length 362
at org.photonvision.common.dataflow.structures.Packet.decodeByte(Packet.java:135)
at org.photonvision.targeting.PhotonTrackedTarget.decodeList(PhotonTrackedTarget.java:233)
at org.photonvision.targeting.PhotonTrackedTarget.createFromPacket(PhotonTrackedTarget.java:268)
at org.photonvision.targeting.PhotonPipelineResult.createFromPacket(PhotonPipelineResult.java:141)
at org.photonvision.PhotonCamera.getLatestResult(PhotonCamera.java:186)
at frc.robot.util.PhotonRunnable.run(PhotonRunnable.java:58)
at edu.wpi.first.wpilibj.Notifier.lambda$new$0(Notifier.java:118)
at java.base/java.lang.Thread.run(Unknown Source)
The Runnable for this Notifier (or methods called by it) should have handled the exception above.
The above stacktrace can help determine where the error occurred.
See https://wpilib.org/stacktrace for more information.
Error at edu.wpi.first.wpilibj.Notifier.lambda$new$1(Notifier.java:132): The Runnable for this Notifier (or methods called by it) should have handled the exception above.
The above stacktrace can help determine where the error occurred.
See https://wpilib.org/stacktrace for more information.
Error getting scoring tag java.lang.ArrayIndexOutOfBoundsException: Index 362 out of bounds for length 362 at org.photonvision.common.dataflow.structures.Packet.decodeInt(Packet.java:147) at org.photonvision.targeting.PhotonTrackedTarget.createFromPacket(PhotonTrackedTarget.java:254) at org.photonvision.targeting.PhotonPipelineResult.createFromPacket(PhotonPipelineResult.java:141) at org.photonvision.PhotonCamera.getLatestResult(PhotonCamera.java:186) at frc.robot.AutoScoreCube.getScoringTagLabel(AutoScoreCube.java:38) at frc.robot.Robot.robotPeriodic(Robot.java:129) at edu.wpi.first.wpilibj.IterativeRobotBase.loopFunc(IterativeRobotBase.java:356) at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:139) at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:358) at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:451) at frc.robot.Main.main(Main.java:23) [phoenix-diagnostics] Server 2023.0.1 (Feb 10 2023, 20:58:39) running on port: 1250 Unhandled exception in Notifier thread: java.lang.ArrayIndexOutOfBoundsException: Index 362 out of bounds for length 362 Error at org.photonvision.common.dataflow.structures.Packet.decodeByte(Packet.java:135): Unhandled exception in Notifier thread: java.lang.ArrayIndexOutOfBoundsException: Index 362 out of bounds for length 362 at org.photonvision.common.dataflow.structures.Packet.decodeByte(Packet.java:135) at org.photonvision.targeting.PhotonTrackedTarget.decodeList(PhotonTrackedTarget.java:233) at org.photonvision.targeting.PhotonTrackedTarget.createFromPacket(PhotonTrackedTarget.java:268) at org.photonvision.targeting.PhotonPipelineResult.createFromPacket(PhotonPipelineResult.java:141) at org.photonvision.PhotonCamera.getLatestResult(PhotonCamera.java:186) at frc.robot.util.PhotonRunnable.run(PhotonRunnable.java:58) at edu.wpi.first.wpilibj.Notifier.lambda$new$0(Notifier.java:118) at java.base/java.lang.Thread.run(Unknown Source) The Runnable for this Notifier (or methods called by it) should have handled the exception above. The above stacktrace can help determine where the error occurred. See https://wpilib.org/stacktrace for more information. Error at edu.wpi.first.wpilibj.Notifier.lambda$new$1(Notifier.java:132): The Runnable for this Notifier (or methods called by it) should have handled the exception above. The above stacktrace can help determine where the error occurred. See https://wpilib.org/stacktrace for more information.