org.kuali.student.core.exceptions.AlreadyExistsException: Relation already exists for cluId:d4ea77dd-b492-4554-b104-863e42c5f8b7 and Lo:fde6421e-64b4-41af-bac5-269005101c2a

Kuali JIRA | Li Pan | 6 years ago
  1. 0

    Find an existing Program and modify it. Hit "Save". The first time save worked fine. The second time and later save function failed. For example, I found "ANTH" and edit it. Second save got error messages: 2010-09-23 14:22:49,518 [http-9080-Processor21] FATAL org.kuali.rice.core.database.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.core.exceptions.AlreadyExistsException: Relation already exists for cluId:d4ea77dd-b492-4554-b104-863e42c5f8b7 and Lo:fde6421e-64b4-41af-bac5-269005101c2a at org.kuali.student.lum.lu.service.impl.LuServiceImpl.createCluLoRelation(LuServiceImpl.java:1917) 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:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:54) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy250.createCluLoRelation(Unknown Source) 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:597) at org.kuali.rice.student.ksb.messaging.KSBClientProxy.invoke(KSBClientProxy.java:61) at $Proxy243.createCluLoRelation(Unknown Source) at org.kuali.student.lum.service.assembler.LumServiceMethodInvoker.invokeServiceCallOnResult(LumServiceMethodInvoker.java:21 .......

    Kuali JIRA | 6 years ago | Li Pan
    org.kuali.student.core.exceptions.AlreadyExistsException: Relation already exists for cluId:d4ea77dd-b492-4554-b104-863e42c5f8b7 and Lo:fde6421e-64b4-41af-bac5-269005101c2a
  2. 0

    Find an existing Program and modify it. Hit "Save". The first time save worked fine. The second time and later save function failed. For example, I found "ANTH" and edit it. Second save got error messages: 2010-09-23 14:22:49,518 [http-9080-Processor21] FATAL org.kuali.rice.core.database.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.core.exceptions.AlreadyExistsException: Relation already exists for cluId:d4ea77dd-b492-4554-b104-863e42c5f8b7 and Lo:fde6421e-64b4-41af-bac5-269005101c2a at org.kuali.student.lum.lu.service.impl.LuServiceImpl.createCluLoRelation(LuServiceImpl.java:1917) 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:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:54) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy250.createCluLoRelation(Unknown Source) 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:597) at org.kuali.rice.student.ksb.messaging.KSBClientProxy.invoke(KSBClientProxy.java:61) at $Proxy243.createCluLoRelation(Unknown Source) at org.kuali.student.lum.service.assembler.LumServiceMethodInvoker.invokeServiceCallOnResult(LumServiceMethodInvoker.java:21 .......

    Kuali JIRA | 6 years ago | Li Pan
    org.kuali.student.core.exceptions.AlreadyExistsException: Relation already exists for cluId:d4ea77dd-b492-4554-b104-863e42c5f8b7 and Lo:fde6421e-64b4-41af-bac5-269005101c2a

    Root Cause Analysis

    1. org.kuali.student.core.exceptions.AlreadyExistsException

      Relation already exists for cluId:d4ea77dd-b492-4554-b104-863e42c5f8b7 and Lo:fde6421e-64b4-41af-bac5-269005101c2a

      at org.kuali.student.lum.lu.service.impl.LuServiceImpl.createCluLoRelation()
    2. org.kuali.student
      LuServiceImpl.createCluLoRelation
      1. org.kuali.student.lum.lu.service.impl.LuServiceImpl.createCluLoRelation(LuServiceImpl.java:1917)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:54)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      6. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      6 frames
    9. Unknown
      $Proxy250.createCluLoRelation
      1. $Proxy250.createCluLoRelation(Unknown Source)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    11. org.kuali.rice
      KSBClientProxy.invoke
      1. org.kuali.rice.student.ksb.messaging.KSBClientProxy.invoke(KSBClientProxy.java:61)
      1 frame
    12. Unknown
      $Proxy243.createCluLoRelation
      1. $Proxy243.createCluLoRelation(Unknown Source)
      1 frame