net.sf.hibernate.AssertionFailure

null id in entry (don't flush the Session after an exception occurs)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19

  • via Hibernate JIRA by Koen Janssens, 1 year ago
    null id in entry (don't flush the Session after an exception occurs)
  • via Hibernate JIRA by Koen Janssens, 1 year ago
    null id in entry (don't flush the Session after an exception occurs)
  • via Coderanch by miguel lisboa, 7 months ago
    null id in entry (don't flush the Session after an exception occurs)
  • Stack trace

    • net.sf.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs) at net.sf.hibernate.impl.SessionImpl.checkId(SessionImpl.java:2605) at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2429) at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2422) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2224) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2203) at com.alcatel.util.property.HibernatePropertyStore.getProperty(HibernatePropertyStore.java:34) at com.alcatel.util.property.ReflectionPropertyGroup.loadProperties(ReflectionPropertyGroup.java:74) at com.alcatel.util.property.PropertyManager.loadPropertyGroup(PropertyManager.java:79) at com.alcatel.util.property.PropertyManager.getPropertyGroup(PropertyManager.java:73) at com.alcatel.util.email.EmailAddress.setEmailAddress(EmailAddress.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:38) at net.sf.hibernate.type.ComponentType.setPropertyValues(ComponentType.java:230) at net.sf.hibernate.type.ComponentType.deepCopy(ComponentType.java:270) at net.sf.hibernate.type.TypeFactory.deepCopy(TypeFactory.java:212) at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:900) at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:839) at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:757) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:720)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.