Skip to content
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

An unhandled exception was thrown by the Error Prone static analysis plugin on ParameterComment on error-prone version: 2.36.0 #4799

Open
alexandrenavarro opened this issue Feb 1, 2025 · 2 comments

Comments

@alexandrenavarro
Copy link

Compilation failed; see the compiler output below.

error: An unhandled exception was thrown by the Error Prone static analysis plugin.

      assertThat(tradingGroupAndMethodology.getTimeZone()).isEqualTo("Europe/Paris");

                ^

   Please report this at https://github.com/google/error-prone/issues/new and include the following:



   error-prone version: 2.36.0

   BugPattern: ParameterComment

   Stack Trace:

   java.lang.IndexOutOfBoundsException: Range [4068, 3602) out of bounds for length 6069
@graememorgan
Copy link
Member

Do you have some more of the stack trace, and possibly a bit more of the surrounding code (if it's shareable)?

@alexandrenavarro
Copy link
Author

Unfortunately, it is proprietary code. I will try to spot where is the problem and share a simplified sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants