netrunner
netrunner copied to clipboard
I'm trying to play targeted marketing and after I entered "Harbinger" and select it, this poped up
Please describe the circumstances of your error here.
Stack Trace:
Error do choice Harbinger #error {
:cause nil
:via
[{:type java.lang.NullPointerException
:message nil
:at [clojure.string$lower_case invokeStatic "string.clj" 217]}]
:trace
[[clojure.string$lower_case invokeStatic "string.clj" 217]
[clojure.string$lower_case invoke "string.clj" 213]
[game.core$resolve_prompt$fn__4447 invoke "actions.clj" 129]
[clojure.core$some invokeStatic "core.clj" 2592]
[clojure.core$some invoke "core.clj" 2583]
[game.core$resolve_prompt invokeStatic "actions.clj" 129]
[game.core$resolve_prompt invoke "actions.clj" 113]
[game.main$handle_do invokeStatic "main.clj" 77]
[game.main$handle_do invoke "main.clj" 74]
[game.main$handle_command invokeStatic "main.clj" 150]
[game.main$handle_command invoke "main.clj" 139]
[game.main$run$fn__25520 invoke "main.clj" 185]
[game.main$run invokeStatic "main.clj" 175]
[game.main$run invoke "main.clj" 169]
[game.main$_main$fn__25555 invoke "main.clj" 239]
[clojure.lang.AFn run "AFn.java" 22]
[java.lang.Thread run "Thread.java" 745]]}
Thanks--this is the same as #2148, but the stack trace will be helpful.
Interesting. The Error do choice Harbinger shows that the value choice in resolve-prompt is not nil on line 129, so the lower-case that is throwing the exception is the second, (lower-case (:title %)), which is looking at the titles of cards in @all-cards... which leads me to believe there may be a card in the database with a nil title. Hmmm.