netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Snitch / Corp run continue conflict

Open Chemscribbler opened this issue 10 years ago • 2 comments

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]]}

Chemscribbler avatar Sep 23 '16 16:09 Chemscribbler

Think this is another issue related to lag / delayed commands.

Was unable to reproduce locally.

Saintis avatar Sep 24 '16 11:09 Saintis

Let's just close these until #468 is resolved (if ever).

JoelCFC25 avatar Jan 14 '17 14:01 JoelCFC25