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

StringIndexOutOfBoundsException #837

Closed
Bananeweizen opened this issue Aug 12, 2024 · 1 comment
Closed

StringIndexOutOfBoundsException #837

Bananeweizen opened this issue Aug 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Bananeweizen
Copy link
Contributor

The Maven plugin 5.38.1 is also affected by what has been fixed in openrewrite/rewrite#4401. You may want to publish another version with a core update.

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    at jdk.internal.util.Preconditions$1.apply (Preconditions.java:55)
    at jdk.internal.util.Preconditions$1.apply (Preconditions.java:52)
    at jdk.internal.util.Preconditions$4.apply (Preconditions.java:213)
    at jdk.internal.util.Preconditions$4.apply (Preconditions.java:210)
    at jdk.internal.util.Preconditions.outOfBounds (Preconditions.java:98)
    at jdk.internal.util.Preconditions.outOfBoundsCheckIndex (Preconditions.java:106)
    at jdk.internal.util.Preconditions.checkIndex (Preconditions.java:302)
    at java.lang.String.checkIndex (String.java:4832)
    at java.lang.StringLatin1.charAt (StringLatin1.java:46)
    at java.lang.String.charAt (String.java:1555)
    at org.openrewrite.java.marker.JavaSourceSet.isDeclarable (JavaSourceSet.java:333)
@timtebeek
Copy link
Contributor

Done! https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v2.17.0

Thanks for the heads-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants