又遇一蛋碎问题.....
ctx.getSession().put("tbUser",tbUser);
ctx.getSession().put("myPhotoPageAmount", myPhotoPageAmount);
我网session里面存个tbUser对象,然后在另外一个Action里取,居然没取到,
当执行完ctx.getSession().put("tbUser",tbUser);
这句代码后,居然打印出这玩意了:
register org.apache.catalina.session.StandardSessionFacade@1153b19 2
一看,蛋疼了,这玩意哪里来的....
然后我就debug一下,结果一看,蛋更疼了...上面这句还没打印出来,又出一堆东西:
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da669a2, pid=5508, tid=1284
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x1b69a2]
#
# An error report file with more information is saved as:
# D:\apache-tomcat-6.0.26-windows-x64\apache-tomcat-6.0.26\bin\hs_err_pid5508.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
经过接连几次的测试:蛋最终碎了,每次debug,tomcat就会停掉,然后出一堆看得蛋碎的东西..
大家给出出注意,这怎么回事~~~,其他Action这样搞,都能存进去,在取出来,唯独就这不行...
鞠躬
------解决方案--------------------
更新JDK, 换新版本的!
OVER