You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After converting our 2024 code to 2025, adding annotation logging, and resolving all build errors, attempts to run the robot code result in an error on program startup, stemming from the auto-generated Epilogue logger classes.
The code can be built successfully using the WPILib: Build robot code command, and the error seems like it would occur during the build and not at runtime, so it's perplexing.
To Reproduce
Steps to reproduce the behavior:
Run the command "WPILib: Simulate Robot Code"
Note that the code builds without issue.
Select "Sim GUI"
Select "Continue" in the build failure notification.
Expected behavior
The robot code would be expected to start successfully and enter Disabled mode
Screenshots
Here is the stack trace of the error:
Error at frc.robot.RobotLogger.update(RobotLogger.java:29): Unhandled exception: java.lang.Error: Unresolved compilation problem:
containerLogger cannot be resolved or is not a field
at frc.robot.RobotLogger.update(RobotLogger.java:29)
at frc.robot.RobotLogger.update(RobotLogger.java:1)
at edu.wpi.first.epilogue.logging.ClassSpecificLogger.tryUpdate(ClassSpecificLogger.java:64)
at edu.wpi.first.epilogue.Epilogue.update(Epilogue.java:34)
at edu.wpi.first.epilogue.Epilogue.lambda$0(Epilogue.java:55)
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:146)
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:350)
at edu.wpi.first.wpilibj.RobotBase.lambda$startRobot$0(RobotBase.java:418)
at java.base/java.lang.Thread.run(Unknown Source)
Describe the bug
After converting our 2024 code to 2025, adding annotation logging, and resolving all build errors, attempts to run the robot code result in an error on program startup, stemming from the auto-generated Epilogue logger classes.
The code can be built successfully using the
WPILib: Build robot code
command, and the error seems like it would occur during the build and not at runtime, so it's perplexing.To Reproduce
Steps to reproduce the behavior:
Debug: Main
terminal to see stack traceExpected behavior
The robot code would be expected to start successfully and enter Disabled mode
Screenshots
Here is the stack trace of the error:
And a screenshot of the source:
Desktop:
Project Version: 2025.1.1-beta-1
VS Code Version: 1.94.2
WPILib Extension Version: 2025.1.1-beta-1
C++ Extension Version: 1.22.9
Java Extension Version: 1.36.2024092708
Java Debug Extension Version: 0.58.2024090204
Java Dependencies Extension Version 0.24.0
Java Version: 17
Java Location: C:\Users\Public\wpilib\2025\jdk
Vendor Libraries:
PathplannerLib (2025.0.0-beta-3.1)
CTRE-Phoenix (v5) (5.34.0-beta-1)
CTRE-Phoenix (v6) (25.0.0-beta-1)
REVLib (2024.2.4)
WPILib-New-Commands (1.0.0)
roboRIO (please complete the following information if applicable):
(simulation)
Additional context
n/a
The text was updated successfully, but these errors were encountered: