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

Unexpected uniform exception #22

Closed
ashenfad opened this issue Jul 7, 2012 · 0 comments
Closed

Unexpected uniform exception #22

ashenfad opened this issue Jul 7, 2012 · 0 comments
Assignees

Comments

@ashenfad
Copy link
Contributor

ashenfad commented Jul 7, 2012

histogram.core> (uniform (reduce insert! (create) [-0.0 0 1 2]) 5)
No message.
  [Thrown class java.lang.NullPointerException]

Restarts:
 0: [QUIT] Quit to the SLIME top level

Backtrace:
  0:       (Unknown Source) com.bigml.histogram.Histogram.findPointForSum
  1:       (Unknown Source) com.bigml.histogram.Histogram.uniform
  2:           core.clj:186 histogram.core/uniform
  3:       NO_SOURCE_FILE:1 histogram.core/eval48391
  4:     Compiler.java:6511 clojure.lang.Compiler.eval
  5:     Compiler.java:6477 clojure.lang.Compiler.eval
  6:          core.clj:2797 clojure.core/eval
  7:           basic.clj:47 swank.commands.basic/eval-region
  8:           basic.clj:37 swank.commands.basic/eval-region
  9:           basic.clj:71 swank.commands.basic/eval873[fn]
 10:           Var.java:415 clojure.lang.Var.invoke
 11:       (Unknown Source) histogram.core/eval48389
 12:     Compiler.java:6511 clojure.lang.Compiler.eval
 13:     Compiler.java:6477 clojure.lang.Compiler.eval
 14:          core.clj:2797 clojure.core/eval
 15:            core.clj:96 swank.core/eval-in-emacs-package
 16:           core.clj:250 swank.core/eval-for-emacs
 17:           Var.java:423 clojure.lang.Var.invoke
 18:           AFn.java:167 clojure.lang.AFn.applyToHelper
 19:           Var.java:532 clojure.lang.Var.applyTo
 20:           core.clj:601 clojure.core/apply
 21:           core.clj:103 swank.core/eval-from-control
 22:           core.clj:108 swank.core/eval-loop
 23:           core.clj:323 swank.core/spawn-repl-thread[fn]
 24:           AFn.java:159 clojure.lang.AFn.applyToHelper
 25:           AFn.java:151 clojure.lang.AFn.applyTo
 26:           core.clj:601 clojure.core/apply
 27:           core.clj:320 swank.core/spawn-repl-thread[fn]
 28:        RestFn.java:397 clojure.lang.RestFn.invoke
 29:            AFn.java:24 clojure.lang.AFn.run
 30:        Thread.java:680 java.lang.Thread.run
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