Can confirm this affects 5.x, we received this setting rootlogger to DEBUG level. Hibernate: 5.2.3.Final Spring: 4.3.3.RELEASE Stack trace: java.lang.NullPointerException at org.hibernate.pretty.MessageHelper.collectionInfoString(MessageHelper.java:265) at org.hibernate.event.internal.EvictVisitor.evictCollection(EvictVisitor.java:64) at org.hibernate.event.internal.EvictVisitor.evictCollection(EvictVisitor.java:55) at org.hibernate.event.internal.EvictVisitor.processCollection(EvictVisitor.java:36) at org.hibernate.event.internal.AbstractVisitor.processValue(AbstractVisitor.java:104) at org.hibernate.event.internal.AbstractVisitor.processValue(AbstractVisitor.java:65) at org.hibernate.event.internal.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:59) at org.hibernate.event.internal.AbstractVisitor.process(AbstractVisitor.java:126) at org.hibernate.event.internal.DefaultEvictEventListener.doEvict(DefaultEvictEventListener.java:122) at org.hibernate.event.internal.DefaultEvictEventListener.onEvict(DefaultEvictEventListener.java:79) at org.hibernate.internal.SessionImpl.fireEvict(SessionImpl.java:1350) at org.hibernate.internal.SessionImpl.evict(SessionImpl.java:1343) at org.springframework.orm.hibernate5.HibernateTemplate$9.doInHibernate(HibernateTemplate.java:583) at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:359) at org.springframework.orm.hibernate5.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:326) at org.springframework.orm.hibernate5.HibernateTemplate.evict(HibernateTemplate.java:580) at xx.xxx.xxxxx.server.BaseDAOImpl.evictAll(BaseDAOImpl.java:247) |