Commits

ltor...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 6564f1a

Issue number: CACHE-229: don't access the session's id, because this can throw an IllegalStateException
Submitted by: Lars Torunski

  • Participants
  • Parent commits b4810f7

Comments (0)

Files changed (1)

File src/java/com/opensymphony/oscache/web/ServletCache.java

      */
     public void valueUnbound(HttpSessionBindingEvent event) {
         if (log.isInfoEnabled()) {
-            log.info("[Cache] Unbound from session " + event.getSession().getId() + " using name " + event.getName());
+        	// CACHE-229: don't access the session's id, because this can throw an IllegalStateException
+            log.info("[Cache] Unbound from session " + event.getSession() + " using name " + event.getName());
         }
 
         admin.finalizeListeners(this);