edu.wpi.first.wpiutil.RuntimeLoader Not Found

Robot code says that it successfully deploys however FRCDriverStation says otherwise.
WPILib roboRIO debug output:

  • ********** Robot program starting **********

  • Unhandled exception: java.lang.ClassNotFoundException: edu.wpi.first.wpiutil.RuntimeLoader

  • Error at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source): Unhandled exception: java.lang.ClassNotFoundException: edu.wpi.first.wpiutil.RuntimeLoader

  • at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)

  • at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)

  • at java.base/java.lang.ClassLoader.loadClass(Unknown Source)

  • at com.revrobotics.jni.RevJNIWrapper.(RevJNIWrapper.java:42)

  • at com.revrobotics.CANSparkMaxLowLevel.(CANSparkMaxLowLevel.java:38)

  • at frc.robot.subsystems.SwerveModule.(SwerveModule.java:81)

  • at frc.robot.subsystems.Drivetrain.(Drivetrain.java:32)

  • at frc.robot.RobotContainer.(RobotContainer.java:25)

  • at frc.robot.Robot.robotInit(Robot.java:13)

  • at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:107)

  • at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:373)

  • at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:463)

  • at frc.robot.Main.main(Main.java:19)

  • The robot program quit unexpectedly. This is usually due to a code error.
    The above stacktrace can help determine where the error occurred.
    See https://wpilib.org/stacktrace for more information.

  • Warning at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:388): The robot program quit unexpectedly. This is usually due to a code error.

  • The above stacktrace can help determine where the error occurred.

  • See https://wpilib.org/stacktrace for more information.

  • The startCompetition() method (or methods called by it) should have handled the exception above.

  • Error at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:395): The startCompetition() method (or methods called by it) should have handled the exception above.

  • Listening for transport dt_socket at address: 8349

What does the WPILib “open project information” in vscode report for all the versions? Most likely the Rev vendor library is out of date.

REVRobotics version is 1.5.4

You need to remove that and install REVLib 2022. REVLib Information - SPARK MAX

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.