java.lang.IllegalArgumentException

Vector arg to map conj must be a pair* * *

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web16748

  • Vector arg to map conj must be a pair
  • via Google Groups by Stefan, 9 months ago
    Vector arg to map conj must be a pair* * *
  • via GitHub by EronWright
    , 1 year ago
    Array must be a vector
  • Stack trace

    • java.lang.IllegalArgumentException: Vector arg to map conj must be a pair* * * at clojure.lang.APersistentMap.cons(APersistentMap.java:34) at clojure.lang.RT.conj(RT.java:551) at clojure.core$conj.invoke(core.clj:83) at clojure.core$merge$fn__4155.invoke(core.clj:2631) at clojure.core$reduce1.invoke(core.clj:880) at clojure.core$reduce1.invoke(core.clj:871) at clojure.core$merge.doInvoke(core.clj:2631) at clojure.lang.RestFn.invoke(RestFn.java:457) at ring.server.leiningen$serve.invoke(leiningen.clj:20) at user$eval1522.invoke(NO_SOURCE_FILE:1) at clojure.lang.Compiler.eval(Compiler.java:6511) at clojure.lang.Compiler.eval(Compiler.java:6501) at clojure.lang.Compiler.eval(Compiler.java:6477) at clojure.core$eval.invoke(core.clj:2797) at clojure.main$eval_opt.invoke(main.clj:297) at clojure.main$initialize.invoke(main.clj:316) at clojure.main$null_opt.invoke(main.clj:349) at clojure.main$main.doInvoke(main.clj:427) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:419) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago