java.lang.AssertionError

Exception #2576723

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by bgranvea
    ,
  • via GitHub by yossigil
    ,
  • Stack trace

    • java.lang.AssertionError at org.eclipse.jdt.internal.formatter.TokenManager.lastIndexIn(Unknown Source) at org.eclipse.jdt.internal.formatter.linewrap.WrapPreparator.prepareElementsList(Unknown Source) at org.eclipse.jdt.internal.formatter.linewrap.WrapPreparator.visit(Unknown Source) at org.eclipse.jdt.core.dom.ParameterizedType.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source) at org.eclipse.jdt.core.dom.ParameterizedType.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source) at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source) at org.eclipse.jdt.core.dom.MethodInvocation.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source) at org.eclipse.jdt.core.dom.ReturnStatement.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source) at org.eclipse.jdt.core.dom.Block.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source) at org.eclipse.jdt.core.dom.TryStatement.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source) at org.eclipse.jdt.core.dom.Block.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source) at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source) at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source) at org.eclipse.jdt.core.dom.CompilationUnit.accept0(Unknown Source) at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source) at org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.prepareWraps(Unknown Source) at org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.prepareFormattedCode(Unknown Source) at org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.format(Unknown Source) at org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.format(Unknown Source) at krasa.formatter.adapter.EclipseJavaFormatterAdapter.format(EclipseJavaFormatterAdapter.java:82) at krasa.formatter.eclipse.JavaCodeFormatterFacade.format(JavaCodeFormatterFacade.java:55) at krasa.formatter.plugin.EclipseCodeFormatter.reformat(EclipseCodeFormatter.java:112) at krasa.formatter.plugin.EclipseCodeFormatter.formatWhenEditorIsOpen(EclipseCodeFormatter.java:90) at krasa.formatter.plugin.EclipseCodeFormatter.format(EclipseCodeFormatter.java:55) at krasa.formatter.plugin.EclipseCodeStyleManager.formatWithEclipse(EclipseCodeStyleManager.java:221) at krasa.formatter.plugin.EclipseCodeStyleManager.format(EclipseCodeStyleManager.java:112) at krasa.formatter.plugin.EclipseCodeStyleManager.reformatText(EclipseCodeStyleManager.java:75)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.