Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-14073

Blog Aggregator portlet throws an exception for users who have been deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.3
    • Fix Version/s: 6.1.0 CE RC1
    • Component/s: Collaboration > Blogs
    • Labels:
      None
    • Environment:
      Linux, TcServer 6, MySQL 5

      Description

      If any of the users who would normally be displayed by the Blog Aggregator portlet have been removed, the portlet throws the following exception:

      20:19:12,492 ERROR [IncludeTag:78] Current URL /web/oracle-sun/news generates exception: javax.servlet.ServletException?: com.liferay.portal.NoSuchUserException?: No User exists with the primary key 13205
      20:19:12,493 ERROR [IncludeTag:157] com.liferay.portal.NoSuchUserException?: No User exists with the primary key 13205

      at com.liferay.portal.service.persistence.UserPersistenceImpl?.findByPrimaryKey(UserPersistenceImpl?.java:680)
      at com.liferay.portal.service.impl.UserLocalServiceImpl?.getUserById(UserLocalServiceImpl?.java:1327)
      at com.liferay.portal.service.UserLocalServiceUtil?.getUserById(UserLocalServiceUtil?.java:489)
      at org.apache.jsp.html.portlet.blogs_005faggregator.view_jsp._jspService(view_jsp.java:985)
      at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
      at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
      at org.apache.jasper.servlet.JspServletWrapper?.service(JspServletWrapper?.java:374)
      at org.apache.jasper.servlet.JspServlet?.serviceJspFile(JspServlet?.java:342)
      at org.apache.jasper.servlet.JspServlet?.service(JspServlet?.java:267)
      at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
      at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:290)
      at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:206)
      at org.apache.catalina.core.ApplicationDispatcher?.invoke(ApplicationDispatcher?.java:646)
      at org.apache.catalina.core.ApplicationDispatcher?.doInclude(ApplicationDispatcher?.java:551)
      at org.apache.catalina.core.ApplicationDispatcher?.include(ApplicationDispatcher?.java:488)
      at com.liferay.taglib.util.IncludeTag?.doEndTag(IncludeTag?.java:66)
      at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:2844)
      at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
      at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
      at org.apache.jasper.servlet.JspServletWrapper?.service(JspServletWrapper?.java:374)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 26 weeks, 3 days ago