nth not supported on this type exception setting up Elastisch connection <p>I'm trying to work through the [Elastisch tutorial] to create some test data in an ElasticSearch instance running on a VM.</p> <p>I am running this code:</p> <pre><code>(ns content-rendering.core (:require [clojurewerkz.elastisch.native :as esr] [clojurewerkz.elastisch.native.index :as esi])) (defn populate-test-data [] (let [conn (esr/connect "http://10.10.10.101:9200")] (esi/create conn "test"))) (populate-test-data) </code></pre> <p>And I am seeing the following exception when I try and execute the code in the namespace using either Cider in emacs or from a Leiningen repl:</p> <pre><code>Caused by java.lang.UnsupportedOperationException nth not supported on this type: Character RT.java: 933 clojure.lang.RT/nthFrom RT.java: 883 clojure.lang.RT/nth native.clj: 266 clojurewerkz.elastisch.native/connect core.clj: 7 content-rendering.core/populate-test-data core.clj: 10 content-rendering.core/eval5078 </code></pre> <p>If I require the Elastisch namespaces into a repl and run something like the following, it works fine:</p> <pre><code>(def conn (esr/connect "http://10.10.10.101:9200")) (esi/create conn "test") ; {:acknowledged true} </code></pre> <p>Any ideas what I'm missing here?</p>