net.sf.hibernate.PropertyValueException: not-null property references a null or transient value: test.hiber.ClassB.apro1

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 Hibernate JIRA by James, 1 year ago
not-null property references a null or transient value: test.hiber.ClassB.apro1
via Hibernate JIRA by James, 1 year ago
not-null property references a null or transient value: test.hiber.ClassB.apro1
via Hibernate JIRA by Felix L J Mayer, 1 year ago
not-null property references a null or transient value: detached.Edge.sourceVertex
via Hibernate JIRA by Felix L J Mayer, 1 year ago
not-null property references a null or transient value: detached.Edge.sourceVertex
via hibernate.org by Unknown author, 1 year ago
not-null property references a null or transient value: dk.te.deb.pojo.Player.team
via Atlassian JIRA by Nick Faiz [OLD], 1 year ago
not-null property references a null or transient value: com.atlassian.confluence.links.OutgoingLink.destinationSpaceKey
net.sf.hibernate.PropertyValueException: not-null property references a null or transient value: test.hiber.ClassB.apro1
at net.sf.hibernate.impl.SessionImpl.checkNullability(SessionImpl.java:1269)
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:921)
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:850)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:772)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:731)
at test.hiber.Hiber.createBwithA(Hiber.java:66)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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