Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Non-standard token 'NaN' #5

Open
xlfe opened this issue May 10, 2022 · 0 comments
Open

"Non-standard token 'NaN' #5

xlfe opened this issue May 10, 2022 · 0 comments

Comments

@xlfe
Copy link
Owner

xlfe commented May 10, 2022

Cannot read JSON:  "{\"service-name\": \"powermon\", \"state\": [\"2942491771\", NaN]}"
#error {
 :cause "Non-standard token 'NaN': enable JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS to allow\n at [Source: (StringReader); line: 1, column: 57]"
 :via
 [{:type com.fasterxml.jackson.core.JsonParseException
   :message "Non-standard token 'NaN': enable JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS to allow\n at [Source: (StringReader); line: 1, column: 57]"
   :at [com.fasterxml.jackson.core.JsonParser _constructError "JsonParser.java" 2337]}]
 :trace
 [[com.fasterxml.jackson.core.JsonParser _constructError "JsonParser.java" 2337]
  [com.fasterxml.jackson.core.base.ParserMinimalBase _reportError "ParserMinimalBase.java" 710]
  [com.fasterxml.jackson.core.json.ReaderBasedJsonParser _handleOddValue "ReaderBasedJsonParser.java" 1930]
  [com.fasterxml.jackson.core.json.ReaderBasedJsonParser nextToken "ReaderBasedJsonParser.java" 781]
  [cheshire.parse$parse_STAR_ invokeStatic "parse.clj" 66]
  [cheshire.parse$parse_STAR_ invoke "parse.clj" 63]
  [cheshire.parse$parse_STAR_ invokeStatic "parse.clj" 65]
  [cheshire.parse$parse_strict invokeStatic "parse.clj" 83]
  [cheshire.core$parse_string_strict invokeStatic "core.clj" 229]
  [cheshire.core$parse_string_strict invoke "core.clj" 215]
  [cheshire.core$parse_string_strict invokeStatic "core.clj" 225]
  [babashka.pods.impl$processor$fn__31428 invoke "impl.clj" 153]
  [babashka.pods.impl$processor invokeStatic "impl.clj" 176]
  [babashka.pods.sci$load_pod$fn__31579 invoke "sci.clj" 72]
  [sci.impl.vars$binding_conveyor_fn$fn__382 invoke "vars.cljc" 154]
  [clojure.core$binding_conveyor_fn$fn__5823 invoke "core.clj" 2047]
  [clojure.lang.AFn call "AFn.java" 18]
  [java.util.concurrent.FutureTask run "FutureTask.java" 264]
  [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1128]
  [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 628]
  [java.lang.Thread run "Thread.java" 829]
  [com.oracle.svm.core.thread.JavaThreads threadStartRoutine "JavaThreads.java" 597]
  [com.oracle.svm.core.posix.thread.PosixJavaThreads pthreadStartRoutine "PosixJavaThreads.java" 194]]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant