java.lang.IllegalArgumentException: org.hibernate.ObjectDeletedException: deleted instance passed to merge: [org.kuali.student.lum.lu.entity.CluInstructor#<null>]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A MajorDiscipline has, for say, two variations. If delete one variation and update the MajorDiscipline, the cluclurelation can be deleted, but not the variation itself. Here are error messages: 138066 [main] ERROR org.kuali.student.lum.lu.service.impl.LuServiceImpl - Exception occured: java.lang.IllegalArgumentException: org.hibernate.ObjectDeletedException: deleted instance passed to merge: [org.kuali.student.lum.lu.entity.CluInstructor#<null>] at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:238) at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:357) at $Proxy29.merge(Unknown Source) at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:194) at $Proxy29.merge(Unknown Source) at org.kuali.student.core.dao.impl.AbstractCrudDaoImpl.update(AbstractCrudDaoImpl.java:80) at org.kuali.student.lum.lu.service.impl.LuServiceImpl.updateClu(LuServiceImpl.java:1479) at org.kuali.student.lum.lu.service.impl.LuServiceImpl$$FastClassByCGLIB$$512ffd3b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
    via by Li Pan,
  • A MajorDiscipline has, for say, two variations. If delete one variation and update the MajorDiscipline, the cluclurelation can be deleted, but not the variation itself. Here are error messages: 138066 [main] ERROR org.kuali.student.lum.lu.service.impl.LuServiceImpl - Exception occured: java.lang.IllegalArgumentException: org.hibernate.ObjectDeletedException: deleted instance passed to merge: [org.kuali.student.lum.lu.entity.CluInstructor#<null>] at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:238) at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:357) at $Proxy29.merge(Unknown Source) at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:194) at $Proxy29.merge(Unknown Source) at org.kuali.student.core.dao.impl.AbstractCrudDaoImpl.update(AbstractCrudDaoImpl.java:80) at org.kuali.student.lum.lu.service.impl.LuServiceImpl.updateClu(LuServiceImpl.java:1479) at org.kuali.student.lum.lu.service.impl.LuServiceImpl$$FastClassByCGLIB$$512ffd3b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
    via by Li Pan,
    • java.lang.IllegalArgumentException: org.hibernate.ObjectDeletedException: deleted instance passed to merge: [org.kuali.student.lum.lu.entity.CluInstructor#<null>] at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:238) at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:357) at $Proxy29.merge(Unknown Source) at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:194) at $Proxy29.merge(Unknown Source) at org.kuali.student.core.dao.impl.AbstractCrudDaoImpl.update(AbstractCrudDaoImpl.java:80) at org.kuali.student.lum.lu.service.impl.LuServiceImpl.updateClu(LuServiceImpl.java:1479) at org.kuali.student.lum.lu.service.impl.LuServiceImpl$$FastClassByCGLIB$$512ffd3b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)

    Users with the same issue

    linxiaolong
    linxiaolong1 times, last one,
    Michael
    Michael4 times, last one,