After upgrading from 5.0.5.Final we see many errors like this
java.lang.NullPointerException at org.hibernate.collection.internal.AbstractPersistentCollection$5.hasNext(AbstractPersistentCollection.java:764) at org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:430) at org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:363) at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:326) at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162) at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
This may be due to some incorrect data mapping on our side but there should not be any NPE? Sorry for capturing this issue, but after seeing through the changes for 5.0.6 and 5.0.7 this issue seemed to be the propable cause. |