java.lang.AssertionError

GitHub | bgranvea | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.AssertionError

    No message provided

    at org.eclipse.jdt.internal.formatter.TokenManager.lastIndexIn()
  2. JDT Core
    TokenManager.lastIndexIn
    1. org.eclipse.jdt.internal.formatter.TokenManager.lastIndexIn(Unknown Source)
    1 frame
  3. org.eclipse.jdt
    WrapPreparator.visit
    1. org.eclipse.jdt.internal.formatter.linewrap.WrapPreparator.prepareElementsList(Unknown Source)
    2. org.eclipse.jdt.internal.formatter.linewrap.WrapPreparator.visit(Unknown Source)
    2 frames
  4. JDT Core
    DefaultCodeFormatter.format
    1. org.eclipse.jdt.core.dom.ParameterizedType.accept0(Unknown Source)
    2. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    3. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source)
    4. org.eclipse.jdt.core.dom.ParameterizedType.accept0(Unknown Source)
    5. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    6. org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
    7. org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(Unknown Source)
    8. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    9. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source)
    10. org.eclipse.jdt.core.dom.MethodInvocation.accept0(Unknown Source)
    11. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    12. org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
    13. org.eclipse.jdt.core.dom.ReturnStatement.accept0(Unknown Source)
    14. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    15. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source)
    16. org.eclipse.jdt.core.dom.Block.accept0(Unknown Source)
    17. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    18. org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
    19. org.eclipse.jdt.core.dom.TryStatement.accept0(Unknown Source)
    20. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    21. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source)
    22. org.eclipse.jdt.core.dom.Block.accept0(Unknown Source)
    23. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    24. org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
    25. org.eclipse.jdt.core.dom.MethodDeclaration.accept0(Unknown Source)
    26. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    27. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source)
    28. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(Unknown Source)
    29. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    30. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(Unknown Source)
    31. org.eclipse.jdt.core.dom.CompilationUnit.accept0(Unknown Source)
    32. org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
    33. org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.prepareWraps(Unknown Source)
    34. org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.prepareFormattedCode(Unknown Source)
    35. org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.format(Unknown Source)
    36. org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.format(Unknown Source)
    36 frames
  5. krasa.formatter.adapter
    EclipseJavaFormatterAdapter.format
    1. krasa.formatter.adapter.EclipseJavaFormatterAdapter.format(EclipseJavaFormatterAdapter.java:82)
    1 frame
  6. krasa.formatter.eclipse
    JavaCodeFormatterFacade.format
    1. krasa.formatter.eclipse.JavaCodeFormatterFacade.format(JavaCodeFormatterFacade.java:55)
    1 frame
  7. krasa.formatter.plugin
    EclipseCodeStyleManager.reformatText
    1. krasa.formatter.plugin.EclipseCodeFormatter.reformat(EclipseCodeFormatter.java:112)
    2. krasa.formatter.plugin.EclipseCodeFormatter.formatWhenEditorIsOpen(EclipseCodeFormatter.java:90)
    3. krasa.formatter.plugin.EclipseCodeFormatter.format(EclipseCodeFormatter.java:55)
    4. krasa.formatter.plugin.EclipseCodeStyleManager.formatWithEclipse(EclipseCodeStyleManager.java:221)
    5. krasa.formatter.plugin.EclipseCodeStyleManager.format(EclipseCodeStyleManager.java:112)
    6. krasa.formatter.plugin.EclipseCodeStyleManager.reformatText(EclipseCodeStyleManager.java:75)
    6 frames