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 coderanch.com by Unknown author, 1 year ago
not-null property references a null or transient value: com.wipro.sms.automatedwsr.wsr.model.Task.wsrId
org.hibernate.PropertyValueException: not-null property references a null or transient value: com.wipro.sms.automatedwsr.wsr.model.Task.wsrId	at org.hibernate.engine.Nullability.checkNullability(Nullability.java:95)	at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:313)	at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)	at org.hibernate.ejb.event.EJB3MergeEventListener.saveWithGeneratedId(EJB3MergeEventListener.java:43)	at org.hibernate.event.def.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:238)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:170)	at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:714)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:696)	at org.hibernate.engine.CascadingAction$6.cascade(CascadingAction.java:268)	at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:291)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:239)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192)	at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:319)	at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:265)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:242)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192)	at org.hibernate.engine.Cascade.cascade(Cascade.java:153)	at org.hibernate.event.def.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:479)	at org.hibernate.event.def.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:246)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:170)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:81)	at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:704)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:688)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:692)	at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:235)	at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)	at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:244)	at com.wipro.sms.automatedwsr.wsr.WSRServiceImpl.addWSR(WSRServiceImpl.java:34)