So I updated to the 2021 WPI and Rio image.
I do not get the compile errors, but it acts like it cannot find my path.
-
Loop time of 0.02s overrun
-
Warning at edu.wpi.first.wpilibj.IterativeRobotBase.printLoopOverrunMessage(IterativeRobotBase.java:301): Loop time of 0.02s overrun
-
DifferentialDrive⦠Output not updated often enough.
-
Error at edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:96): DifferentialDrive⦠Output not updated often enough.
-
DifferentialDrive⦠Output not updated often enough.
-
Error at edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:96): DifferentialDrive⦠Output not updated often enough.
-
DifferentialDrive⦠Output not updated often enough.
-
Error at edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:96): DifferentialDrive⦠Output not updated often enough.
-
DifferentialDrive⦠Output not updated often enough.
-
Error at edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:96): DifferentialDrive⦠Output not updated often enough.
-
Unable to open trajectory: Paths/Test.wpilib.json
-
Error at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source): Unable to open trajectory: Paths/Test.wpilib.json
-
at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
-
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
-
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
-
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source)
-
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
-
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
-
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
-
at java.base/java.nio.file.Files.newInputStream(Unknown Source)
-
at java.base/java.nio.file.Files.newBufferedReader(Unknown Source)
-
at java.base/java.nio.file.Files.newBufferedReader(Unknown Source)
-
at edu.wpi.first.wpilibj.trajectory.TrajectoryUtil.fromPathweaverJson(TrajectoryUtil.java:34)
-
at frc.robot.RobotContainer.getAutonomousCommand(RobotContainer.java:125)
-
at frc.robot.Robot.autonomousInit(Robot.java:59)
-
at edu.wpi.first.wpilibj.IterativeRobotBase.loopFunc(IterativeRobotBase.java:232)
-
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:117)
-
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:335)
-
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:407)
-
at frc.robot.Main.main(Main.java:23)
-
Unhandled exception: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
-
Error at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source): Unhandled exception: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
-
at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)
-
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)
-
Robots should not quit, but yours did!
-
at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)
-
at java.base/java.util.Objects.checkIndex(Unknown Source)
-
at java.base/java.util.ArrayList.get(Unknown Source)
-
The startCompetition() method (or methods called by it) should have handled the exception above.
-
at edu.wpi.first.wpilibj.trajectory.Trajectory.sample(Trajectory.java:99)
-
at edu.wpi.first.wpilibj2.command.RamseteCommand.initialize(RamseteCommand.java:137)
-
at edu.wpi.first.wpilibj2.command.SequentialCommandGroup.initialize(SequentialCommandGroup.java:53)
-
at edu.wpi.first.wpilibj2.command.CommandScheduler.initCommand(CommandScheduler.java:140)
-
at edu.wpi.first.wpilibj2.command.CommandScheduler.schedule(CommandScheduler.java:199)
-
at edu.wpi.first.wpilibj2.command.CommandScheduler.schedule(CommandScheduler.java:214)
-
at edu.wpi.first.wpilibj2.command.Command.schedule(Command.java:242)
-
at edu.wpi.first.wpilibj2.command.Command.schedule(Command.java:247)
-
at frc.robot.Robot.autonomousInit(Robot.java:70)
-
at edu.wpi.first.wpilibj.IterativeRobotBase.loopFunc(IterativeRobotBase.java:232)
-
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:117)
-
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:335)
-
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:407)
-
at frc.robot.Main.main(Main.java:23)
-
Warning at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:350): Robots should not quit, but yours did!
-
Error at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:352): The startCompetition() method (or methods called by it) should have handled the exception above.
-
********** Robot program starting **********