java.lang.AssertionError: Planting null into ¢ instanceof VariableDeclarationFragment ? this.ctx.getRefactorings() : MISSING/nullreturned null

GitHub | yossigil | 6 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.
  1. 0

    Planting bug:

    GitHub | 6 months ago | yossigil
    java.lang.AssertionError: Planting null into ¢ instanceof VariableDeclarationFragment ? this.ctx.getRefactorings() : MISSING/nullreturned null

    Root Cause Analysis

    1. java.lang.AssertionError

      Planting null into ¢ instanceof VariableDeclarationFragment ? this.ctx.getRefactorings() : MISSING/nullreturned null

      at il.org.spartan.spartanizer.assemble.subject$Pair.toCondition()
    2. il.org.spartan
      Trimmer$DispatchingVisitor.visit
      1. il.org.spartan.spartanizer.assemble.subject$Pair.toCondition(subject.java:266)
      2. il.org.spartan.spartanizer.wring.TernaryPushdown.pushdown(TernaryPushdown.java:127)
      3. il.org.spartan.spartanizer.wring.TernaryPushdown.pushdown(TernaryPushdown.java:77)
      4. il.org.spartan.spartanizer.wring.TernaryPushdown.pushdown(TernaryPushdown.java:31)
      5. il.org.spartan.spartanizer.wring.IfExpressionStatementElseSimilarExpressionStatement.replacement(IfExpressionStatementElseSimilarExpressionStatement.java:42)
      6. il.org.spartan.spartanizer.wring.IfExpressionStatementElseSimilarExpressionStatement.replacement(IfExpressionStatementElseSimilarExpressionStatement.java:1)
      7. il.org.spartan.spartanizer.wring.strategies.ReplaceCurrentNode.claims(ReplaceCurrentNode.java:21)
      8. il.org.spartan.spartanizer.wring.dispatch.Toolbox.find(Toolbox.java:187)
      9. il.org.spartan.spartanizer.wring.dispatch.Toolbox.find(Toolbox.java:199)
      10. il.org.spartan.spartanizer.wring.dispatch.Trimmer$2.go(Trimmer.java:62)
      11. il.org.spartan.spartanizer.wring.dispatch.Trimmer$DispatchingVisitor.cautiousGo(Trimmer.java:193)
      12. il.org.spartan.spartanizer.wring.dispatch.Trimmer$DispatchingVisitor.visit(Trimmer.java:143)
      12 frames