java.lang.NullPointerException

GitHub | melvinzhang | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

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:97)
    4. magic.model.choice.MagicChoice.getSimulationChoiceResult(MagicChoice.java:114)
    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(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames