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
Got unexpected exception during formatting PsiJavaFile:Testklasse.java: java.lang.IndexOutOfBoundsException: Wrong offset: 1655. Should be in range: [0, 1623] #113
Comments
|
Thanks @MartinX3, can you post IDE version, plugin version, and plugin configuration please? Jetbrains recently added range in the rearrange code, it might be the source of the bug. |
The stack goes in the code I copied from their source, it might be because there's a difference between my code and their new code com.dubreuia.processors.RearrangeCodeProcessor#prepareRearrangeCommand |
Same issue for me: |
Was this fixed since it was closed? |
Getting a different error after the latest update (both IDEA, and save actions)
|
Got unexpected exception during formatting PsiJavaFile:OperationHandler.java: java.lang.IndexOutOfBoundsException: Wrong offset: 5312. Should be in range: [0, 5307] |
Got unexpected exception during formatting PsiJavaFile:Employee.java java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Wrong offset: 1072. Should be in range: [0, 1070] IntelliJ IDEA 2018.2 (Ultimate Edition) |
Fixed by #207 |
The text was updated successfully, but these errors were encountered: