netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Using Embezzle on an HQ with Mwanza City Grid locks up the game

Open SugoiFactory opened this issue 8 years ago • 2 comments

No error messages reported. Once you select an option, the game stops responding. You can force the reveal and trashing to occur by saying something in chat, but you're stuck continuing to be "successfully running" the server with the four options available and are unable to jack out via /jack-out. /close-prompt simply brings you to the successful run/jack out prompt.

SugoiFactory avatar May 08 '18 06:05 SugoiFactory

This is probably the (poorly formatted) stack trace of what happens:

18-05-08 05:39:09 ns333642.ip-94-23-38.eu ERROR [taoensso.sente:1549] - Chsk router `event-msg-handler` error: [:netrunner/action {:gameid-str "cfc53867-eb1a-4945-bde9-6183ecba4409", :command "choice", :args {:choice "Operation"}}]
                                                     java.lang.Thread.run              Thread.java:  748
                       java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
                        java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                                                                      ...                               
                 clojure.core.async.impl.channels.ManyToManyChannel/fn/fn             channels.clj:   95
                                         clojure.core.async/do-alts/fn/fn                async.clj:  253
                                          clojure.core.async/ioc-alts!/fn                async.clj:  384
             clojure.core.async.impl.ioc-macros/run-state-machine-wrapped           ioc_macros.clj:  977
                     clojure.core.async.impl.ioc-macros/run-state-machine           ioc_macros.clj:  973
              taoensso.sente/-start-chsk-router!/fn/state-machine--auto--               sente.cljc: 1529
           taoensso.sente/-start-chsk-router!/fn/state-machine--auto--/fn               sente.cljc: 1529
                                    taoensso.sente/-start-chsk-router!/fn               sente.cljc: 1527
taoensso.sente/-start-chsk-router!/fn/state-machine--auto--/fn/inst-11259               sente.cljc: 1541
                                                  web.ws/fn/handle-ws-msg                   ws.clj:   55
                                                      clojure.core/reduce                 core.clj: 6747
                                                                      ...                               
                                               web.ws/fn/handle-ws-msg/fn                   ws.clj:   55
                                              web.game/handle-game-action                 game.clj:  151
                                                  game.main/handle-action                 main.clj:  145
                                                 game.core/resolve-prompt              actions.clj:  163
                                                     game.core/prompt!/fn            abilities.clj:  314
                                                game.core/resolve-ability            abilities.clj:  109
                                                game.core/resolve-ability            abilities.clj:  111
                                            game.core/resolve-ability-eid            abilities.clj:  138
                                               game.core/complete-ability            abilities.clj:  147
                                               game.core/effect-completed               events.clj:  289
                                              game.core/replace-access/fn                 runs.clj:  689
                                                    game.core/run-cleanup                 runs.clj:  837
                                                                      ...                               
                                                  game.core/trigger-event               events.clj:   29
                                                  game.core/trigger-event               events.clj:   38
                                                          game.core/fn/fn             upgrades.clj:  594
                                                                      ...                               
java.lang.NullPointerException: 

jwarwick avatar May 08 '18 11:05 jwarwick

Seems the req in Mwanza is throwing a NPE. line 594 is the pos? (:cards-accessed run) but I thought pos? was null-safe. Either case it looks like Mwanza will error is any replacement effects are used.

Saintis avatar May 08 '18 11:05 Saintis