-
Defect
-
Resolution: Done
-
Minor
-
1.3.0-M3
-
None
-
None
When logged in via OpenID login, clicking on the Account Tab->Account Summary link generates an internal server error result. The log output is noted below (with some content removed.)
Steps to reproduce:
1) Login via OpenID (I used: https://esg.prototype.ucar.edu/myopenid/enienhouse)
2) Click the "Account" tab
3) Click the "Account Summary" link
4) An internal server error is generated.
Login using username/password (instead of OpenID) results in a proper Account Summary page and no error is generated.
Log output:
2011-03-22 15:52:51,090 sgf.gateway.web.filters.exception.UnhandledExceptionFilter [ERROR]: This exception that was not handled by the UnhandledExceptionFilter
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/views/jsp/ac/user/index.jsp at line 17
14:
15: <tiles:putAttribute name="body">
16:
17: <ac:user-info user="${user}"/>
18:
19: </tiles:putAttribute>
20:
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
<REMOVED MANY LINES OF OUTPUT>
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: Error reading 'status' on type sgf.gateway.model.security.User
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspService(index_jsp.java:116)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
... 82 more
Caused by: javax.el.ELException: Error reading 'status' on type sgf.gateway.model.security.User
at javax.el.BeanELResolver.getValue(BeanELResolver.java:66)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
at org.apache.jsp.tag.web.ac.user_002dinfo_tag._jspx_meth_c_005fout_005f7(user_002dinfo_tag.java:388)
at org.apache.jsp.tag.web.ac.user_002dinfo_tag.doTag(user_002dinfo_tag.java:200)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspx_meth_ac_005fuser_002dinfo_005f0(index_jsp.java:309)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspx_meth_tiles_005fputAttribute_005f2(index_jsp.java:270)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspx_meth_tiles_005finsertDefinition_005f0(index_jsp.java:157)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspService(index_jsp.java:107)
... 85 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at sgf.gateway.model.security.Group_$$_javassist_18.getName(Group_$$_javassist_18.java)
at sgf.gateway.model.security.User.getStatus(User.java:516)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
Steps to reproduce:
1) Login via OpenID (I used: https://esg.prototype.ucar.edu/myopenid/enienhouse)
2) Click the "Account" tab
3) Click the "Account Summary" link
4) An internal server error is generated.
Login using username/password (instead of OpenID) results in a proper Account Summary page and no error is generated.
Log output:
2011-03-22 15:52:51,090 sgf.gateway.web.filters.exception.UnhandledExceptionFilter [ERROR]: This exception that was not handled by the UnhandledExceptionFilter
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/views/jsp/ac/user/index.jsp at line 17
14:
15: <tiles:putAttribute name="body">
16:
17: <ac:user-info user="${user}"/>
18:
19: </tiles:putAttribute>
20:
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
<REMOVED MANY LINES OF OUTPUT>
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: Error reading 'status' on type sgf.gateway.model.security.User
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspService(index_jsp.java:116)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
... 82 more
Caused by: javax.el.ELException: Error reading 'status' on type sgf.gateway.model.security.User
at javax.el.BeanELResolver.getValue(BeanELResolver.java:66)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
at org.apache.jsp.tag.web.ac.user_002dinfo_tag._jspx_meth_c_005fout_005f7(user_002dinfo_tag.java:388)
at org.apache.jsp.tag.web.ac.user_002dinfo_tag.doTag(user_002dinfo_tag.java:200)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspx_meth_ac_005fuser_002dinfo_005f0(index_jsp.java:309)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspx_meth_tiles_005fputAttribute_005f2(index_jsp.java:270)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspx_meth_tiles_005finsertDefinition_005f0(index_jsp.java:157)
at org.apache.jsp.WEB_002dINF.views.jsp.ac.user.index_jsp._jspService(index_jsp.java:107)
... 85 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at sgf.gateway.model.security.Group_$$_javassist_18.getName(Group_$$_javassist_18.java)
at sgf.gateway.model.security.User.getStatus(User.java:516)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)