Closed cldwalker closed 4 years ago
@flyingmachine Heyo. While trying to use alpha-2 and requiring this ns, I came across the following compilation errorstack trace
{:clojure.main/message "Syntax error (ClassNotFoundException) compiling at (reifyhealth/specmonstah/spec_gen.cljc:66:33).\nclojure.data\n", :clojure.main/triage {:clojure.error/phase :compile-syntax-check, :clojure.error/line 66, :clojure.error/column 33, :clojure.error/source "spec_gen.cljc", :clojure.error/path "reifyhealth/specmonstah/spec_gen.cljc", :clojure.error/class java.lang.ClassNotFoundException, :clojure.error/cause "clojure.data"}, :clojure.main/trace {:via [{:type clojure.lang.Compiler$CompilerException, :message "Syntax error compiling at (reifyhealth/specmonstah/spec_gen.cljc:66:33).", :data {:clojure.error/phase :compile-syntax-check, :clojure.error/line 66, :clojure.error/column 33, :clojure.error/source "reifyhealth/specmonstah/spec_gen.cljc"}, :at [clojure.lang.Compiler analyzeSeq "Compiler.java" 7115]} {:type java.lang.ClassNotFoundException, :message "clojure.data", :at [java.net.URLClassLoader findClass "URLClassLoader.java" 382]}], :trace [[java.net.URLClassLoader findClass "URLClassLoader.java" 382] [clojure.lang.DynamicClassLoader findClass "DynamicClassLoader.java" 69] [java.lang.ClassLoader loadClass "ClassLoader.java" 424] [clojure.lang.DynamicClassLoader loadClass "DynamicClassLoader.java" 77] [java.lang.ClassLoader loadClass "ClassLoader.java" 357] [java.lang.Class forName0 "Class.java" -2] [java.lang.Class forName "Class.java" 348] [clojure.lang.RT classForName "RT.java" 2211] [clojure.lang.RT classForNameNonLoading "RT.java" 2224] [clojure.lang.Compiler$HostExpr maybeClass "Compiler.java" 1041] [clojure.lang.Compiler macroexpand1 "Compiler.java" 7045] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7093] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler$InvokeExpr parse "Compiler.java" 3888] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7109] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler$InvokeExpr parse "Compiler.java" 3888] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7109] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler$InvokeExpr parse "Compiler.java" 3888] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7109] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler$InvokeExpr parse "Compiler.java" 3888] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7109] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7095] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler access$300 "Compiler.java" 38] [clojure.lang.Compiler$LetExpr$Parser parse "Compiler.java" 6384] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7107] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7095] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler$BodyExpr$Parser parse "Compiler.java" 6120] [clojure.lang.Compiler$LetExpr$Parser parse "Compiler.java" 6436] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7107] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7095] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler$BodyExpr$Parser parse "Compiler.java" 6120] [clojure.lang.Compiler$FnMethod parse "Compiler.java" 5467] [clojure.lang.Compiler$FnExpr parse "Compiler.java" 4029] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7105] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7095] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler access$300 "Compiler.java" 38] [clojure.lang.Compiler$DefExpr$Parser parse "Compiler.java" 596] [clojure.lang.Compiler analyzeSeq "Compiler.java" 7107] [clojure.lang.Compiler analyze "Compiler.java" 6789] [clojure.lang.Compiler analyze "Compiler.java" 6745] [clojure.lang.Compiler eval "Compiler.java" 7181] [clojure.lang.Compiler load "Compiler.java" 7636] [clojure.lang.RT loadResourceScript "RT.java" 381] [clojure.lang.RT loadResourceScript "RT.java" 372] [clojure.lang.RT load "RT.java" 459] [clojure.lang.RT load "RT.java" 424] [clojure.core$load$fn__6839 invoke "core.clj" 6126] [clojure.core$load invokeStatic "core.clj" 6125] [clojure.core$load doInvoke "core.clj" 6109] [clojure.lang.RestFn invoke "RestFn.java" 408] [clojure.core$load_one invokeStatic "core.clj" 5908] [clojure.core$load_one invoke "core.clj" 5903] [clojure.core$load_lib$fn__6780 invoke "core.clj" 5948] [clojure.core$load_lib invokeStatic "core.clj" 5947] [clojure.core$load_lib doInvoke "core.clj" 5928] [clojure.lang.RestFn applyTo "RestFn.java" 142] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$load_libs invokeStatic "core.clj" 5985] [clojure.core$load_libs doInvoke "core.clj" 5969] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$require invokeStatic "core.clj" 6007] [clojure.core$require doInvoke "core.clj" 6007] [clojure.lang.RestFn invoke "RestFn.java" 3894] [bengal_sponsor.test.gen_data_2$eval37394$loading__6721__auto____37395 invoke "gen_data_2.clj" 1] [bengal_sponsor.test.gen_data_2$eval37394 invokeStatic "gen_data_2.clj" 1] [bengal_sponsor.test.gen_data_2$eval37394 invoke "gen_data_2.clj" 1] [clojure.lang.Compiler eval "Compiler.java" 7177] [clojure.lang.Compiler eval "Compiler.java" 7166] [clojure.lang.Compiler load "Compiler.java" 7636] [clojure.lang.RT loadResourceScript "RT.java" 381] [clojure.lang.RT loadResourceScript "RT.java" 372] [clojure.lang.RT load "RT.java" 459] [clojure.lang.RT load "RT.java" 424] [clojure.core$load$fn__6839 invoke "core.clj" 6126] [clojure.core$load invokeStatic "core.clj" 6125] [clojure.core$load doInvoke "core.clj" 6109] [clojure.lang.RestFn invoke "RestFn.java" 408] [clojure.core$load_one invokeStatic "core.clj" 5908] [clojure.core$load_one invoke "core.clj" 5903] [clojure.core$load_lib$fn__6780 invoke "core.clj" 5948] [clojure.core$load_lib invokeStatic "core.clj" 5947] [clojure.core$load_lib doInvoke "core.clj" 5928] [clojure.lang.RestFn applyTo "RestFn.java" 142] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$load_libs invokeStatic "core.clj" 5985] [clojure.core$load_libs doInvoke "core.clj" 5969] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$require invokeStatic "core.clj" 6007] [clojure.core$require doInvoke "core.clj" 6007] [clojure.lang.RestFn invoke "RestFn.java" 3894] [bengal_sponsor.api.admin.table_test$eval37388$loading__6721__auto____37389 invoke "table_test.clj" 1] [bengal_sponsor.api.admin.table_test$eval37388 invokeStatic "table_test.clj" 1] [bengal_sponsor.api.admin.table_test$eval37388 invoke "table_test.clj" 1] [clojure.lang.Compiler eval "Compiler.java" 7177] [clojure.lang.Compiler eval "Compiler.java" 7166] [clojure.lang.Compiler load "Compiler.java" 7636] [clojure.lang.RT loadResourceScript "RT.java" 381] [clojure.lang.RT loadResourceScript "RT.java" 372] [clojure.lang.RT load "RT.java" 459] [clojure.lang.RT load "RT.java" 424] [clojure.core$load$fn__6839 invoke "core.clj" 6126] [clojure.core$load invokeStatic "core.clj" 6125] [clojure.core$load doInvoke "core.clj" 6109] [clojure.lang.RestFn invoke "RestFn.java" 408] [clojure.core$load_one invokeStatic "core.clj" 5908] [clojure.core$load_one invoke "core.clj" 5903] [clojure.core$load_lib$fn__6780 invoke "core.clj" 5948] [clojure.core$load_lib invokeStatic "core.clj" 5947] [clojure.core$load_lib doInvoke "core.clj" 5928] [clojure.lang.RestFn applyTo "RestFn.java" 142] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$load_libs invokeStatic "core.clj" 5985] [clojure.core$load_libs doInvoke "core.clj" 5969] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$require invokeStatic "core.clj" 6007] [clojure.core$require doInvoke "core.clj" 6007] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$apply invoke "core.clj" 660] [user$eval224 invokeStatic "form-init5901498646260353890.clj" 1] [user$eval224 invoke "form-init5901498646260353890.clj" 1] [clojure.lang.Compiler eval "Compiler.java" 7177] [clojure.lang.Compiler eval "Compiler.java" 7167] [clojure.lang.Compiler load "Compiler.java" 7636] [clojure.lang.Compiler loadFile "Compiler.java" 7574] [clojure.main$load_script invokeStatic "main.clj" 475] [clojure.main$init_opt invokeStatic "main.clj" 477] [clojure.main$init_opt invoke "main.clj" 477] [clojure.main$initialize invokeStatic "main.clj" 508] [clojure.main$null_opt invokeStatic "main.clj" 542] [clojure.main$null_opt invoke "main.clj" 539] [clojure.main$main invokeStatic "main.clj" 664] [clojure.main$main doInvoke "main.clj" 616] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.lang.Var applyTo "Var.java" 705] [clojure.main main "main.java" 40]], :cause "clojure.data", :phase :compile-syntax-check}} <details>
My guess is that specmonstah's test suite masked this by requiring clojure.data elsewhere
Good find, thanks!
@flyingmachine Heyo. While trying to use alpha-2 and requiring this ns, I came across the following compilation error
stack trace
My guess is that specmonstah's test suite masked this by requiring clojure.data elsewhere