java.lang.IllegalStateException: HttpSession is invalid

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalStateException: HttpSession is invalid
at weblogic.servlet.internal.session.SessionData.check(SessionData.java:520)
at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:433)
at oracle.adf.share.http.HttpUtil.getAttribute(HttpUtil.java:99)
at oracle.adf.share.http.HttpSessionScopeAdapter.get(HttpSessionScopeAdapter.java:482)
at oracle.adf.share.http.HttpSessionScopeAdapter.get(HttpSessionScopeAdapter.java:474)
at oracle.adf.share.statemanager.StateManagerScopeAdapter.(StateManagerScopeAdapter.java:95)
at oracle.adf.share.http.HttpStateManagerScopeAdapter.(HttpStateManagerScopeAdapter.java:50)
at oracle.adf.share.http.ServletADFContext.getStateManager(ServletADFContext.java:276)
at oracle.adf.share.statemanager.StateManagerScopeAdapter$ADFScopeListenerImpl.scopeInvalidated(StateManagerScopeAdapter.java:265)
at oracle.adf.share.ADFScopeHelper.fireScopeInvalidated(ADFScopeHelper.java:65)
at oracle.adf.share.http.HttpSessionScopeAdapter.invalidate(HttpSessionScopeAdapter.java:556)
at oracle.adf.share.http.HttpSessionScopeAdapter.valueUnbound(HttpSessionScopeAdapter.java:641)
at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:757)
at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:739)
at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:1040)
at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:73)
at weblogic.servlet.internal.session.SessionData.invalidate(SessionData.java:917)
at weblogic.servlet.internal.session.SessionData.invalidate(SessionData.java:943)
at weblogic.servlet.internal.session.SessionData.isValidForceCheck(SessionData.java:1013)
at weblogic.servlet.internal.session.MemorySessionContext.getSessionInternal(MemorySessionContext.java:62)
at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.cleanupExpiredSessions(SessionContext.java:947)
at weblogic.servlet.internal.session.SessionContext$SessionInvalidator$1.run(SessionContext.java:903)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.timerExpired(SessionContext.java:897)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:284)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.