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

Transient NullPointerException thrown on query #8239

Closed
rationalism opened this issue Oct 21, 2016 · 1 comment
Closed

Transient NullPointerException thrown on query #8239

rationalism opened this issue Oct 21, 2016 · 1 comment

Comments

@rationalism
Copy link

rationalism commented Oct 21, 2016

  • Neo4j version: 3.0.5 Enterprise
  • Operating system: Ubuntu 14.04.4 LTS
  • API/Driver: neo4j-java-driver 1.0.5

The query

MATCH (root:`norecon`) RETURN labels(root), count(*)

threw a DatabaseException/NullPointerException for unknown reasons. This appears to be a transient error, so it might be harmless, but I figured I'd report it anyway just in case. Here's the stack trace in debug.log:

https://gist.github.com/rationalism/031a7f010e43eccc13f5a0e0ed3faaa3

@spacecowboy
Copy link
Contributor

Thank you for the report. NullPointerExceptions are always considered bugs.

@systay systay closed this as completed in c429f3f Oct 26, 2016
digitalstain pushed a commit to mneedham/neo4j that referenced this issue Oct 26, 2016
If the node is deleted at the same time as we are trying to access the labels
of that node there is a significant risk that we will have a `NullPointerException`.
Instead of an error we should just return an empty iterator for that case.

Fixes neo4j#8239
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants