NodeBacked entity NPE - entityState is null
问题 I've got a sample project which uses Spring Data Neo4j's advanced mapping using aspectj. It's failing in a test with NullPointerException due to the entityState attribute being null at the time when the entity is being persisted. I can also replicate this when the server itself is spun up and I execute: curl -i -X POST -H "Content-Type:application/json" -d '{ "firstName" : "Test", "lastName" : "Person" }' http://localhost:8080/people The project is at https://github.com/dhallam/spring-data