java.lang.RuntimeException: @StartNode of a relationship entity may not be null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by matanshidlov
, 1 year ago
@StartNode of a relationship entity may not be null
java.lang.RuntimeException: @StartNode of a relationship entity may not be null
at org.neo4j.ogm.context.EntityGraphMapper.getStartEntity(EntityGraphMapper.java:611)
at org.neo4j.ogm.context.EntityGraphMapper.haveRelationEndsChanged(EntityGraphMapper.java:476)
at org.neo4j.ogm.context.EntityGraphMapper.getRelationshipBuilder(EntityGraphMapper.java:444)
at org.neo4j.ogm.context.EntityGraphMapper.link(EntityGraphMapper.java:406)
at org.neo4j.ogm.context.EntityGraphMapper.mapEntityReferences(EntityGraphMapper.java:337)
at org.neo4j.ogm.context.EntityGraphMapper.mapEntity(EntityGraphMapper.java:207)
at org.neo4j.ogm.context.EntityGraphMapper.map(EntityGraphMapper.java:133)
at org.neo4j.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:69)
at org.neo4j.ogm.session.Neo4jSession.save(Neo4jSession.java:369)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.