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

Add a page with page template casue NullPointerException

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 6.1.X EE, 6.2.X EE, 7.0.0 M3
    • Component/s: Site Templates
    • Labels:
      None
    • Environment:
      Tomcat 7.0.42 + MySQL 5.5.34. Portal master GIT ID: b21468dfb9390cdfd29f37f3f56517a8184db2d4.

      Description

      1. Add a page with a page template (for example, use Blog Page Template).
      2. Click the newly created page to view the page.

      Expected result:
      It should be no exception.

      Actual result:
      Throw NullPointerException in the console.

      06:32:14,575 ERROR [RuntimePageImpl-2][IncludeTag:129] Current URL /web/guest/blog-test-page generates exception: javax.servlet.ServletException: com.liferay.portal.kernel.exception.SystemException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.portal.kernel.util.StringUtil.toLowerCase(StringUtil.java:3774)
              at com.liferay.portal.kernel.util.StringUtil.toLowerCase(StringUtil.java:3768)
              at com.liferay.portlet.asset.service.persistence.AssetTagFinderImpl.doFindByG_C_N(AssetTagFinderImpl.java:447)
              at com.liferay.portlet.asset.service.persistence.AssetTagFinderImpl.filterFindByG_C_N(AssetTagFinderImpl.java:119)
              at com.liferay.portlet.asset.service.impl.AssetTagServiceImpl.getTags(AssetTagServiceImpl.java:211)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      

      .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                he.song Serena Song (Inactive)
                Reporter:
                he.song Serena Song (Inactive)
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 47 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE
                  7.0.0 M3