-
Notifications
You must be signed in to change notification settings - Fork 746
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
lombok causes an IndexOutOfBoundsException in AnnotationPosition #1327
Comments
Can you provide a source code example? |
I have code that fails similarly: RegisterAccountForm I'm not sure that it exactly the same issue. Please, let me know if you want me to submit another issue for my case. P.S. I'm using error-prone 2.3.4 |
Can you paste the stack trace? |
Sure, but I haven't found how to instruct maven/error-prone to output it. I tried to pass Could you guide me, please? |
If you aren't seeing error prone in the stack trace, you're having a different issue. When this bug happens, there's a stack trace pointing to a specific line in the EP library itself. |
Does anyone have a self-contained minimal example of code that causes a crash in |
I'm not using lombok, but the combination of public static void main(final String[] args)
{
@Nullable var date = now();
System.out.println(date);
}
public static Date now()
{
return Date.from(Instant.now(Clock.systemDefaultZone()));
}
|
@fprochazka it appears to happen for all annotated |
Description of the problem / feature request:
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Not sure. The code pointed was a field of a static subclass annotated with lombok.NonNull.
What version of Error Prone are you using?
2.3.3
Have you found anything relevant by searching the web?
No.
The text was updated successfully, but these errors were encountered: