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

Range [0, -1) out of bounds for length 29 in TranspileMojo #3678

Closed
yegor256 opened this issue Dec 16, 2024 · 3 comments · Fixed by #3680
Closed

Range [0, -1) out of bounds for length 29 in TranspileMojo #3678

yegor256 opened this issue Dec 16, 2024 · 3 comments · Fixed by #3680
Assignees
Labels

Comments

@yegor256
Copy link
Member

Caused by: java.lang.StringIndexOutOfBoundsException: Range [0, -1) out of bounds for length 29
    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.outOfBoundsCheckFromToIndex (Preconditions.java:112)
    at jdk.internal.util.Preconditions.checkFromToIndex (Preconditions.java:349)
    at java.lang.String.checkBoundsBeginEnd (String.java:4963)
    at java.lang.String.substring (String.java:2925)
    at org.eolang.maven.TranspileMojo.pinfo (TranspileMojo.java:338)
@yegor256 yegor256 added the bug label Dec 16, 2024
@yegor256 yegor256 self-assigned this Dec 16, 2024
yegor256 added a commit that referenced this issue Dec 16, 2024
yegor256 added a commit that referenced this issue Dec 16, 2024
yegor256 added a commit that referenced this issue Dec 16, 2024
yegor256 added a commit that referenced this issue Dec 16, 2024
@yegor256
Copy link
Member Author

@rultor release, tag is 0.49.1

@rultor
Copy link
Contributor

rultor commented Dec 16, 2024

@rultor release, tag is 0.49.1

@yegor256 OK, I will release it now. Please check the progress here.

@rultor
Copy link
Contributor

rultor commented Dec 16, 2024

@rultor release, tag is 0.49.1

@yegor256 Done! FYI, the full log is here (took me 14min).

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

Successfully merging a pull request may close this issue.

2 participants