I am starting with Clojure (slowly) & I 'd like to make an application using graph db.So I found Titanium .
I just started to use this library but can't figure why it does not work.Before going deeper with details of my problems , I 'd like to have
your point of view regarding Titanium & the Clojure Gremlin wrapping.I am found of Gremlin & if the project is usable I would be happy to use it.
Regarding my problem I am following official docs but every tg/open calls fails with a NPE . StackTrace is not very useful (for me):
graph.clj: 16 weather-app.graph/setup-graph-db!
REPL: 1 weather-app.logging/eval5217
Compiler.java: 6703 clojure.lang.Compiler/eval
Compiler.java: 6666 clojure.lang.Compiler/eval
core.clj: 2927 clojure.core/eval
main.clj: 239 clojure.main/repl/read-eval-print/fn
main.clj: 239 clojure.main/repl/read-eval-print
main.clj: 257 clojure.main/repl/fn
main.clj: 257 clojure.main/repl
RestFn.java: 1096 clojure.lang.RestFn/invoke
interruptible_eval.clj: 56 clojure.tools.nrepl.middleware.interruptible-eval/evaluate/fn
AFn.java: 152 clojure.lang.AFn/applyToHelper
AFn.java: 144 clojure.lang.AFn/applyTo
core.clj: 624 clojure.core/apply
core.clj: 1862 clojure.core/with-bindings*
RestFn.java: 425 clojure.lang.RestFn/invoke
interruptible_eval.clj: 41 clojure.tools.nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 171 clojure.tools.nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
core.clj: 2402 clojure.core/comp/fn
interruptible_eval.clj: 138 clojure.tools.nrepl.middleware.interruptible-eval/run-next/fn
AFn.java: 22 clojure.lang.AFn/run
ThreadPoolExecutor.java: 1145 java.util.concurrent.ThreadPoolExecutor/runWorker
ThreadPoolExecutor.java: 615 java.util.concurrent.ThreadPoolExecutor$Worker/run
Thread.java: 745 java.lang.Thread/run
The first line is in my code & is the tg/open call. I have tried with a simple in memory back end & with a Oracle Berkeley Db but same result.
This is the perfect place to add another question: do you use debian machines ? If yes , are you using the Berkeley db packages or do you install the recent Oraacle distributions?
I've configured & compiled the latest Oracle version but I may have made one error ?
I am using Clojure 1.6.0 with JDK 1.7.0.65 on Debian Wheezy up to date (64 bits version) . For development I am using Emaacs Prelude with latest Cider package.