Resolved this particular issue. It seems that evaluating the Hugsql core namespace 'overwrote' some multimethods I had defined which were somehow causing the real issue.
On Wednesday, October 25, 2017 at 4:09:02 PM UTC-5, Daniel wrote: > > Apologies for the poor subject header. Link to the Github Issue here. > <https://github.com/layerware/hugsql/issues/74#issuecomment-339373610> > > I'm running this code at the repl (pulse.core is my project ns) > pulse.core=> ((-> db/queries :fns :orders-test :fn) db/*conn*) > > db/queries > is a map defined by HugSQL & *conn* is a database connection. The code is > querying a database using HugSQL. > > > If I run the code normally it will throw a NullPointerException, but if I > first evaluate the HugSQL core namespace (for debugging in Cider) it works > fine. > > I've never seen anything like this before. Does anyone have any ideas > about how to proceed troubleshooting this issue, because right now I am out > of ideas. > > My project.clj (for versions and such)j: > > (defproject pulse "0.1.0-SNAPSHOT" > :description "FIXME: write description" > :url "http://example.com/FIXME" > :license {:name "Eclipse Public License" > :url "http://www.eclipse.org/legal/epl-v10.html"} > :dependencies [[org.clojure/clojure "1.8.0"] > [com.layerware/hugsql "0.4.8"] > [conman "0.6.9" :exclusions [com.layerware/hugsql]] > ;; [net.sourceforge.jtds/jtds "1.3.1"] > [com.microsoft.sqlserver/mssql-jdbc "6.2.2.jre8"] > [mount "0.1.11"] > [clj-time "0.14.0"] > [cprop "0.1.11"] > [camel-snake-kebab "0.4.0"] > [org.clojure/data.xml "0.0.8"] > [org.clojure/data.zip "0.1.2"] > ;; logging > [ch.qos.logback/logback-classic "1.2.3"] > [ch.qos.logback/logback-core "1.2.3"] > [org.clojure/tools.logging "0.4.0"] > [org.slf4j/slf4j-api "1.7.25"]] > :main ^:skip-aot pulse.core > :target-path "target/%s" > :profiles {:uberjar {:aot :all}}) > > > > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.