java.lang.IllegalArgumentException

Call to clojure.core/ns did not conform to spec: In: [2] val: ((require [such.vars :as var] [such.immigration :as immigrate]) (require midje.checking.checkers.defining midje.checking.checkers.chatty midje.checking.checkers.simple midje.checking.checkers.combining midje.checking.checkers.collection)) fails at: [:args] predicate: (cat :attr-map (? map?) :clauses :clojure.core.specs/ns-clauses), Extra input :clojure.spec/args (midje.checkers "Checkers are for checking results of checkables, or checking \n that appropriate arguments are passed to prerequisites" (require [such.vars :as var] [such.immigration :as immigrate]) (require midje.checking.checkers.defining midje.checking.checkers.chatty midje.checking.checkers.simple midje.checking.checkers.combining midje.checking.checkers.collection)) , compiling:(midje/checkers.clj:1:1)

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web63

  • via Unknown by Brian Marick,
  • via GitHub by marick
    ,
  • via GitHub by marick
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Call to clojure.core
    • s did not conform to spec: In: [2] val: ((require [such.vars :as var] [such.immigration :as immigrate]) (require midje.checking.checkers.defining midje.checking.checkers.chatty midje.checking.checkers.simple midje.checking.checkers.combining midje.checking.checkers.collection)) fails at: [:args] predicate: (cat :attr-map (? map?) :clauses :clojure.core.specs
    • s-clauses), Extra input :clojure.spec/args (midje.checkers "Checkers are for checking results of checkables, or checking \n that appropriate arguments are passed to prerequisites" (require [such.vars :as var] [such.immigration :as immigrate]) (require midje.checking.checkers.defining midje.checking.checkers.chatty midje.checking.checkers.simple midje.checking.checkers.combining midje.checking.checkers.collection)) , compiling:(midje/checkers.clj:1:1) at clojure.lang.Compiler.macroexpand1(Compiler.java:6795) at clojure.lang.Compiler.macroexpand(Compiler.java:6861) at clojure.lang.Compiler.eval(Compiler.java:6935) at clojure.lang.Compiler.load(Compiler.java:7403) at clojure.lang.RT.loadResourceScript(RT.java:374) at clojure.lang.RT.loadResourceScript(RT.java:365) at clojure.lang.RT.load(RT.java:455) at clojure.lang.RT.load(RT.java:421) at clojure.core$load$fn__7645.invoke(core.clj:6008) at clojure.core$load.invokeStatic(core.clj:6007) at clojure.core$load.doInvoke(core.clj:5991) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invokeStatic(core.clj:5812) at clojure.core$load_one.invoke(core.clj:5807) at clojure.core$load_lib$fn__7590.invoke(core.clj:5852) at clojure.core$load_lib.invokeStatic(core.clj:5851) at clojure.core$load_lib.doInvoke(core.clj:5832) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invokeStatic(core.clj:659) at clojure.core$load_libs.invokeStatic(core.clj:5889) at clojure.core$load_libs.doInvoke(core.clj:5873) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:659) at clojure.core$require.invokeStatic(core.clj:5911) at clojure.core$require.doInvoke(core.clj:5911) at clojure.lang.RestFn.invoke(RestFn.java:512)

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,