Details
-
Impedibug
-
Status: Closed
-
Major
-
Resolution: Discarded
-
Master
-
None
Description
Step to reproduce:
- Enable the Information Template feature via the attached file
- 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.