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

Visiting by UC browser on mobile device caused exception

    Details

      Description

      Steps to reproduce:
      1. Start portal.
      2. Using UC browser for mobile device (iPhone 4s, HTC T528W) to visit the portal http://liferay-ip:8080/.
      3. Check the output of terminal and browser.

      Expect result:
      No exception occurred.

      Actual result:
      1. Terminal show error message (liferay.2013-09-14.log).
      2. UC browser for Android device show error message (error_message.jpg).

      Note:
      Error message is in below and attachment, please check for more information.

      01:15:32,150 INFO [localhost-startStop-1][AutoDeployDir:117] Creating missing directory D:\liferay_work\bundles\deploy
      01:15:32,152 INFO [localhost-startStop-1][AutoDeployDir:117] Auto deploy scanner started for D:\liferay_work\bundles\deploy
      01:17:12,048 ERROR [http-bio-8080-exec-5][velocity:151] #parse(): cannot find template 'SERVLET_CONTEXT/wap/themes/mobile/templates/init_custom.vm', called at SERVLET_CONTEXT/html/themes/_unstyled/templates/init.vm[line 389, column 1]
      01:17:12,049 ERROR [http-bio-8080-exec-5][velocity:151] Exception rendering #parse(SERVLET_CONTEXT/html/themes/unstyled/templates/init.vm) at _SERVLET_CONTEXT/wap/themes/mobile/templates/portal_normal.vm[line 4, column 1]
      01:17:12,231 ERROR [http-bio-8080-exec-5][error_jsp:87] User ID null
      01:17:12,232 ERROR [http-bio-8080-exec-5][error_jsp:87] Current URL /
      01:17:12,232 ERROR [http-bio-8080-exec-5][error_jsp:87] Referer null
      01:17:12,233 ERROR [http-bio-8080-exec-5][error_jsp:87] Remote address 192.168.134.166
      01:17:12,235 ERROR [http-bio-8080-exec-5][error_jsp:92] javax.servlet.ServletException: javax.servlet.jsp.JspException: com.liferay.portal.kernel.template.TemplateException: Unable to process template SERVLET_CONTEXT/wap/themes/mobile/templates/portal_normal.vm
      javax.servlet.ServletException: javax.servlet.jsp.JspException: com.liferay.portal.kernel.template.TemplateException: Unable to process template SERVLET_CONTEXT/wap/themes/mobile/templates/portal_normal.vm
      at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:908)
      at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
      at com.liferay.portal.kernel.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:161)
      at org.apache.jsp.wap.common.themes.portal_jsp._jspService(portal_jsp.java:402)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 1 week, 1 day ago

                  Packages

                  Version Package
                  6.2.1 CE GA2
                  6.2.X EE
                  7.0.0 M1