-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-generated RobotLogger encountering "cannot be resolved or is not a field" #20
Comments
We are aware of this issue and are investigating more options to fix or work around this. See this comment for more info. |
Thanks for the update. Running |
Reopening until the issue is fixed in a release |
Unfortunately, it appears that this can still happen on v2025.1.1-beta-2 |
We've identified a VSCode setting that appears to fix this in combination with the beta-2 fixes. Add the following to your project's
The whole config should look something like this:
|
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: