This error is much better in Clojure 1.5.0-beta1. #<IllegalArgumentException java.lang.IllegalArgumentException: Parameter declaration wh should be a vector>
Thanks, Ambrose On Tue, Oct 30, 2012 at 12:26 AM, larry google groups < [email protected]> wrote: > > Since we're wild mass guessing, I'd say from that stack trace that > there's > > > invalid syntax in a defn's signature somewhere. > > > Good guess! A copy and paste error left 2 extra letters: > > > (defn is-user-valid? wh [request] > > > That "wh" was tough to find. > > > > > > > > On Thursday, October 25, 2012 3:05:25 PM UTC-4, Philip Potter wrote: > >> Since we're wild mass guessing, I'd say from that stack trace that >> there's invalid syntax in a defn's signature somewhere. >> >> I'm basing this on the references to clojure.core$defn and >> clojure.core$sigs shortly above compile and macroexpand. >> >> Phil >> On Oct 25, 2012 7:36 PM, "larry google groups" <[email protected]> >> wrote: >> >>> >>> I am finding the following stack trace unusually devoid of information. >>> My app is Clojure 1.3. I run "lein compile" and I get the following stack >>> trace. Am I blind, or does this stack trace fail to tell me what line I >>> should look at? >>> >>> >>> >>> lein compile >>> Compiling who-is-logged-in.core >>> Exception in thread "main" java.lang.**IllegalArgumentException: Don't >>> know how to create ISeq from: clojure.lang.Symbol >>> at clojure.lang.RT.seqFrom(RT.**java:487) >>> at clojure.lang.RT.seq(RT.java:**468) >>> at clojure.lang.RT.first(RT.java:**560) >>> at clojure.core$first.invoke(**core.clj:55) >>> at clojure.core$map$fn__3811.**invoke(core.clj:2432) >>> at clojure.lang.LazySeq.sval(**LazySeq.java:42) >>> at clojure.lang.LazySeq.seq(**LazySeq.java:60) >>> at clojure.lang.RT.seq(RT.java:**466) >>> at clojure.core$seq.invoke(core.**clj:133) >>> at clojure.core$filter$fn__3830.**invoke(core.clj:2468) >>> at clojure.lang.LazySeq.sval(**LazySeq.java:42) >>> at clojure.lang.LazySeq.seq(**LazySeq.java:60) >>> at clojure.lang.RT.seq(RT.java:**466) >>> at clojure.core$seq.invoke(core.**clj:133) >>> at clojure.core$assert_valid_**fdecl.invoke(core.clj:6464) >>> at clojure.core$sigs.invoke(core.**clj:220) >>> at clojure.core$defn.doInvoke(**core.clj:293) >>> at clojure.lang.RestFn.invoke(**RestFn.java:525) >>> at clojure.lang.Var.invoke(Var.**java:421) >>> at clojure.lang.AFn.**applyToHelper(AFn.java:185) >>> at clojure.lang.Var.applyTo(Var.**java:518) >>> at clojure.lang.Compiler.**macroexpand1(Compiler.java:**6320) >>> at clojure.lang.Compiler.**macroexpand(Compiler.java:**6381) >>> at clojure.lang.Compiler.**compile1(Compiler.java:6970) >>> at clojure.lang.Compiler.compile(**Compiler.java:7046) >>> at clojure.lang.RT.compile(RT.**java:385) >>> at clojure.lang.RT.load(RT.java:**425) >>> at clojure.lang.RT.load(RT.java:**398) >>> at clojure.core$load$fn__4610.**invoke(core.clj:5386) >>> at clojure.core$load.doInvoke(**core.clj:5385) >>> at clojure.lang.RestFn.invoke(**RestFn.java:408) >>> at clojure.core$load_one.invoke(**core.clj:5200) >>> at clojure.core$compile$fn__4615.**invoke(core.clj:5397) >>> at clojure.core$compile.invoke(**core.clj:5396) >>> at user$eval27.invoke(NO_SOURCE_**FILE:1) >>> at clojure.lang.Compiler.eval(**Compiler.java:6465) >>> at clojure.lang.Compiler.eval(**Compiler.java:6455) >>> at clojure.lang.Compiler.eval(**Compiler.java:6431) >>> at clojure.core$eval.invoke(core.**clj:2795) >>> at clojure.main$eval_opt.invoke(**main.clj:296) >>> at clojure.main$initialize.**invoke(main.clj:315) >>> at clojure.main$null_opt.invoke(**main.clj:348) >>> at clojure.main$main.doInvoke(**main.clj:426) >>> at clojure.lang.RestFn.invoke(**RestFn.java:421) >>> at clojure.lang.Var.invoke(Var.**java:405) >>> at clojure.lang.AFn.**applyToHelper(AFn.java:163) >>> at clojure.lang.Var.applyTo(Var.**java:518) >>> at clojure.main.main(main.java:**37) >>> Compilation failed. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to [email protected] >>> >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@**googlegroups.com >>> >>> For more options, visit this group at >>> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en> >>> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
