{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/873","labels_url":"https://api.github.com/repos/ensime/ensime-server/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-server/issues/873/comments","events_url":"https://api.github.com/repos/ensime/ensime-server/issues/873/events","html_url":"https://github.com/ensime/ensime-server/issues/873","id":60201051,"number":873,"title":"Better parsing error message when starting Server","user":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-07T10:33:23Z","updated_at":"2015-03-07T10:47:32Z","closed_at":null,"body":"I get a parsing error when starting the Server from emacs. \r\n\r\n```\r\nStarting ENSIME server: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar:/home/aengelen/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.6.jar:/home/aengelen/.ivy2/cache/org.ensime/ensime_2.11/jars/ensime_2.11-0.9.10-SNAPSHOT.jar:/home/aengelen/.ivy2/cache/org.ensime/server_2.11/jars/server_2.11-0.9.10-SNAPSHOT.jar:/home/aengelen/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.5.jar:/home/aengelen/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.5.jar:/home/aengelen/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.3.jar:/home/aengelen/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.3.jar:/home/aengelen/.ivy2/cache/org.ensime/api_2.11/jars/api_2.11-0.9.10-SNAPSHOT.jar:/home/aengelen/.ivy2/cache/com.github.stacycurl/pimpathon-core_2.11/jars/pimpathon-core_2.11-1.2.0.jar:/home/aengelen/.ivy2/cache/com.danieltrinh/scalariform_2.11/jars/scalariform_2.11-0.1.5.jar:/home/aengelen/.ivy2/cache/org.ensime/swank_2.11/jars/swank_2.11-0.9.10-SNAPSHOT.jar:/home/aengelen/.ivy2/cache/org.ensime/sexpress_2.11/jars/sexpress_2.11-0.9.10-SNAPSHOT.jar:/home/aengelen/.ivy2/cache/com.chuusai/shapeless_2.11/bundles/shapeless_2.11-2.0.0.jar:/home/aengelen/.ivy2/cache/org.parboiled/parboiled-scala_2.11/jars/parboiled-scala_2.11-1.1.7.jar:/home/aengelen/.ivy2/cache/org.parboiled/parboiled-core/jars/parboiled-core-1.1.7.jar:/home/aengelen/.ivy2/cache/com.typesafe.akka/akka-slf4j_2.11/jars/akka-slf4j_2.11-2.3.9.jar:/home/aengelen/.ivy2/cache/com.typesafe.akka/akka-actor_2.11/jars/akka-actor_2.11-2.3.9.jar:/home/aengelen/.ivy2/cache/com.typesafe/config/bundles/config-1.2.1.jar:/home/aengelen/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.1.2.jar:/home/aengelen/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.1.2.jar:/home/aengelen/.ivy2/cache/org.slf4j/jul-to-slf4j/jars/jul-to-slf4j-1.7.10.jar:/home/aengelen/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.10.jar:/home/aengelen/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.7.10.jar:/home/aengelen/.ivy2/cache/com.h2database/h2/jars/h2-1.4.182.jar:/home/aengelen/.ivy2/cache/com.typesafe.slick/slick_2.11/bundles/slick_2.11-2.1.0.jar:/home/aengelen/.ivy2/cache/com.jolbox/bonecp/bundles/bonecp-0.8.0.RELEASE.jar:/home/aengelen/.ivy2/cache/com.google.guava/guava/bundles/guava-15.0.jar:/home/aengelen/.ivy2/cache/org.apache.commons/commons-vfs2/jars/commons-vfs2-2.0.jar:/home/aengelen/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.1.jar:/home/aengelen/.ivy2/cache/org.apache.maven.scm/maven-scm-api/jars/maven-scm-api-1.4.jar:/home/aengelen/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-1.5.6.jar:/home/aengelen/.ivy2/cache/org.apache.maven.scm/maven-scm-provider-svnexe/jars/maven-scm-provider-svnexe-1.4.jar:/home/aengelen/.ivy2/cache/org.apache.maven.scm/maven-scm-provider-svn-commons/jars/maven-scm-provider-svn-commons-1.4.jar:/home/aengelen/.ivy2/cache/regexp/regexp/jars/regexp-1.3.jar:/home/aengelen/.ivy2/cache/org.apache.lucene/lucene-core/jars/lucene-core-4.7.2.jar:/home/aengelen/.ivy2/cache/org.apache.lucene/lucene-analyzers-common/jars/lucene-analyzers-common-4.7.2.jar:/home/aengelen/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.0.3.jar:/home/aengelen/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.0.3.jar:/home/aengelen/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.0.3.jar:/home/aengelen/.ivy2/cache/org.ow2.asm/asm-util/jars/asm-util-5.0.3.jar:/home/aengelen/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.11.5.jar:/home/aengelen/.ivy2/cache/org.scala-refactoring/org.scala-refactoring.library_2.11/jars/org.scala-refactoring.library_2.11-0.6.2.jar:/home/aengelen/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar:/home/aengelen/.ivy2/cache/io.spray/spray-can_2.11/bundles/spray-can_2.11-1.3.2.jar:/home/aengelen/.ivy2/cache/io.spray/spray-io_2.11/bundles/spray-io_2.11-1.3.2.jar:/home/aengelen/.ivy2/cache/io.spray/spray-util_2.11/bundles/spray-util_2.11-1.3.2.jar:/home/aengelen/.ivy2/cache/io.spray/spray-http_2.11/bundles/spray-http_2.11-1.3.2.jar -XX:MaxPermSize=512m -Xmx2048m -Xms1024m -Xmx1024m -XX:ReservedCodeCacheSize=128m -Densime.config=/home/aengelen/xebia/customername/projectname/.ensime org.ensime.server.Server\r\nOpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0\r\nException in thread \"main\" org.parboiled.errors.ParsingException: Invalid :\r\nInvalid input '9', expected Comment, ' ', '\\n', '\\r', '\\t', '\\f' or ')' (line 10, pos 67):\r\n :formatting-prefs (:alignSingleLineCaseStatements.maxArrowIndent 90 :preserveDanglingCloseParenthesis t :alignSingleLineCaseStatements t :alignParameters nil :doubleIndentClassDeclaration t :rewriteArrowSymbols t)\r\n                                                                  ^\r\n\r\n\tat org.ensime.util.ParboiledParser$$anonfun$parse$1.apply(ParboiledParser.scala:23)\r\n\tat org.ensime.util.ParboiledParser$$anonfun$parse$1.apply(ParboiledParser.scala:23)\r\n\tat scala.Option.getOrElse(Option.scala:121)\r\n\tat org.ensime.util.ParboiledParser$class.parse(ParboiledParser.scala:22)\r\n\tat org.ensime.sexp.SexpParser$.parse(SexpParser.scala:11)\r\n\tat org.ensime.sexp.PimpedString.parseSexp(package.scala:17)\r\n\tat org.ensime.config.EnsimeConfigProtocol$.parse(EnsimeConfigProtocol.scala:24)\r\n\tat org.ensime.server.Server$.main(Server.scala:36)\r\n\tat org.ensime.server.Server.main(Server.scala)\r\n\r\nProcess *inferior-ensime-server-projectname*<2> exited abnormally with code 1\r\n```\r\n\r\nIt would be nice if the error could more clearly state that this is an error while parsing /home/aengelen/xebia/customername/projectname/.ensime\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9293145-better-parsing-error-message-when-starting-server?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/77683781","html_url":"https://github.com/ensime/ensime-server/issues/873#issuecomment-77683781","issue_url":"https://api.github.com/repos/ensime/ensime-server/issues/873","id":77683781,"user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T10:47:32Z","updated_at":"2015-03-07T10:47:32Z","body":"If you'd like to see this change, a PR to wrap the call with an exception would be welcome https://github.com/ensime/ensime-server/blob/master/server/src/main/scala/org/ensime/server/Server.scala#L36 But make sure that you do not swallow the originating exception."}}