{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/3423","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/3423/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/3423/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/3423/events","html_url":"https://github.com/neo4j/neo4j/issues/3423","id":48213779,"number":3423,"title":"Neo4j 1.9.9 fails to start with relative path if directory does not exist","user":{"login":"pangloss","id":10115,"avatar_url":"https://avatars.githubusercontent.com/u/10115?v=3","gravatar_id":"","url":"https://api.github.com/users/pangloss","html_url":"https://github.com/pangloss","followers_url":"https://api.github.com/users/pangloss/followers","following_url":"https://api.github.com/users/pangloss/following{/other_user}","gists_url":"https://api.github.com/users/pangloss/gists{/gist_id}","starred_url":"https://api.github.com/users/pangloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangloss/subscriptions","organizations_url":"https://api.github.com/users/pangloss/orgs","repos_url":"https://api.github.com/users/pangloss/repos","events_url":"https://api.github.com/users/pangloss/events{/privacy}","received_events_url":"https://api.github.com/users/pangloss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-09T21:10:07Z","updated_at":"2015-12-06T18:07:41Z","closed_at":"2015-12-06T18:07:41Z","body":"This issue appeared between 1.9.8 and 1.9.9 releases. The simplest repro is as follows, using pacer-neo4j on 1.9.9, where the local directory x does not exist.\r\n\r\n\r\n```ruby\r\nPacer.neo4j 'x'\r\n```\r\n```\r\nArgumentError: Constructor invocation failed: org.neo4j.kernel.impl.cache.GCResistantCache.put(Lorg/neo4j/kernel/impl/cache/EntityWithSizeObject;)Lorg/neo4j/kernel/impl/cache/EntityWithSizeObject;\r\n\tfrom /Volumes/xn_dev/xn/pacer-neo4j/lib/pacer-neo4j.rb:57:in `neo4j'\r\n\tfrom org/jruby/RubyProc.java:271:in `call'\r\n\tfrom /Volumes/xn_dev/xn/pacer/lib/pacer/graph/pacer_graph.rb:47:in `reopen'\r\n\tfrom /Volumes/xn_dev/xn/pacer/lib/pacer/graph/pacer_graph.rb:24:in `initialize'\r\n\tfrom /Volumes/xn_dev/xn/pacer-neo4j/lib/pacer-neo4j.rb:69:in `neo4j'\r\n\tfrom (irb):2:in `evaluate'\r\n\tfrom org/jruby/RubyKernel.java:1101:in `eval'\r\n\tfrom org/jruby/RubyKernel.java:1501:in `loop'\r\n\tfrom org/jruby/RubyKernel.java:1264:in `catch'\r\n\tfrom org/jruby/RubyKernel.java:1264:in `catch'\r\n\tfrom /Users/dw/.rvm/rubies/jruby-1.7.14/bin/irb:13:in `(root)'\r\n```\r\n\r\nIf I run `mkdir x` and retry, it works."},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/162332699","html_url":"https://github.com/neo4j/neo4j/issues/3423#issuecomment-162332699","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/3423","id":162332699,"user":{"login":"jakewins","id":182752,"avatar_url":"https://avatars.githubusercontent.com/u/182752?v=3","gravatar_id":"","url":"https://api.github.com/users/jakewins","html_url":"https://github.com/jakewins","followers_url":"https://api.github.com/users/jakewins/followers","following_url":"https://api.github.com/users/jakewins/following{/other_user}","gists_url":"https://api.github.com/users/jakewins/gists{/gist_id}","starred_url":"https://api.github.com/users/jakewins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakewins/subscriptions","organizations_url":"https://api.github.com/users/jakewins/orgs","repos_url":"https://api.github.com/users/jakewins/repos","events_url":"https://api.github.com/users/jakewins/events{/privacy}","received_events_url":"https://api.github.com/users/jakewins/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T18:07:41Z","updated_at":"2015-12-06T18:07:41Z","body":"The cache where this exception originates has been removed in Neo4j 2.2, meaning this should no longer be an issue."}}