What are NormalizeArray and TemporaryWindow? Java classes, deftypes, defrecords? What does the source look like for those?
On Wed, May 16, 2012 at 1:41 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote: > No I have a minimal setup with gedit + emebedded terminal for editing > files and a differrent terminal open for testing individual functions...and > of course i use 'lein new' and load-file to load my namespaces in. > > Jim > > > > On 16/05/12 18:38, David Nolen wrote: > > But *how* are you using leiningen2 to test this? With swank & Emacs? > > On Wed, May 16, 2012 at 1:35 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote: > >> Well, suspect or not that is what is happening under leiningen2...in all >> fairness this rarely happens - ususally the errors originate from my code >> and sometimes for really "complicated" stuff i have big stack traces...this >> particular example is very straight forward, all the functions have been >> individually tested and there is practically no nesting (a function calls >> another and that is it!) - that is why it seems so strange and that is why >> i resorted here...Believe me very rarely is spend 2-3 hours on an error and >> incidently it happens mainly when I'm using java interop extensively... >> >> Jim >> >> >> >> On 16/05/12 18:28, David Nolen wrote: >> >> clojure.lang.Numbers.doubles_array takes a Number or ISeq. >> >> The fact that you're not getting precise line numbers for the error in >> your own source is suspect. How are you compiling and testing your code? >> >> David >> >> On Wed, May 16, 2012 at 1:18 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote: >> >>> But it is already a double array, or at least it should be because that >>> is what normalize returns...Why start copying into a new array? >>> >>> anyway, I tried it and i get this instead: >>> >>> ClassCastException [D cannot be cast to java.lang.Number >>> clojure.lang.Numbers.double_array (Numbers.java:1068) >>> >>> I don't even know where that comes from!!! any ideas? >>> >>> Jim >>> >>> >>> On 16/05/12 18:10, Michał Marczyk wrote: >>> >>>> You probably want to use double-array rather than doubles. The former >>>> creates an array, the latter is a cast. >>>> >>>> Cheers, >>>> Michał >>>> >>>> >>>> On 16 May 2012 19:04, Jim - FooBar();<jimpil1...@gmail.com> wrote: >>>> >>>>> This is the only error I'm getting - there is no stack trace or at >>>>> least i >>>>> can not see it...I'm inside leiningen 2 preview 4... I can however >>>>> provide 2 >>>>> screenshots confirming what is happening. >>>>> >>>>> Thanks a lot for your time btw... >>>>> >>>>> Jim >>>>> >>>>> ps: function.png shows the function thatis being returned by make-data >>>>> when >>>>> passed the key :temporal-window. >>>>> >>>>> >>>>> >>>>> On 16/05/12 17:58, Walter Tetzner wrote: >>>>> >>>>> On Wednesday, May 16, 2012 12:51:15 PM UTC-4, Jim foo.bar wrote: >>>>> >>>>>> I guess what I'm asking is at which point does the array become an >>>>>> ArraySeq and why casting it back to a double array with 'doubles' >>>>>> doesn't >>>>>> work? >>>>>> >>>>> >>>>> Can you post the whole stack trace? >>>>> >>>>> -Walter >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Clojure" group. >>>>> To post to this group, send email to clojure@googlegroups.com >>>>> Note that posts from new members are moderated - please be patient >>>>> with your >>>>> first post. >>>>> To unsubscribe from this group, send email to >>>>> clojure+unsubscr...@googlegroups.com >>>>> 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 clojure@googlegroups.com >>>>> Note that posts from new members are moderated - please be patient >>>>> with your >>>>> first post. >>>>> To unsubscribe from this group, send email to >>>>> clojure+unsubscr...@googlegroups.com >>>>> 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 clojure@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+unsubscr...@googlegroups.com >>> 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 clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> 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 clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> 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 clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > 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 clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > 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 clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en