Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ritz-nrepl exception starting vm
[oich@nekobasu ~/projects/clojure-test]$ lein ritz-nrepl
Warning: profile :jpda not found.
launch-vm /home/oich/projects/clojure-test/test:/home/oich/projects/clojure-test/src:/home/oich/projects/clojure-test/dev-resources:/home/oich/projects/clojure-test/resources:/home/oich/projects/clojure-test/target/classes:/home/oich/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar:/home/oich/.m2/repository/ritz/ritz-repl-utils/0.4.0-SNAPSHOT/ritz-repl-utils-0.4.0-SNAPSHOT.jar:/home/oich/.m2/repository/ritz/ritz-debugger/0.4.0-SNAPSHOT/ritz-debugger-0.4.0-SNAPSHOT.jar:/home/oich/.m2/repository/org/clojure/tools.nrepl/0.2.0-beta9/tools.nrepl-0.2.0-beta9.jar:/home/oich/.m2/repository/ritz/ritz-nrepl/0.4.0-SNAPSHOT/ritz-nrepl-0.4.0-SNAPSHOT.jar
@(clojure.core/promise)
jdi/launch (do (clojure.core/let [thread__1486__auto__ (java.lang.Thread. (clojure.core/fn [] (java.lang.Thread/sleep 1000) (throw (java.lang.Exception. (clojure.core/str (quote JDI-VM-Control-Thread))))))] (.setName thread__1486__auto__ (clojure.core/str (quote JDI-VM-Control-Thread))) (.setDaemon thread__1486__auto__ false) (.start thread__1486__auto__) nil) (clojure.core/deref (clojure.core/promise)))
Exception in thread "main" com.sun.jdi.connect.VMStartException: VM initialization failed for: /opt/jdk1.7.0_04/jre/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=75-101-18-42.dsl.static.sonic.net:38886,suspend=y -cp /home/oich/projects/clojure-test/test:/home/oich/projects/clojure-test/src:/home/oich/projects/clojure-test/dev-resources:/home/oich/projects/clojure-test/resources:/home/oich/projects/clojure-test/target/classes:/home/oich/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar:/home/oich/.m2/repository/ritz/ritz-repl-utils/0.4.0-SNAPSHOT/ritz-repl-utils-0.4.0-SNAPSHOT.jar:/home/oich/.m2/repository/ritz/ritz-debugger/0.4.0-SNAPSHOT/ritz-debugger-0.4.0-SNAPSHOT.jar:/home/oich/.m2/repository/org/clojure/tools.nrepl/0.2.0-beta9/tools.nrepl-0.2.0-beta9.jar:/home/oich/.m2/repository/ritz/ritz-nrepl/0.4.0-SNAPSHOT/ritz-nrepl-0.4.0-SNAPSHOT.jar clojure.main -e (do (clojure.core/let [thread__1486__auto__ (java.lang.Thread. (clojure.core/fn [] (java.lang.Thread/sleep 1000) (throw (java.lang.Exception. (clojure.core/str (quote JDI-VM-Control-Thread))))))] (.setName thread__1486__auto__ (clojure.core/str (quote JDI-VM-Control-Thread))) (.setDaemon thread__1486__auto__ false) (.start thread__1486__auto__) nil) (clojure.core/deref (clojure.core/promise)))
at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:192)
at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
at ritz.jpda.jdi$launch.invoke(jdi.clj:78)
at ritz.jpda.jdi_vm$launch_vm.doInvoke(jdi_vm.clj:199)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at ritz.nrepl$start_jpda_server.invoke(nrepl.clj:241)
at user$eval2687.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:6511)
at clojure.lang.Compiler.eval(Compiler.java:6501)
at clojure.lang.Compiler.eval(Compiler.java:6501)
at clojure.lang.Compiler.eval(Compiler.java:6477)
at clojure.core$eval.invoke(core.clj:2797)
at clojure.main$eval_opt.invoke(main.clj:297)
at clojure.main$initialize.invoke(main.clj:316)
at clojure.main$null_opt.invoke(main.clj:349)
at clojure.main$main.doInvoke(main.clj:427)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:419)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.