jonromero / music-as-data

A Live Programming language for music
mad.emotionull.com
BSD 2-Clause "Simplified" License
346 stars 22 forks source link

Could not initialize class music_as_data.elements__init #6

Open denisshepelin opened 13 years ago

denisshepelin commented 13 years ago

It's continuation from previous issue. At least errors changed :) from last commit I'am getting this Backtrace -

0: java.lang.Class.forName0(Native Method) 1: java.lang.Class.forName(Class.java:247) 2: clojure.lang.RT.loadClassForName(RT.java:1578) 3: clojure.lang.RT.load(RT.java:399) 4: clojure.lang.RT.load(RT.java:381) 5: clojure.core$load$fn4511.invoke(core.clj:4905) 6: clojure.core$load.doInvoke(core.clj:4904) 7: clojure.lang.RestFn.invoke(RestFn.java:409) 8: clojure.core$load_one.invoke(core.clj:4729) 9: clojure.core$load_lib.doInvoke(core.clj:4766) 10: clojure.lang.RestFn.applyTo(RestFn.java:143) 11: clojure.core$apply.invoke(core.clj:542) 12: clojure.core$load_libs.doInvoke(core.clj:4800) 13: clojure.lang.RestFn.applyTo(RestFn.java:138) 14: clojure.core$apply.invoke(core.clj:544) 15: clojure.core$use.doInvoke(core.clj:4880) 16: clojure.lang.RestFn.invoke(RestFn.java:513) 17: music_as_data.core$eval1511$loading4410auto__1512.invoke(NO_SOURCE_FILE:1) 18: music_as_data.core$eval1511.invoke(NO_SOURCE_FILE:1) 19: clojure.lang.Compiler.eval(Compiler.java:5424) 20: clojure.lang.Compiler.eval(Compiler.java:5415) 21: clojure.lang.Compiler.eval(Compiler.java:5391) 22: clojure.core$eval.invoke(core.clj:2382) 23: swank.commands.basic$eval_region.invoke(basic.clj:47) 24: swank.commands.basic$eval_region.invoke(basic.clj:37) 25: swank.commands.basic$eval716$interactive_eval_region717.invoke(basic.clj:62) 26: clojure.lang.Var.invoke(Var.java:365) 27: music_as_data.core$eval1507.invoke(NO_SOURCE_FILE) 28: clojure.lang.Compiler.eval(Compiler.java:5424) 29: clojure.lang.Compiler.eval(Compiler.java:5391) 30: clojure.core$eval.invoke(core.clj:2382) 31: swank.core$eval_in_emacs_package.invoke(core.clj:94) 32: swank.core$eval_for_emacs.invoke(core.clj:241) 33: clojure.lang.Var.invoke(Var.java:373) 34: clojure.lang.AFn.applyToHelper(AFn.java:169) 35: clojure.lang.Var.applyTo(Var.java:482) 36: clojure.core$apply.invoke(core.clj:540) 37: swank.core$eval_from_control.invoke(core.clj:101) 38: swank.core$spawn_worker_thread$fn455$fn456.invoke(core.clj:300) 39: clojure.lang.AFn.applyToHelper(AFn.java:159) 40: clojure.lang.AFn.applyTo(AFn.java:151) 41: clojure.core$apply.invoke(core.clj:540) 42: swank.core$spawn_worker_thread$fn455.doInvoke(core.clj:296) 43: clojure.lang.RestFn.invoke(RestFn.java:398) 44: clojure.lang.AFn.run(AFn.java:24) 45: java.lang.Thread.run(Thread.java:662)

jonromero commented 13 years ago

I cannot reproduce the error. Can you run

lein clean lein deps lein swank

and try again?

denisshepelin commented 13 years ago

Made it, errors are the same. Very strange.

jonromero commented 13 years ago

If you try on your repl:

(use 'music-as-data.elements)

do you get an error?

denisshepelin commented 13 years ago

Yes, like before but with this CAUSE-1 Invoke debugger on cause music-as-data.elements.Melement [Thrown class java.lang.ClassNotFoundException]

jonromero commented 13 years ago

That is strange because Melement class is inside music-as-data.elements