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

GitHub | yossigil | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Planting bug:

    GitHub | 7 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