{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/923","labels_url":"https://api.github.com/repos/ensime/ensime-server/issues/923/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-server/issues/923/comments","events_url":"https://api.github.com/repos/ensime/ensime-server/issues/923/events","html_url":"https://github.com/ensime/ensime-server/issues/923","id":65752936,"number":923,"title":"enisme-emacs hangs on (Analyzing)","user":{"login":"isomarcte","id":6734045,"avatar_url":"https://avatars.githubusercontent.com/u/6734045?v=3","gravatar_id":"","url":"https://api.github.com/users/isomarcte","html_url":"https://github.com/isomarcte","followers_url":"https://api.github.com/users/isomarcte/followers","following_url":"https://api.github.com/users/isomarcte/following{/other_user}","gists_url":"https://api.github.com/users/isomarcte/gists{/gist_id}","starred_url":"https://api.github.com/users/isomarcte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isomarcte/subscriptions","organizations_url":"https://api.github.com/users/isomarcte/orgs","repos_url":"https://api.github.com/users/isomarcte/repos","events_url":"https://api.github.com/users/isomarcte/events{/privacy}","received_events_url":"https://api.github.com/users/isomarcte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-01T18:45:56Z","updated_at":"2015-04-01T20:44:02Z","closed_at":null,"body":"As of this week, when I start ensime for any project from emacs it always hangs on the (Analyzing) step.\r\n\r\nThings I have tried (after a while I was just reaching in the dark),\r\n* Completely reinstall emacs plugin\r\n* Blow away all ensime folders in /tmp\r\n* Blow away .ensime* files from the project, regenerate with `sbt gen-ensime`\r\n* Install slightly older version of `ensime-emacs`\r\n* Blow away everything in .emacs.d/ and rebuild from scratch\r\n* Tried on a bunch of different projects, including just a simple helloworld\r\n* Blow away all target folders in `~/.sbt/0.13` where the sbt plugin is installed.\r\n* Blow away `~/.ivy2`\r\n* Blow away `target`, `project/target`, `project/project` on the project.\r\n\r\nI can also confirm that a coworker also using ensime-emacs had the same issue start today.\r\n\r\nHere is the output from my ensime buffer\r\n\r\nSome parts of the ensime *do* work. For instance, if I ask it to type check the entire project, I get the correct (I think) results back, and I see new output in the ensime buffer. Really basic, and important, things like completion are completely broken.\r\n\r\n`*inferior-ensime-server-helloworld*`:\r\n````\r\nOpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0\r\n12:33:53.464 [default-akka.actor.default-dispatcher-4] INFO  akka.event.slf4j.Slf4jLogger - Slf4jLogger started\r\n12:33:53.472 [main] INFO  org.ensime.server.Server - ENSIME Server on 127.0.0.1:46308\r\n12:33:53.473 [main] INFO  org.ensime.server.Server - Environment:\r\n  OS : Linux\r\n  Java : OpenJDK 64-Bit Server VM 25.40-b23, OpenJDK Runtime Environment 1.8.0_40-b20\r\n  Scala : version 2.11.6\r\n  Ensime : 0.9.10-SNAPSHOT\r\n12:33:53.473 [main] INFO  org.ensime.server.Server - creating portfile /home/foo/git/helloWorld/.ensime_cache/port\r\n12:33:53.478 [default-akka.actor.default-dispatcher-2] DEBUG org.ensime.core.Project$ProjectActor - started (org.ensime.core.Project$ProjectActor@555a1e70)\r\n12:33:53.489 [main] INFO  o.a.c.v.i.StandardFileSystemManager - Using \"/tmp/vfs_cache\" as temporary files store.\r\n12:33:54.043 [main] INFO  org.ensime.indexer.ClassfileWatcher - Setting up new file watchers\r\n12:33:54.189 [main] WARN  com.jolbox.bonecp.BoneCPConfig - JDBC username was not set in config!\r\n12:33:54.189 [main] WARN  com.jolbox.bonecp.BoneCPConfig - JDBC password was not set in config!\r\n12:33:54.355 [main] INFO  org.ensime.indexer.SearchService - removing 0 stale files from the index\r\n12:33:54.373 [default-akka.actor.default-dispatcher-4] DEBUG org.ensime.core.Indexer - started (org.ensime.core.Indexer@330f0c7e)\r\n12:33:54.396 [default-akka.actor.default-dispatcher-5] DEBUG org.ensime.core.DocServer - Spent 17ms scanning 5 doc jars.\r\n12:33:54.460 [ForkJoinPool-2-worker-5] DEBUG org.ensime.indexer.SearchService - committing index to disk...\r\n12:33:54.460 [ForkJoinPool-2-worker-5] DEBUG org.ensime.indexer.SearchService - ...done committing index\r\n12:33:54.465 [ForkJoinPool-2-worker-7] DEBUG org.ensime.core.Project - indexed 0 and removed 0\r\n12:33:54.549 [default-akka.actor.default-dispatcher-6] INFO  org.ensime.core.Analyzer - Presentation Compiler settings:\r\nSettings {\r\n  -verbose = false\r\n  -d = .\r\n  -Ypresentation-debug = false\r\n  -Ypresentation-verbose = false\r\n  -bootclasspath = /home/foo/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.6.jar\r\n  -classpath = /home/foo/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.6.jar:/home/foo/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.2.jar:/home/foo/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-2.2.1.jar:/home/foo/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.2.jar:/home/foo/git/helloWorld/target/scala-2.11/test-classes:/home/foo/git/helloWorld/target/scala-2.11/classes\r\n  -usejavacp = false\r\n}\r\n\r\n12:33:54.561 [default-akka.actor.default-dispatcher-5] DEBUG org.ensime.core.DocServer - started (org.ensime.core.DocServer@57fba85d)\r\n12:33:54.845 [default-akka.actor.default-dispatcher-6] DEBUG org.ensime.core.DocServer - now watched by Actor[akka://default/user/IO-HTTP/listener-0#826223711]\r\n12:33:54.912 [default-akka.actor.default-dispatcher-5] INFO  spray.can.server.HttpListener - Bound to localhost/127.0.0.1:0\r\n12:33:54.913 [default-akka.actor.default-dispatcher-6] DEBUG org.ensime.core.DocServer - DocServer listening at /127.0.0.1:55644\r\n12:33:55.256 [default-akka.actor.default-dispatcher-2] DEBUG org.ensime.core.Analyzer - started (org.ensime.core.Analyzer@9946eb6)\r\n12:33:55.270 [default-akka.actor.default-dispatcher-4] DEBUG org.ensime.core.Analyzer - Analyzer ready in 0.014 seconds.\r\n12:33:58.907 [Thread-9] INFO  org.ensime.server.Server - Got connection, creating handler...\r\n12:33:58.919 [default-akka.actor.default-dispatcher-7] DEBUG org.ensime.server.SocketHandler - started (org.ensime.server.SocketHandler@1c47b26c)\r\n12:33:58.939 [default-akka.actor.default-dispatcher-7] INFO  o.e.s.protocol.swank.SwankProtocol - Received msg: (:swank-rpc (swank:connection-info) 1)\r\n12:33:59.003 [default-akka.actor.default-dispatcher-7] INFO  o.e.s.protocol.swank.SwankProtocol - Writing: (:return (:ok (:pid nil :implementation (:name \"ENSIME\") :version \"0.8.14\")) 1)\r\n12:33:59.005 [default-akka.actor.default-dispatcher-7] INFO  o.e.s.protocol.swank.SwankProtocol - Received msg: (:swank-rpc (swank:init-project) 2)\r\n12:33:59.006 [default-akka.actor.default-dispatcher-7] INFO  o.e.s.protocol.swank.SwankProtocol - Writing: (:return (:ok t) 2)\r\n12:33:59.010 [default-akka.actor.default-dispatcher-9] INFO  o.e.s.protocol.swank.SwankProtocol - Writing: (:background-message 105 \"Initializing Analyzer. Please wait...\")\r\n12:33:59.011 [default-akka.actor.default-dispatcher-9] INFO  o.e.s.protocol.swank.SwankProtocol - Writing: (:full-typecheck-finished)\r\n````\r\n\r\nFor completeness,\r\n\r\n`.ensime`:\r\n````\r\n(\r\n :root-dir \"/home/foo/git/helloWorld\"\r\n :cache-dir \"/home/foo/git/helloWorld/.ensime_cache\"\r\n :name \"helloworld\"\r\n :java-home \"/usr/lib/jvm/java-8-openjdk\"\r\n :java-flags (\"-Xms512M\" \"-Xmx1536M\" \"-Xss1M\" \"-XX:+CMSClassUnloadingEnabled\" \"-XX:MaxPermSize=256M\")\r\n :reference-source-roots (\"/usr/lib/jvm/java-8-openjdk/src.zip\")\r\n :scala-version \"2.11.6\"\r\n :compiler-args nil\r\n \r\n :subprojects ((\r\n   :name \"helloworld\"\r\n   :module-name \"helloworld\"\r\n   :source-roots (\"/home/foo/git/helloWorld/src/main/scala-2.11\" \"/home/foo/git/helloWorld/src/test/scala\" \"/home/foo/git/helloWorld/src/test/scala-2.11\" \"/home/foo/git/helloWorld/src/main/scala\" \"/home/foo/git/helloWorld/src/test/java\" \"/home/foo/git/helloWorld/src/main/java\")\r\n   :target \"/home/foo/git/helloWorld/target/scala-2.11/classes\"\r\n   :test-targets (\"/home/foo/git/helloWorld/target/scala-2.11/test-classes\")\r\n   :depends-on-modules nil\r\n   :compile-deps (\"/home/foo/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.6.jar\")\r\n   :runtime-deps nil\r\n   :test-deps (\"/home/foo/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-2.2.1.jar\" \"/home/foo/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.2.jar\" \"/home/foo/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.2.jar\")\r\n   :doc-jars (\"/home/foo/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/docs/scala-xml_2.11-1.0.2-javadoc.jar\" \"/home/foo/.ivy2/cache/org.scalatest/scalatest_2.11/docs/scalatest_2.11-2.2.1-javadoc.jar\" \"/home/foo/.ivy2/cache/org.scala-lang/scala-reflect/docs/scala-reflect-2.11.2-javadoc.jar\" \"/home/foo/git/helloWorld/target/scala-2.11/hello-world_2.11-0.0.1-javadoc.jar\" \"/home/foo/.ivy2/cache/org.scala-lang/scala-library/docs/scala-library-2.11.6-javadoc.jar\")\r\n   :reference-source-roots (\"/home/foo/.ivy2/cache/org.scala-lang/scala-library/srcs/scala-library-2.11.6-sources.jar\" \"/home/foo/.ivy2/cache/org.scalatest/scalatest_2.11/srcs/scalatest_2.11-2.2.1-sources.jar\" \"/home/foo/.ivy2/cache/org.scala-lang/scala-reflect/srcs/scala-reflect-2.11.2-sources.jar\" \"/home/foo/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/srcs/scala-xml_2.11-1.0.2-sources.jar\")))\r\n \r\n)\r\n````\r\n\r\nThanks for the help!\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10327585-enisme-emacs-hangs-on-analyzing?utm_campaign=plugin&utm_content=tracker%2F239449&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F239449&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/comments/88626173","html_url":"https://github.com/ensime/ensime-server/issues/923#issuecomment-88626173","issue_url":"https://api.github.com/repos/ensime/ensime-server/issues/923","id":88626173,"user":{"login":"rorygraves","id":2352078,"avatar_url":"https://avatars.githubusercontent.com/u/2352078?v=3","gravatar_id":"","url":"https://api.github.com/users/rorygraves","html_url":"https://github.com/rorygraves","followers_url":"https://api.github.com/users/rorygraves/followers","following_url":"https://api.github.com/users/rorygraves/following{/other_user}","gists_url":"https://api.github.com/users/rorygraves/gists{/gist_id}","starred_url":"https://api.github.com/users/rorygraves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorygraves/subscriptions","organizations_url":"https://api.github.com/users/rorygraves/orgs","repos_url":"https://api.github.com/users/rorygraves/repos","events_url":"https://api.github.com/users/rorygraves/events{/privacy}","received_events_url":"https://api.github.com/users/rorygraves/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T20:44:02Z","updated_at":"2015-04-01T20:44:02Z","body":"@isomarcte Whoops.   I think this may well be my fault.  Because its a tiny project the analyser is completing immediately and the event is being lost.  Normally with a bigger project the analyser takes long enough to initialise that the client is subscribed and all is good."}}