netrunner
netrunner copied to clipboard
Snitch / Corp run continue conflict
Please describe the circumstances of your error here. I snitch on the first ice to end the run and the corp player hits continue before I snitch the continue/jack out window re-appears, and hitting continue causes an error.
Stack Trace:
Error do continue #error {
:cause nil
:via
[{:type java.lang.NullPointerException
:message nil
:at [clojure.lang.Numbers ops "Numbers.java" 1013]}]
:trace
[[clojure.lang.Numbers ops "Numbers.java" 1013]
[clojure.lang.Numbers dec "Numbers.java" 120]
[clojure.core$dec invokeStatic "core.clj" 1128]
[clojure.core$dec invoke "core.clj" 1123]
[clojure.lang.AFn applyToHelper "AFn.java" 154]
[clojure.lang.AFn applyTo "AFn.java" 144]
[clojure.core$apply invokeStatic "core.clj" 648]
[clojure.core$update_in invokeStatic "core.clj" 5950]
[clojure.core$update_in doInvoke "core.clj" 5939]
[clojure.lang.RestFn invoke "RestFn.java" 445]
[clojure.lang.AFn applyToHelper "AFn.java" 160]
[clojure.lang.RestFn applyTo "RestFn.java" 132]
[clojure.core$apply invokeStatic "core.clj" 652]
[clojure.core$update_in invokeStatic "core.clj" 5949]
[clojure.core$update_in doInvoke "core.clj" 5939]
[clojure.lang.RestFn invoke "RestFn.java" 445]
[clojure.lang.Atom swap "Atom.java" 65]
[clojure.core$swap_BANG_ invokeStatic "core.clj" 2262]
[clojure.core$swap_BANG_ invoke "core.clj" 2253]
[game.core$continue invokeStatic "core-actions.clj" 361]
[game.core$continue invoke "core-actions.clj" 349]
[game.main$handle_do invokeStatic "main.clj" 75]
[game.main$handle_do invoke "main.clj" 72]
[game.main$handle_command invokeStatic "main.clj" 148]
[game.main$handle_command invoke "main.clj" 137]
[game.main$run$fn__24694 invoke "main.clj" 183]
[game.main$run invokeStatic "main.clj" 173]
[game.main$run invoke "main.clj" 167]
[game.main$_main$fn__24729 invoke "main.clj" 237]
[clojure.lang.AFn run "AFn.java" 22]
[java.lang.Thread run "Thread.java" 745]]}
Think this is another issue related to lag / delayed commands.
Was unable to reproduce locally.
Let's just close these until #468 is resolved (if ever).