org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d]

Sonatype JIRA | Radim Kolar | 4 years 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

    I have problem with scheduled tasks. When scheduled task starts it fails with exception and scheduled tasks definition is removed from system. I have to create a new scheduled task which also fails and disappears. 013-06-06 05:00:00 WARN [pxpool-1-thread-19] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Remove snapshots org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d] at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.eis.CachingSessionDAO.readSession(CachingSessionDAO.java:261) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSessionFromDataSource(DefaultSessionManager.java:236) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:222) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:118) ~[shiro-core-1.2.1.jar:1.2.1] another task: 2013-06-06 05:30:00 WARN [pxpool-1-thread-20] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Empty Trash org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d] at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.eis.CachingSessionDAO.readSession(CachingSessionDAO.java:261) ~[shiro-core-1.2.1.jar:1.2.1]

    Sonatype JIRA | 4 years ago | Radim Kolar
    org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d]
  2. 0

    I have problem with scheduled tasks. When scheduled task starts it fails with exception and scheduled tasks definition is removed from system. I have to create a new scheduled task which also fails and disappears. 013-06-06 05:00:00 WARN [pxpool-1-thread-19] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Remove snapshots org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d] at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.eis.CachingSessionDAO.readSession(CachingSessionDAO.java:261) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSessionFromDataSource(DefaultSessionManager.java:236) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:222) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:118) ~[shiro-core-1.2.1.jar:1.2.1] another task: 2013-06-06 05:30:00 WARN [pxpool-1-thread-20] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Empty Trash org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d] at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170) ~[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.session.mgt.eis.CachingSessionDAO.readSession(CachingSessionDAO.java:261) ~[shiro-core-1.2.1.jar:1.2.1]

    Sonatype JIRA | 4 years ago | Radim Kolar
    org.apache.shiro.session.UnknownSessionException: There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d]

    Root Cause Analysis

    1. org.apache.shiro.session.UnknownSessionException

      There is no session with id [a1fd6019-058f-46f9-ae8c-68f4642fae2d]

      at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession()
    2. Shiro
      CachingSessionDAO.readSession
      1. org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170)[shiro-core-1.2.1.jar:1.2.1]
      2. org.apache.shiro.session.mgt.eis.CachingSessionDAO.readSession(CachingSessionDAO.java:261)[shiro-core-1.2.1.jar:1.2.1]
      2 frames