org.apache.shiro.session.UnknownSessionException

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.

  • 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]
    via by Radim Kolar,
  • 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]
    via by Radim Kolar,
  • Handling Shiro UnknownSessionException
    via by Nagaraju Kurma,
  • Shiro.There is no session with id
    via Stack Overflow by nuser39
    ,
    • 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]

    Users with the same issue

    kid
    147 times, last one,