java.lang.AssertionError: types[index] is null, index=1

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

    GitHub comment 696#271676199

    GitHub | 2 months ago | lodici
    java.lang.AssertionError: types[index] is null, index=1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      types[index] is null, index=1

      at magic.model.choice.MagicPayManaCostResultBuilder.build()
    2. magic.model.choice
      MagicPayManaCostResultBuilder.hasResults
      1. magic.model.choice.MagicPayManaCostResultBuilder.build(MagicPayManaCostResultBuilder.java:53)
      2. magic.model.choice.MagicPayManaCostResultBuilder.build(MagicPayManaCostResultBuilder.java:89)
      3. magic.model.choice.MagicPayManaCostResultBuilder.hasResults(MagicPayManaCostResultBuilder.java:156)
      3 frames
    3. magic.model.condition
      MagicManaCostCondition.accept
      1. magic.model.condition.MagicManaCostCondition.accept(MagicManaCostCondition.java:28)
      1 frame