Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1578

Error 500 when sending PM to deleted user

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0 Larks
    • Fix Version/s: 2.1 Larks
    • Labels:
      None
    • Environment:

      Firefox, JCommune 2.0.1374

    • Sprint:
      2.1 Larks

      Description

      Steps to reproduce
      1. User1 sends PM to User2
      2. User2 has been deleted (User2 doesn't activated profile, for example)
      3. User1 goes to Outbox

      Actual result
      Error 500

      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/pm/outbox.jsp at line 1
      
      1: <%-- Copyright (C) 2011 JTalks.org Team This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --%><%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %><%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %><%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %><%@ taglib prefix="jtalks" uri="http://www.jtalks.org/tags" %><%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %><head> <title><spring:message code="label.outbox"/></title></head><body> <div class="container"> <%-- Start of pagination --%> <div class="row-fluid upper-pagination forum-pagination-container"> <div class="span11"> <div class="pagination pull-right forum-pagination"> <ul> <jtalks:pagination uri="" page="${outboxPage}" numberLink="3"/> </ul> </div> </div> </div> <%-- End of pagination --%> <hr/> <div class="row"> <div class="span2"> <jsp:include page="../../template/newPrivateMessage.jsp"/> <jsp:include page="../../template/pmFolders.jsp"/> </div> <%-- /span2--%> <div class="span9"> <div class="pm_buttons"> <div class="del"> <a class="btn btn-danger" id="deleteCheckedPM" href="${pageContext.request.contextPath}/pm"> <i class="icon-trash icon-white"></i> <spring:message code="label.delete"/> </a> <form:form id="deleteForm" method="DELETE"/> </div> </div> <table class="table table-bordered table-condensed"> <thead> <tr> <th class="pm_header_check"> <input type="checkbox" class="check_all"/></th> <th class="pm_header_info"><i class="icon-white-user"></i> <spring:message code="label.pm.recipient"/></th> <th><i class="icon-white-font"></i> <spring:message code="label.pm.title"/></th> <th class="pm_sending_date"><i class="icon-white-calendar"></i> <spring:message code="label.sending_date"/></th> </tr> </thead> <tbody> <c:choose> <c:when test="${!(empty outboxPage.content)}"> <c:forEach var="pm" items="${outboxPage.content}"> <c:choose> <c:when test="${pm.read}"> <tr id="${pm.id}" class="mess" > </c:when> <c:otherwise> <tr id="${pm.id}" class="mess pm_unread"> </c:otherwise> </c:choose> <td><input type="checkbox" id="${pm.id}" class="checker"/></td> <td class="pm_user_to_from"> <a href="${pageContext.request.contextPath}/users/${pm.userTo.id}"> <c:out value="${pm.userTo.username}"/> </a> </td> <td> <a href="${pageContext.request.contextPath}/pm/outbox/${pm.id}"> <c:out value="${pm.title}"/> </a> </td> <td> <jtalks:format value="${pm.creationDate}"/> </td> </tr> </c:forEach> </c:when> <c:otherwise> <tr> <td colspan="4"><spring:message code="label.outbox.empty"/></td> </tr> </c:otherwise> </c:choose> </tbody> </table> </div> <!-- /span9 --> </div> <%-- /row--%> <hr/> <%-- Start of pagination --%> <div class="row-fluid upper-pagination forum-pagination-container"> <div class="span11"> <div class="pagination pull-right forum-pagination"> <ul> <jtalks:pagination uri="" page="${outboxPage}" numberLink="3"/> </ul> </div> </div> </div> <%-- End of pagination --%></div><%--/container--%><div class="footer_buffer"></div> </body>
      
      
      Stacktrace:
      	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:519)
      	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:428)
      	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
      	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
      	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
      	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.jtalks.jcommune.web.filters.LoggingConfigurationFilter.doFilter(LoggingConfigurationFilter.java:66)
      	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      	org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
      	com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
      	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      	org.jtalks.jcommune.web.filters.UsernamePasswordAuthenticationFilter.doFilter(UsernamePasswordAuthenticationFilter.java:64)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
      	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	com.cj.trim.trimFilter.doFilter(Unknown Source)
      	org.jtalks.jcommune.web.filters.TrimFilter.doFilter(TrimFilter.java:82)
      
      root cause
      
      javax.el.ELException: Error reading 'username' on type org.jtalks.jcommune.model.entity.JCUser_$$_javassist_5
      	javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
      	javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
      	org.apache.el.parser.AstValue.getValue(AstValue.java:123)
      	org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:938)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fout_005f0(outbox_jsp.java:540)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fforEach_005f0(outbox_jsp.java:410)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fwhen_005f0(outbox_jsp.java:365)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fchoose_005f0(outbox_jsp.java:332)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspService(outbox_jsp.java:115)
      	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
      	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
      	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
      	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
      	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.jtalks.jcommune.web.filters.LoggingConfigurationFilter.doFilter(LoggingConfigurationFilter.java:66)
      	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      	org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
      	com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
      	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      	org.jtalks.jcommune.web.filters.UsernamePasswordAuthenticationFilter.doFilter(UsernamePasswordAuthenticationFilter.java:64)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
      	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	com.cj.trim.trimFilter.doFilter(Unknown Source)
      	org.jtalks.jcommune.web.filters.TrimFilter.doFilter(TrimFilter.java:82)
      
      root cause
      
      org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jtalks.jcommune.model.entity.JCUser#650]
      	org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435)
      	org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:189)
      	org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:178)
      	org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
      	org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
      	org.jtalks.jcommune.model.entity.JCUser_$$_javassist_5.getUsername(JCUser_$$_javassist_5.java)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	javax.el.BeanELResolver.getValue(BeanELResolver.java:83)
      	javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
      	org.apache.el.parser.AstValue.getValue(AstValue.java:123)
      	org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:938)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fout_005f0(outbox_jsp.java:540)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fforEach_005f0(outbox_jsp.java:410)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fwhen_005f0(outbox_jsp.java:365)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspx_meth_c_005fchoose_005f0(outbox_jsp.java:332)
      	org.apache.jsp.WEB_002dINF.jsp.pm.outbox_jsp._jspService(outbox_jsp.java:115)
      	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
      	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
      	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
      	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
      	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	org.jtalks.jcommune.web.filters.LoggingConfigurationFilter.doFilter(LoggingConfigurationFilter.java:66)
      	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      	org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
      	com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
      	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      	org.jtalks.jcommune.web.filters.UsernamePasswordAuthenticationFilter.doFilter(UsernamePasswordAuthenticationFilter.java:64)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
      	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
      	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	com.cj.trim.trimFilter.doFilter(Unknown Source)
      	org.jtalks.jcommune.web.filters.TrimFilter.doFilter(TrimFilter.java:82)
      

      Expected result
      User1 should see all inboxes (message to User2 too). If User1 clicks on User2 nickname - he receives 404 error. If User1 clicks on message title - message should be opened.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Reise Victor Panchuk
                Reporter:
                varro Artem R
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 5m
                  7h 5m

                    Structure Helper Panel