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

InvalidReferenceException when searching tag related to blogs

    Description

    Steps to reproduce:

    1. Create a blank site.
    2. Add one public page and a search page.
    3. Add blog portlet to the public page.
    4. Add three blogs which has the following tage: blue, blue green and yellow. For example:
      entryTitle = "Entry Title 1",
      entryContent = "Entry Content 1",
      tagName = "blue"
    5. Go to search page, search "blue".

    Expected result: Search results should display in the page.
    Actual result: Page turns to be blank and the InvalidReferenceException is thrown in the console.

    2019-02-14 08:07:32.698 ERROR [http-nio-8080-exec-10][runtime:60] Error executing FreeMarker template
    FreeMarker template error:
    The following has evaluated to null or missing:
    ==> portletConfigurationIcon.getIconCssClass()  [in template "classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl" at line 44, column 73]
    
    ----
    Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
    ----
    
    ----
    FTL stack trace ("~" means nesting-related):
            - Failed at: ${portletConfigurationIcon.getIconCss...  [in template "classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl" at line 44, column 71]
            - Reached through: @liferay_ui["icon"] icon="${portletCo...  [in template "classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl" at line 43, column 57]
    ----
    
    Java stack trace (for programmers):
    ----
    freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
            at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:131)
            at freemarker.core.EvalUtil.coerceModelToString(EvalUtil.java:355)
            at freemarker.core.Expression.evalAndCoerceToString(Expression.java:82)
            at freemarker.core.DollarVariable.accept(DollarVariable.java:41)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.Environment.renderElementToString(Environment.java:2196)
            at freemarker.core.StringLiteral.evalAndCoerceToString(StringLiteral.java:96)
            at freemarker.core.StringLiteral._eval(StringLiteral.java:73)
            at freemarker.core.Expression.eval(Expression.java:78)
            at freemarker.core.UnifiedCall.accept(UnifiedCall.java:97)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.IfBlock.accept(IfBlock.java:48)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.Environment.process(Environment.java:302)
            at freemarker.template.Template.process(Template.java:325)
            at com.liferay.portal.template.freemarker.internal.FreeMarkerTemplate.processTemplate(FreeMarkerTemplate.java:123)
            at com.liferay.portal.template.AbstractSingleResourceTemplate.processTemplate(AbstractSingleResourceTemplate.java:78)
            at com.liferay.taglib.util.ThemeUtil.doIncludeFTL(ThemeUtil.java:283)
            at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:111)
            at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:78)
            at com.liferay.taglib.theme.WrapPortletTag.doEndTag(WrapPortletTag.java:94)
            at org.apache.jsp.html.common.themes.portlet_jsp._jspService(Unknown Source)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
            at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
            at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
            at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:393)
            at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:370)
            at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:215)
            at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:89)
            at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
            at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
            at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
            at com.liferay.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:162)
            at com.liferay.portlet.internal.PortletContainerImpl._render(PortletContainerImpl.java:870)
            at com.liferay.portlet.internal.PortletContainerImpl.lambda$render$2(PortletContainerImpl.java:216)
            at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:395)
            at com.liferay.portlet.internal.PortletContainerImpl.render(PortletContainerImpl.java:205)
            at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:142)
            at com.liferay.portlet.RestrictPortletContainerWrapper.lambda$render$0(RestrictPortletContainerWrapper.java:126)
            at com.liferay.portlet.RestrictPortletContainerWrapper._render(RestrictPortletContainerWrapper.java:183)
            at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:124)
            at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:212)
            at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:305)
            at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:89)
            at com.liferay.taglib.portletext.RuntimeTag.doEndTag(RuntimeTag.java:336)
            at freemarker.ext.jsp.TagTransformModel$TagWriter.endEvaluation(TagTransformModel.java:400)
            at freemarker.ext.jsp.TagTransformModel$TagWriter.onStart(TagTransformModel.java:344)
            at freemarker.core.Environment.visitAndTransform(Environment.java:422)
            at freemarker.core.UnifiedCall.accept(UnifiedCall.java:107)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.Macro$Context.runMacro(Macro.java:184)
            at freemarker.core.Environment.invoke(Environment.java:701)
            at freemarker.core.UnifiedCall.accept(UnifiedCall.java:84)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.Environment.include(Environment.java:2072)
            at freemarker.core.Include.accept(Include.java:167)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.Environment.process(Environment.java:302)
            at freemarker.template.Template.process(Template.java:325)
            at com.liferay.portal.template.freemarker.internal.FreeMarkerTemplate.processTemplate(FreeMarkerTemplate.java:123)
            at com.liferay.portal.template.AbstractSingleResourceTemplate.processTemplate(AbstractSingleResourceTemplate.java:78)
            at com.liferay.taglib.util.ThemeUtil.doIncludeFTL(ThemeUtil.java:283)
            at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:111)
            at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:78)
            at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
            at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(Unknown Source)
            at org.apache.jsp.html.common.themes.portal_jsp._jspService(Unknown Source)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
            at com.liferay.portal.servlet.DirectRequestDispatcher.forward(DirectRequestDispatcher.java:49)
            at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.forward(DirectRequestDispatcherFactoryImpl.java:185)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:82)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.forward(ClassLoaderRequestDispatcherWrapper.java:45)
            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:62)
            at com.liferay.portal.struts.PortalRequestProcessor._internalModuleRelativeForward(PortalRequestProcessor.java:359)
            at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:409)
            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:154)
            at com.liferay.portal.internal.servlet.MainServlet.doGet(MainServlet.java:201)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
            at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:620)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:103)
            at com.liferay.portal.apio.internal.architect.servlet.filter.APIDocumentationFilter.processFilter(APIDocumentationFilter.java:74)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:58)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
            at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:372)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
            at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:98)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:103)
            at com.liferay.portal.apio.internal.architect.servlet.filter.APIDocumentationFilter.processFilter(APIDocumentationFilter.java:74)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:340)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:358)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:58)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:88)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:260)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:263)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
            at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
            at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
            at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
            at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
            at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
            at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
            at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
            at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
            at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
            at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
            at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
            at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
            at java.lang.Thread.run(Thread.java:745)
    2019-02-14 08:07:32.703 ERROR [http-nio-8080-exec-10][IncludeTag:128] Current URL /web/site-name/search?q=blue generates exception: javax.servlet.jsp.JspException: com.liferay.portal.kernel.template.TemplateException: Unable to process template classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl
    freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:_==> portletConfigurationIcon.getIconCssClass()  [in template "classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl" at line 44, column 73]__----_Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??_----__----_FTL stack trace ("~" means nesting-related):_ - Failed at: ${portletConfigurationIcon.getIconCss...  [in template "classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl" at line 44, column 71]_    - Reached through: @liferay_ui["icon"] icon="${portletCo...  [in template "classic-theme_SERVLET_CONTEXT_/templates/portlet.ftl" at line 43, column 57]_---- [Sanitized]
            at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:131)
            at freemarker.core.EvalUtil.coerceModelToString(EvalUtil.java:355)
            at freemarker.core.Expression.evalAndCoerceToString(Expression.java:82)
            at freemarker.core.DollarVariable.accept(DollarVariable.java:41)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.Environment.renderElementToString(Environment.java:2196)
            at freemarker.core.StringLiteral.evalAndCoerceToString(StringLiteral.java:96)
            at freemarker.core.StringLiteral._eval(StringLiteral.java:73)
            at freemarker.core.Expression.eval(Expression.java:78)
            at freemarker.core.UnifiedCall.accept(UnifiedCall.java:97)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.IfBlock.accept(IfBlock.java:48)
            at freemarker.core.Environment.visitByHiddingParent(Environment.java:345)
            at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
            at freemarker.core.Environment.visit(Environment.java:324)
            at freemarker.core.MixedContent.accept(MixedContent.java:54)
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            john.co John Co
            Reporter:
            joyce.wang Joyce Wang
            Participants of an Issue:
            Recent user:
            John Co
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 1 week, 4 days ago

                Packages

                Version Package
                Master