Bugs item #1118578, was opened at 2005-02-08 12:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1118578&group_id=22866

Category: JBossCache
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: olivier martin (omartin_it)
Assigned to: Nobody/Anonymous (nobody)
Summary: NullPointerException getAttributes() in JBossCacheService

Initial Comment:
the method getAttributes use the method
getAttributesKeys which can return null if somthing
failed in the cache
but, referring to the code in jboss 3.2.6 or 3.2.7 line
236 in class
org.jboss.web.tomcat.tc5.session.JBossCacheService, 
the code above is called:
Set set = getAttributeKeys(id);
...
for (Iterator it = set.iterator(); it.hasNext();)
the NPE comes from set.iterator().

On the client side, when the page returns is blank and
we can see above stacktrace in the log.

the stack:
An exception or error occurred in the container during
the request processing
java.lang.NullPointerException
at
org.jboss.web.tomcat.tc5.session.JBossCacheService.getAttributes(JBossCacheService.java:236)
at
org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.populateAttributes(AttributeBasedClusteredSession.java:101)
at
org.jboss.web.tomcat.tc5.session.AttributeBasedClusteredSession.initAfterLoad(AttributeBasedClusteredSession.java:93)
at
org.jboss.web.tomcat.tc5.session.JBossCacheManager.loadSession(JBossCacheManager.java:364)
at
org.jboss.web.tomcat.tc5.session.JBossCacheManager.findSession(JBossCacheManager.java:273)
at
org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2252)
at
org.apache.coyote.tomcat5.CoyoteRequest.getSession(CoyoteRequest.java:2116)
at
org.apache.coyote.tomcat5.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:526)
at
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:86)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1118578&group_id=22866


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to