You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error occurs on save and (slightly different stack trace) when you try to create a new Java class file. The latter is a showstopper because it prevents the file from being created. This is from a fresh install of Eclipse 2020-06 plus the Spring plugin:
java.lang.IndexOutOfBoundsException: Index 32 out of bounds for length 32
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:458)
at io.spring.javaformat.formatter.eclipse.TokenManager.get(TokenManager.java:75)
at io.spring.javaformat.formatter.eclipse.TokenManager.findIndex(TokenManager.java:168)
at io.spring.javaformat.formatter.eclipse.SpacePreparator.handleToken(SpacePreparator.java:1098)
at io.spring.javaformat.formatter.eclipse.SpacePreparator.visit(SpacePreparator.java:178)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:430)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3042)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:258)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at io.spring.javaformat.formatter.eclipse.DefaultCodeFormatter.prepareSpaces(DefaultCodeFormatter.java:412)
at io.spring.javaformat.formatter.eclipse.DefaultCodeFormatter.prepareFormattedCode(DefaultCodeFormatter.java:229)
at io.spring.javaformat.formatter.eclipse.DefaultCodeFormatter.format(DefaultCodeFormatter.java:186)
at io.spring.javaformat.formatter.eclipse.DefaultCodeFormatter.format(DefaultCodeFormatter.java:168)
at io.spring.javaformat.formatter.Formatter.lambda$format$0(Formatter.java:102)
at io.spring.javaformat.formatter.Formatter.nlsSafe(Formatter.java:149)
at io.spring.javaformat.formatter.Formatter.format(Formatter.java:101)
at io.spring.javaformat.eclipse.formatter.SpringCodeFormatter.format(SpringCodeFormatter.java:39)
at org.eclipse.jdt.internal.corext.util.CodeFormatterUtil.reformat(CodeFormatterUtil.java:291)
at org.eclipse.jdt.internal.corext.util.CodeFormatterUtil.reformat(CodeFormatterUtil.java:354)
at org.eclipse.jdt.internal.corext.fix.CodeFormatFix.createCleanUp(CodeFormatFix.java:76)
at org.eclipse.jdt.internal.ui.fix.CodeFormatCleanUp.createFix(CodeFormatCleanUp.java:64)
at
...
Error occurs on save and (slightly different stack trace) when you try to create a new Java class file. The latter is a showstopper because it prevents the file from being created. This is from a fresh install of Eclipse 2020-06 plus the Spring plugin:
Installation details:
The text was updated successfully, but these errors were encountered: