{"action":"opened","issue":{"url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/519","labels_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/519/comments","events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/519/events","html_url":"https://github.com/datastax/spark-cassandra-connector/issues/519","id":54959200,"number":519,"title":"NullPointerException: Cannot start embedded cassandra","user":{"login":"elmalto","id":5555818,"avatar_url":"https://avatars.githubusercontent.com/u/5555818?v=3","gravatar_id":"","url":"https://api.github.com/users/elmalto","html_url":"https://github.com/elmalto","followers_url":"https://api.github.com/users/elmalto/followers","following_url":"https://api.github.com/users/elmalto/following{/other_user}","gists_url":"https://api.github.com/users/elmalto/gists{/gist_id}","starred_url":"https://api.github.com/users/elmalto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmalto/subscriptions","organizations_url":"https://api.github.com/users/elmalto/orgs","repos_url":"https://api.github.com/users/elmalto/repos","events_url":"https://api.github.com/users/elmalto/events{/privacy}","received_events_url":"https://api.github.com/users/elmalto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-21T00:05:35Z","updated_at":"2015-01-21T00:05:35Z","closed_at":null,"body":"I am writing my unit tests and try to start an embedded cassandra server:\r\n\r\n```\r\nabstract class GraphSpec extends WordSpec with MustMatchers with OptionValues with BeforeAndAfter with SharedEmbeddedCassandra\r\n\r\ntrait SharedEmbeddedCassandra extends EmbeddedCassandra {\r\n  def clearCache(): Unit = CassandraConnector.evictCache()\r\n}\r\n\r\nclass GraphTest extends GraphSpec {\r\n  useCassandraConfig(\"cassandra.yaml\")\r\n...\r\n}\r\n```\r\n\r\nand I always get: \r\n\r\n```\r\njava.lang.NullPointerException at\r\ncom.datastax.spark.connector.embedded.EmbeddedIO$class.closeAfterUse(Embedded.scala:26)\r\n```\r\n\r\ncassandra.yaml lies in my test/resources/cassandra.yaml but I tried various other locations including main resources\r\n\r\nI run the test with sbt run\r\n\r\n"}}