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

Copied from the Trello card POKEMON_PAL_CITY_104 (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:

● 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.

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.