java.lang.IllegalStateException: StateHolder already contains state Node[4210] in thread Thread[tomcat-http--2,5,main]

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Spring JIRA by Stefan Ollinger, 1 year ago
StateHolder already contains state Node[4210] in thread Thread[tomcat-http--2,5,main]
via Spring JIRA by Stefan Ollinger, 1 year ago
StateHolder already contains state Node[4210] in thread Thread[tomcat-http--2,5,main]
java.lang.IllegalStateException: StateHolder already contains state Node[4210] in thread Thread[tomcat-http--2,5,main]
at org.springframework.persistence.support.StateProvider.setUnderlyingState(StateProvider.java:13)
at org.springframework.persistence.support.AbstractConstructorEntityInstantiator.fromStateInternal(AbstractConstructorEntityInstantiator.java:46)
at org.springframework.persistence.support.AbstractConstructorEntityInstantiator.createEntityFromState(AbstractConstructorEntityInstantiator.java:22)
at org.springframework.data.graph.neo4j.support.node.PartialNeo4jEntityInstantiator.createEntityFromState(PartialNeo4jEntityInstantiator.java:63)
at org.springframework.data.graph.neo4j.support.node.PartialNeo4jEntityInstantiator.createEntityFromState(PartialNeo4jEntityInstantiator.java:1)
at org.springframework.data.graph.neo4j.support.GraphDatabaseContext.createEntityFromState(GraphDatabaseContext.java:119)
at org.springframework.data.graph.neo4j.fieldaccess.AbstractNodeRelationshipFieldAccessor.createEntitySetFromRelationshipEndNodes(AbstractNodeRelationshipFieldAccessor.java:97)
at org.springframework.data.graph.neo4j.fieldaccess.OneToNRelationshipFieldAccessorFactory$OneToNRelationshipFieldAccessor.getValue(OneToNRelationshipFieldAccessorFactory.java:72)
at org.springframework.data.graph.neo4j.fieldaccess.OneToNRelationshipFieldAccessorFactory$OneToNRelationshipFieldAccessor.getValue(OneToNRelationshipFieldAccessorFactory.java:1)
at org.springframework.data.graph.neo4j.fieldaccess.DefaultEntityStateAccessors.getValue(DefaultEntityStateAccessors.java:75)
at org.springframework.data.graph.neo4j.fieldaccess.DetachableEntityStateAccessors.getValue(DetachableEntityStateAccessors.java:67)
at test.domain.User.tracks_aroundBody69$advice(User.java:241)
at test.domain.User.getTracks(User.java:196)
at scalate.views.$_scalate_$user_show_scaml$.$_scalate_$render(user.show.scaml.scala:42)
at scalate.views.$_scalate_$user_show_scaml.render(user.show.scaml.scala:75)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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