IDjava.lang.UnsupportedOperationException: Currently we cannot load Token's by ID

Atlassian JIRA | Donna McGahan [Atlassian] | 8 years ago
  1. 0

    Every expire action URL uses a sessionID of 0: http://localhost:8095/crowd/console/secure/session/removeusersession!removePrincipalSession.action?ID=0 And the following exception is thrown when attempting to expire the user session: 2008-08-08 11:24:47,303 http-8095-4 ERROR [console.action.session.RemoveSession] Currently we cannot load Token's by IDjava.lang.UnsupportedOperationException: Currently we cannot load Token's by ID at com.atlassian.crowd.model.token.TokenDAOMemory.findByID(TokenDAOMemory.java:182) at com.atlassian.crowd.model.token.TokenDAOProxy.findByID(TokenDAOProxy.java:135) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.expireToken(DirectoryManagerGeneric.java:868) 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:585) 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 com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) 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.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1.expireToken(Unknown Source)

    Atlassian JIRA | 8 years ago | Donna McGahan [Atlassian]
    IDjava.lang.UnsupportedOperationException: Currently we cannot load Token's by ID
  2. 0

    Every expire action URL uses a sessionID of 0: http://localhost:8095/crowd/console/secure/session/removeusersession!removePrincipalSession.action?ID=0 And the following exception is thrown when attempting to expire the user session: 2008-08-08 11:24:47,303 http-8095-4 ERROR [console.action.session.RemoveSession] Currently we cannot load Token's by IDjava.lang.UnsupportedOperationException: Currently we cannot load Token's by ID at com.atlassian.crowd.model.token.TokenDAOMemory.findByID(TokenDAOMemory.java:182) at com.atlassian.crowd.model.token.TokenDAOProxy.findByID(TokenDAOProxy.java:135) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.expireToken(DirectoryManagerGeneric.java:868) 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:585) 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 com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) 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.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1.expireToken(Unknown Source)

    Atlassian JIRA | 8 years ago | Donna McGahan [Atlassian]
    IDjava.lang.UnsupportedOperationException: Currently we cannot load Token's by ID

    Root Cause Analysis

    1. IDjava.lang.UnsupportedOperationException

      Currently we cannot load Token's by ID

      at com.atlassian.crowd.model.token.TokenDAOMemory.findByID()
    2. com.atlassian.crowd
      DirectoryManagerGeneric.expireToken
      1. com.atlassian.crowd.model.token.TokenDAOMemory.findByID(TokenDAOMemory.java:182)
      2. com.atlassian.crowd.model.token.TokenDAOProxy.findByID(TokenDAOProxy.java:135)
      3. com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.expireToken(DirectoryManagerGeneric.java:868)
      3 frames
    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:585)
      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. com.atlassian.spring
      SpringProfilingInterceptor.invoke
      1. com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)
      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.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    9. Unknown
      $Proxy1.expireToken
      1. $Proxy1.expireToken(Unknown Source)
      1 frame