java.lang.IllegalStateException: Cannot release lock owned by null

GitHub | wallon-ines | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot release lock owned by null with CAS 4.2.5 and Memcache

    GitHub | 6 months ago | wallon-ines
    java.lang.IllegalStateException: Cannot release lock owned by null

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot release lock owned by null

      at org.jasig.cas.ticket.registry.support.JpaLockingStrategy.release()
    2. Jasig CAS Core
      JpaLockingStrategy$$FastClassBySpringCGLIB$$4fb1c5d4.invoke
      1. org.jasig.cas.ticket.registry.support.JpaLockingStrategy.release(JpaLockingStrategy.java:139)
      2. org.jasig.cas.ticket.registry.support.JpaLockingStrategy$$FastClassBySpringCGLIB$$4fb1c5d4.invoke(<generated>)
      2 frames
    3. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      1 frame
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      2 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      3 frames
    6. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
      2 frames
    7. Jasig CAS Core
      JpaLockingStrategy$$EnhancerBySpringCGLIB$$3ae05ee.release
      1. org.jasig.cas.ticket.registry.support.JpaLockingStrategy$$EnhancerBySpringCGLIB$$3ae05ee.release(<generated>)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      3 frames
    10. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      3 frames
    11. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
      2 frames
    12. com.sun.proxy
      $Proxy87.release
      1. com.sun.proxy.$Proxy87.release(Unknown Source)
      1 frame
    13. Jasig CAS Core
      JpaTicketRegistryCleaner.execute
      1. org.jasig.cas.ticket.registry.JpaTicketRegistryCleaner.execute(JpaTicketRegistryCleaner.java:86)
      1 frame
    14. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      2 frames