David, are there any additional cause exceptions available for that stack trace?
Sent from my phone, please excuse typos and brevity.
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks for bumping this David, it fell off my radar, sorry.
Im gonna have a look at your original sample code, and Ill get back to you.
in the mean time, would you be able to send me the messages.log file that neo puts in its database folder? If you are running the server, thats in data/graph.db/, otherwise its whatever folder you tell the embedded database to use.
jake
Sent from my phone, please excuse typos and brevity.
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/w1L_21z0z04/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sweet, thanks man, sorry for missing it, was on my phone earlier today. Ill have a look at it on monday.
jake
Sent from my phone, please excuse typos and brevity.
Jake,I doubt I'm going to be able to remove code until I can give you something functional; our test database is populated with stuff generated by other classes. Based on how the code is written I fear I'd have to send you at least a dozen or more classes, it would take substantial work to trim things out, and we haven't yet obtained permission to release this (working on eventual open source release of our software, as it happens).
Thanks for looking into this. I'm going to try a few extra things including going to 2.0.1. To answer your immediate questions, the problem happens consistently when I run particular cypher queries - the one I sent is one such query. It's consistent in that whenever I run certain methods that contain those queries, this results. It's not consistent in that I have many other read-only cypher queries that don't display this same behavior.
Can you give me any tips on how I might diagnose/debug myself? I.e. a different way of logging what neo is doing to look for the problem as an alternative if I can't ship you a working code base? Also any tips you might suggest about where to look. What are the possible causes of failure here? Why is neo even attempting to "commit" a transaction? (What's to commit when you're only fetching data?)
FWIW, before we moved from 1.9.3 -> 2.0.0, we didn't have this problem; this is recent after I started wrapping cypher queries in transactions. In 1.9.3, I would just run the query and all was fine; I started getting exceptions after moving to 2.0.0, and advice on this list said that wrapping those read-only cypher queries in transactions was necessary, so I started doing it in the java 7 style: try (Transaction tx = db.beginTx()) { blah(); tx.success(); }CREATE CONSTRAINT ON (node:MyLabel) ASSERT node.myID IS UNIQUE;
I'm not manually using locks; we do use constraints. All of our constraints look like this: