Details

      Description

      Step to reproduce:

      1. Enable the Information Template feature via the attached file
      2. Design > Templates > Information Templates

      Expected Results:
      The UI should rendered well and no NPE should be thrown.

      Actual Results:
      The UI is empty and the following NPE thrown.

      2021-09-08 02:31:34.112 ERROR [http-nio-8080-exec-8][IncludeTag:128] Current URL /group/test-site-name/~/control_panel/manage?p_p_id=com_liferay_template_web_internal_portlet_TemplatePortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_template_web_internal_portlet_TemplatePortlet_tabs1=information-templates&p_p_auth=AyOt2W1N generates exception: java.lang.NullPointerException
      java.lang.NullPointerException: null
              at com.liferay.info.internal.item.InfoItemServiceTrackerImpl.getAllInfoItemServices(InfoItemServiceTrackerImpl.java:99) ~[?:?]
              at com.liferay.info.internal.item.InfoItemServiceTrackerImpl.getFirstInfoItemService(InfoItemServiceTrackerImpl.java:134) ~[?:?]
              at com.liferay.info.item.InfoItemServiceTracker.getFirstInfoItemService(InfoItemServiceTracker.java:47) ~[bundleFile:?]        at com.liferay.info.internal.item.InfoItemServiceVerifierImpl.getMissingServiceClasses(InfoItemServiceVerifierImpl.java:42) ~[?:?]
              at com.liferay.template.web.internal.info.item.capability.TemplateInfoItemCapabilityImpl.verify(TemplateInfoItemCapabilityImpl.java:52) ~[bundleFile:?]
              at com.liferay.info.internal.item.InfoItemServiceTrackerImpl.getInfoItemClassDetails(InfoItemServiceTrackerImpl.java:197) ~[?:?]
              at com.liferay.info.internal.item.InfoItemServiceTrackerImpl.getInfoItemClassDetails(InfoItemServiceTrackerImpl.java:222) ~[?:?]
      

      Reproduced on:
      Tomcat 9.0.43 + MySQL 5.7. Portal master GIT ID: 4bc11e114e0e1c29363855f50d7f859796b44857.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Recent user:
            Sophia Zhang
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master