Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neo4j 1.9.9 fails to start with relative path if directory does not exist #3423

Closed
pangloss opened this issue Nov 9, 2014 · 2 comments
Closed

Comments

@pangloss
Copy link

pangloss commented Nov 9, 2014

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.

Pacer.neo4j 'x'
ArgumentError: Constructor invocation failed: org.neo4j.kernel.impl.cache.GCResistantCache.put(Lorg/neo4j/kernel/impl/cache/EntityWithSizeObject;)Lorg/neo4j/kernel/impl/cache/EntityWithSizeObject;
    from /Volumes/xn_dev/xn/pacer-neo4j/lib/pacer-neo4j.rb:57:in `neo4j'
    from org/jruby/RubyProc.java:271:in `call'
    from /Volumes/xn_dev/xn/pacer/lib/pacer/graph/pacer_graph.rb:47:in `reopen'
    from /Volumes/xn_dev/xn/pacer/lib/pacer/graph/pacer_graph.rb:24:in `initialize'
    from /Volumes/xn_dev/xn/pacer-neo4j/lib/pacer-neo4j.rb:69:in `neo4j'
    from (irb):2:in `evaluate'
    from org/jruby/RubyKernel.java:1101:in `eval'
    from org/jruby/RubyKernel.java:1501:in `loop'
    from org/jruby/RubyKernel.java:1264:in `catch'
    from org/jruby/RubyKernel.java:1264:in `catch'
    from /Users/dw/.rvm/rubies/jruby-1.7.14/bin/irb:13:in `(root)'

If I run mkdir x and retry, it works.

@pangloss
Copy link
Author

pangloss commented Nov 9, 2014

I just double-checked with absolute paths, and the same issue is present in that case, too.

@jakewins
Copy link
Contributor

jakewins commented Dec 6, 2015

The cache where this exception originates has been removed in Neo4j 2.2, meaning this should no longer be an issue.

@jakewins jakewins closed this as completed Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants