Improving error messages when an annotation processor crashes. - #9560
Open
lahodaj wants to merge 1 commit into
Open
Improving error messages when an annotation processor crashes.#9560lahodaj wants to merge 1 commit into
lahodaj wants to merge 1 commit into
Conversation
lahodaj
force-pushed
the
improve-ap-error-messages
branch
from
August 13, 2026 12:14
1f12e3c to
86f0b8a
Compare
Member
|
thanks for looking into this. The key puzzle piece was the fact that I made some changes on top of this PR:
commit would be at https://github.com/mbien/netbeans/tree/improve-ap-error-messages, let me know what you think. |
mbien
force-pushed
the
improve-ap-error-messages
branch
from
August 28, 2026 05:45
b3a448c to
ec0634f
Compare
Member
|
added commit, rebased, updated PR text with screenshot. would be good to squash after review |
lahodaj
marked this pull request as ready for review
August 28, 2026 14:07
- clear class cache on AP failure - use printStackTrace(writer) to format exception - add jar location, AP name and javac version to exception message - add update advice message since it is a common way to resolve compatibility issues Co-authored-by: Michael Bien <mbien42@gmail.com>
mbien
force-pushed
the
improve-ap-error-messages
branch
from
September 2, 2026 04:00
ec0634f to
ad36eb4
Compare
mbien
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improving error messages when an annotation processor crashes and clear AP cache on failure.
printStackTrace(writer)to format exceptionexample: