You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/02/06 18:14:19 UTC

DO NOT REPLY [Bug 16680] - Internal Server Error on HttpSession.setAttribute()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16680>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16680

Internal Server Error on HttpSession.setAttribute()

treeck@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Major                       |Blocker
           Priority|Other                       |High



------- Additional Comments From treeck@yahoo.com  2003-02-06 17:14 -------
After converting all the saved state information to be serializable, I now get 
the following, "Internal Server Error" with the root cause:

java.lang.NoSuchMethodError
	at org.apache.catalina.session.StandardSession.setAttribute
(StandardSession.java:1259)
	at org.apache.catalina.session.StandardSessionFacade.setAttribute
(StandardSessionFacade.java:191)
	at org.apache.catalina.session.StandardSessionFacade.setAttribute
(StandardSessionFacade.java:191)
	at javarex.beans.servlet.util.HttpServlet.getPage(HttpServlet.java:576)

The last line is the line number in my servlet corresponding to the following 
line of source code:

        session.setAttribute(myName + ".stack", form_stack);

where "session" is defined as:

	protected HttpSession session;

and "form_stack" is a "java.util.Stack" (which cloneable and serializable).

I've been working on this for week now, and it's blocking me being able to 
release a product -- can't even start a servlet.

-George

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org