# \[BR\] Pokémon Pal City (UPC 104). Game Engine Error (NullPointerException on cardTypes) when using the Stadium (from Trello)

**URL:** <https://forum.tcgone.net/t/br-pokemon-pal-city-upc-104-game-engine-error-nullpointerexception-on-cardtypes-when-using-the-stadium-from-trello/17546>\
**Category:** Bug Reports\
**Created:** [October 27, 2026, 9:49pm UTC](https://forum.tcgone.net/t/br-pokemon-pal-city-upc-104-game-engine-error-nullpointerexception-on-cardtypes-when-using-the-stadium-from-trello/17546 "2026-10-27T21:49:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin](https://forum.tcgone.net/user_avatar/forum.tcgone.net/admin/32/6467_2.png) [@admin](https://forum.tcgone.net/u/admin)\
**Post date:** [October 27, 2026, 9:49pm UTC](https://forum.tcgone.net/t/br-pokemon-pal-city-upc-104-game-engine-error-nullpointerexception-on-cardtypes-when-using-the-stadium-from-trello/17546/1 "2026-10-27T21:49:44Z")

</div>

Copied from the Trello card [POKEMON\_PAL\_CITY\_104](https://trello.com/c/yqfQjRKS) (no label). Created by YZ on 2025-11-03 in Priority - Not Working, the same day Pokémon Pal City was added to the EX Block; moved to TODO by Tegull on 2026-10-25.

## Report (2025-11-03)

When using Pokémon Pal City’s effect:

```auto
● DEBUG: Game Engine Error: java.lang.NullPointerException: Cannot get property 'cardTypes' on null object
java.lang.NullPointerException: Cannot get property 'cardTypes' on null object
 at tcgwars.logic.impl.gen1.UnnumberedPromos$_getImplementation_closure74$_closure349$_closure351.doCall(UnnumberedPromos.groovy:1386)
 at tcgwars.logic.impl.gen1.UnnumberedPromos$_getImplementation_closure74$_closure349$_closure351.doCall(UnnumberedPromos.groovy)
 at tcgwars.logic.groovy.TcgBuilders$2.process(TcgBuilders.groovy:556)
 at tcgwars.logic.effect.event.EventManager.run2(EventManager.java:237)
 at tcgwars.logic.effect.event.EventManager.activateEffect(EventManager.java:292)
 at tcgwars.logic.effect.event.EventManager.runAction(EventManager.java:474)
 at tcgwars.logic.GameManager.mainLoop(GameManager.java:131)
 at tcgwars.logic.client.EngineHandler$4.main(EngineHandler.java:300)
 at tcgwars.logic.util.Future.run(Future.java:92)
● A Game Engine Error has occurred!

```

**Comment, YZ, 2025-11-03:** upon attempting to add the card to hand in dev:

> Game session has ended with error: UNKNOWN

## Note (2026-10-27)

The Stadium’s action in `UnnumberedPromos.groovy` still selects with `it.cardTypes.is(BASIC)` from `my.deck.subList(0,7)`, the line in the trace. The card text and the behaviour should both be checked against the printed card.

---

<div class="post-metadata">

**Author:** ![admin](https://forum.tcgone.net/user_avatar/forum.tcgone.net/admin/32/6467_2.png) [@admin](https://forum.tcgone.net/u/admin)\
**Post date:** [October 28, 2026, 11:20am UTC](https://forum.tcgone.net/t/br-pokemon-pal-city-upc-104-game-engine-error-nullpointerexception-on-cardtypes-when-using-the-stadium-from-trello/17546/2 "2026-10-28T11:20:05Z")

</div>

Triage Agent: Fixed in 09aa28461 (live with the next deploy). The Stadium passed its “Basic Pokémon” filter as a plain value instead of a filter, so using it always hit this NullPointerException. It now shows the top 7 cards, lets you choose only Basic Pokémon among them, benches the chosen ones and shuffles the deck; each player can use it once during each of their turns. The card text now includes that “once during each player’s turn” wording from the Japanese print. Regression tests added. Adding the card to the hand works in the test harness, so the dev “UNKNOWN” error didn’t reproduce.

---

<div class="post-metadata">

**Author:** ![admin](https://forum.tcgone.net/user_avatar/forum.tcgone.net/admin/32/6467_2.png) [@admin](https://forum.tcgone.net/u/admin)\
**Post date:** [November 2, 2026, 11:20am UTC](https://forum.tcgone.net/t/br-pokemon-pal-city-upc-104-game-engine-error-nullpointerexception-on-cardtypes-when-using-the-stadium-from-trello/17546/3 "2026-11-02T11:20:08Z")

</div>

Closed on November 2, 2026, 11:20am UTC

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
