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

NPE when user adds nested portlet, cannot render nested portlet

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M2
    • Labels:
    • Environment:

      Description

      User will see attached exception when adding the Nested Portlet to a page.

      Nested portlet functions correctly

      11:49:04,034 ERROR [view_jsp:?] Cannot render Nested Portlets portlet
           [exec] java.lang.NullPointerException
           [exec] 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.doDispatch(RuntimePortletImpl.java:320)
           [exec] 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:223)
           [exec] 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:211)
           [exec] 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:113)
           [exec] 	at org.apache.jsp.html.portlet.nested_005fportlets.view_jsp._jspService(Unknown Source)
           [exec] 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
           [exec] 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           [exec] 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
           [exec] 	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:53)
           [exec] 	at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.doDispatch(PACLRequestDispatcherWrapper.java:90)
           [exec] 	at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.include(PACLRequestDispatcherWrapper.java:54)
           [exec] 	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:345)
           [exec] 	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:245)
           [exec] 	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:86)
           [exec] 	at org.apache.jsp.html.common.themes.portlet_jsp._jspService(Unknown Source)
           [exec] 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
           [exec] 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           [exec] 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
           [exec] 	at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:323)
           [exec] 	at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:120)
           [exec] 	at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:357)
           [exec] 	at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:327)
           [exec] 	at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
           [exec] 	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
           [exec] 	at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:465)
           [exec] 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
           [exec] 	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:224)
           [exec] 	at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:274)
           [exec] 	at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:153)
           [exec] 	at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:211)
           [exec] 	at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
           [exec] 	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
           [exec] 	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
           [exec] 	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:548)
           [exec] 	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:607)
           [exec] 	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:359)
           [exec] 	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
           [exec] 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
           [exec] 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           [exec] 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
           [exec] 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
           [exec] 	at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:5027)
           [exec] 	at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4986)
           [exec] 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1510)
           [exec] 	at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:92)
           [exec] 	at com.liferay.portal.action.UpdateLayoutAction.addPortlet(UpdateLayoutAction.java:334)
           [exec] 	at com.liferay.portal.action.UpdateLayoutAction.getJSON(UpdateLayoutAction.java:287)
           [exec] 	at com.liferay.portal.struts.JSONAction.execute(JSONAction.java:74)
           [exec] 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
           [exec] 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
           [exec] 	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
           [exec] 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
           [exec] 	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
           [exec] 	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:550)
           [exec] 	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:527)
           [exec] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
           [exec] 	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:310)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
           [exec] 	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
           [exec] 	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
           [exec] 	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
           [exec] 	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
           [exec] 	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
           [exec] 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
           [exec] 	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
           [exec] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
           [exec] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
           [exec] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
           [exec] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
           [exec] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
           [exec] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
           [exec] 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
           [exec] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
           [exec] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
           [exec] 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
           [exec] 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
           [exec] 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
           [exec] 	at java.lang.Thread.run(Thread.java:662)
      

        Attachments

          Activity

            People

            Assignee:
            luyang.tan Luyang Tan (Inactive)
            Reporter:
            lawrence.lee Lawrence Lee
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 7 weeks ago

                Packages

                Version Package
                6.1.1 CE GA2
                6.1.20 EE GA2
                --Sprint 11/12
                6.2.0 CE M2