I'm working on a fairly simple web app using JSPs and a Java servlet, running on tomcat. I've been able to set attributes in the session from the servlet in order to pass information to the JSPs which then gets presented to the user. I've done this with several different objects of different classes and it worked fine. Suddenly though when I set a particular kind of object (containing configuration information), the attribute isn't showing up in the JSP at all. The other attributes that I set are still there, but the configuration object is totally missing. I printed off the list of attribute names and the name I was using isn't even there (though the other names for the other attributes I set are present).
What could cause this? There's nothing different or weird about my configuration class. I'd really appreciate any ideas on what sorts of things might cause this behavior. I've googled and searched and can't find anything.
ETA: If it matters the name of the attribute is "configuration". I couldn't find anything on that being a reserved word or anything... I set this attribute in the servlet in the same function as a few others such as "user". I then redirect to a JSP which attempts to get both user and configuration. So everything's going on at the same time. user is fine while configuration doesn't even appear in the list of attribute names.
ETA2: Here's the exception that keeps occurring in the logs:
java.lang.Exception
at pms.SessionListener.printStackTrace(Unknown Source)
at pms.SessionListener.attributeAdded(Unknown Source)
at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1498)
at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1390)
at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:154)
at PMS.getTaskInfo(Unknown Source)
at PMS.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:282)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:357)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1687)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)