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

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

    GitHub comment 696#271676199

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