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 hibernate.org by Unknown author, 2 years ago
org.hibernate.id.IdentifierGenerationException: null id generated for:class com.washery.test.Second
via https://bugzilla.redhat.com/bugzilla/ by Rajan Timaniya, 2 years ago
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.rhq.core.domain.content.RepoContentSource#RepoContentSourcePK: repo=[Repo: id=[101], name=[JBoss Patches]]; contentSource=[ContentSource: id=[101], name=[JBoss CSP Patch Feed]]]
via Stack Overflow by Mark Estrada
, 2 years ago
org.hibernate.PropertyValueException: not-null property references a null or transient value: order.OrderInvoice.order
javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: null id generated for:class com.washery.test.Second at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:560) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:192) at com.washery.test.FirstTest.testPersist(FirstTest.java:58)Caused by: org.hibernate.id.IdentifierGenerationException: null id generated for:class com.washery.test.Second at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:102) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:608) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:600) at org.hibernate.engine.CascadingAction$8.cascade(CascadingAction.java:202) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) at org.hibernate.engine.Cascade.cascade(Cascade.java:248) at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:412) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:261) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:617) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:591) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:595) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:186) ... 3 more