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

ServletException failure in RenderFragmentEntryStrutsActionTest

    Details

    • Fix Priority:
      3

      Description

      https://testray.liferay.com/home/-/testray/case_results/781102805

          [exec] com.liferay.fragment.internal.struts.test.RenderFragmentEntryStrutsActionTest > testRenderFragment FAILED
           [exec]     javax.servlet.ServletException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 0 must have Invalid token received permission for null 
           [exec]     	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:953)
           [exec]     	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:885)
           [exec]     	at com.liferay.taglib.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:173)
           [exec]     	at org.apache.jsp.render_005ffragment_005fentry_jsp._jspService(render_005ffragment_005fentry_jsp.java:254)
           [exec]     	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
           [exec]     	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           [exec]     	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
           [exec]     	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
           [exec]     	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
           [exec]     	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           [exec]     	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:325)
           [exec]     	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:336)
           [exec]     	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
           [exec]     	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
           [exec]     	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
           [exec]     	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
           [exec]     	at com.liferay.fragment.web.internal.struts.RenderFragmentEntryStrutsAction.execute(RenderFragmentEntryStrutsAction.java:95)
           [exec]     	at com.liferay.fragment.internal.struts.test.RenderFragmentEntryStrutsActionTest.testRenderFragment(RenderFragmentEntryStrutsActionTest.java:127)
           [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.base/java.lang.Thread.run(Thread.java:834)
           [exec]     Caused by: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 0 must have Invalid token received permission for null 
           [exec]     	at com.liferay.fragment.web.internal.display.context.RenderFragmentEntryDisplayContext.getDefaultFragmentRendererContext(RenderFragmentEntryDisplayContext.java:72)
           [exec]     	at org.apache.jsp.render_005ffragment_005fentry_jsp._jspService(render_005ffragment_005fentry_jsp.java:248)
           [exec]     	... 41 more
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                12 weeks, 3 days ago

                Packages

                Version Package
                Master