java.lang.NullPointerException

GitHub | melvinzhang | 5 months ago
  1. 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.NullPointerException

      No message provided

      at magic.model.event.MagicSourceManaActivation.canProduce()
    2. magic.model.event
      MagicSourceManaActivation.canProduce
      1. magic.model.event.MagicSourceManaActivation.canProduce(MagicSourceManaActivation.java:51)
      1 frame
    3. magic.model.choice
      MagicPayManaCostResultBuilder.hasResults
      1. magic.model.choice.MagicPayManaCostResultBuilder.build(MagicPayManaCostResultBuilder.java:62)
      2. magic.model.choice.MagicPayManaCostResultBuilder.build(MagicPayManaCostResultBuilder.java:127)
      3. magic.model.choice.MagicPayManaCostResultBuilder.build(MagicPayManaCostResultBuilder.java:127)
      4. magic.model.choice.MagicPayManaCostResultBuilder.hasResults(MagicPayManaCostResultBuilder.java:157)
      4 frames
    4. magic.model.condition
      MagicManaCostCondition.accept
      1. magic.model.condition.MagicManaCostCondition.accept(MagicManaCostCondition.java:28)
      1 frame
    5. magic.model.event
      MagicSourceActivation.canPlay
      1. magic.model.event.MagicPayManaCostEvent.isSatisfied(MagicPayManaCostEvent.java:47)
      2. magic.model.event.MagicActivation.canPlay(MagicActivation.java:108)
      3. magic.model.event.MagicSourceActivation.canPlay(MagicSourceActivation.java:26)
      3 frames
    6. magic.model.choice
      MagicChoice.getSimulationChoiceResult
      1. magic.model.choice.MagicPlayChoice.addValidChoices(MagicPlayChoice.java:78)
      2. magic.model.choice.MagicPlayChoice.getArtificialOptions(MagicPlayChoice.java:68)
      3. magic.model.choice.MagicChoice.getArtificialChoiceResults(MagicChoice.java:86)
      4. magic.model.choice.MagicChoice.getSimulationChoiceResult(MagicChoice.java:103)
      4 frames
    7. magic.model.event
      MagicEvent.getSimulationChoiceResult
      1. magic.model.event.MagicEvent.getSimulationChoiceResult(MagicEvent.java:443)
      1 frame
    8. magic.ai
      MCTSAI$2.run
      1. magic.ai.MCTSAI.runSimulation(MCTSAI.java:483)
      2. magic.ai.MCTSAI.randomPlay(MCTSAI.java:446)
      3. magic.ai.MCTSAI.access$000(MCTSAI.java:65)
      4. magic.ai.MCTSAI$2.run(MCTSAI.java:188)
      4 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames