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

errors on adding test-hook-portlet to the page

    Details

      Description

      Caused by: org.apache.jasper.JasperException: An exception occurred processing JSP page /view.jsp at line 67

      64: <h3>service</h3>
      65:
      66: <p>
      67: com.liferay.portal.service.UserLocalService=<%= _assertEquals(TestUserImpl.class.getName(), UserLocalServiceUtil.getUserById(2).getClass().getName()) %>
      68: </p>
      69:
      70: <%!

      Stacktrace:
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
      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:630)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:318)
      at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:107)
      ... 124 more
      Caused by: javax.servlet.ServletException: com.liferay.portal.NoSuchUserException: No User exists with the primary key 2

        Attachments

          Activity

            People

            • Assignee:
              steven.cao Steven Cao (Inactive)
              Reporter:
              steven.cao Steven Cao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 6 weeks, 5 days ago

                Packages

                Version Package
                6.0.3 GA
                6.0.4 GA