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

InfoListProvider (Content Set Provider) not selectable - Runtime error on 7.3.1GA2

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.3.1 CE GA2, Master
    • Fix Version/s: 7.3.2 CE GA3, Master
    • Component/s: Info Framework
    • Labels:
      None
    • Fix Priority:
      2

      Description

      Vanilla 7.3.1 GA2 installation:

      • Add an AssetPublisher to the home page
      • configure it
      • select Content Set Provider

      There's no Content Set Provider to choose from (expected, as there's none built-in), instead there's a long stacktrace in the logs (full stacktrace attached, excerpt below). The UI shows "Success: You have successfully updated the setup."

      Even if an InfoListProvider is deployed, the logged error seems to prevent choosing it - e.g. it seems that this feature is completely unavailable.

      2020-04-02 07:15:03.041 ERROR [http-nio-8080-exec-5][BaseJSPFormNavigatorEntry:55] Unable to include JSP /configuration/asset_list_provider.jsp
      org.apache.jasper.JasperException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      
      ...
      
      Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
      	at com.liferay.info.internal.util.GenericsUtil.getItemClass(GenericsUtil.java:31)
      	at com.liferay.info.internal.util.GenericsUtil.getItemClass(GenericsUtil.java:49)
      	at com.liferay.info.internal.util.GenericsUtil.getItemClassName(GenericsUtil.java:53)
      	at com.liferay.info.internal.list.provider.InfoListProviderTrackerImpl.getInfoListProviders(InfoListProviderTrackerImpl.java:55)
      	at com.liferay.asset.publisher.web.internal.display.context.AssetPublisherDisplayContext.getAssetEntryInfoListProviders(AssetPublisherDisplayContext.java:356)
      	at org.apache.jsp.configuration.asset_005flist_005fprovider_jsp._jspService(asset_005flist_005fprovider_jsp.java:314)
      
      ...
      
      2020-04-02 07:15:03.049 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /web/guest/home?p_p_id=com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet&p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_javax.portlet.action=editConfiguration&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_mvcPath=%2Fedit_configuration.jsp&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_returnToFullPageURL=%2F&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_portletConfiguration=true&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_portletResource=com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_mxiiZO1JeJVU&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_previewWidth=&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_settingsScope=portletInstance generates exception: Unable to include /configuration/asset_list_provider.jsp
      java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
      	at com.liferay.info.internal.util.GenericsUtil.getItemClass(GenericsUtil.java:31)
      	at com.liferay.info.internal.util.GenericsUtil.getItemClass(GenericsUtil.java:49)
      	at com.liferay.info.internal.util.GenericsUtil.getItemClassName(GenericsUtil.java:53)
      	at com.liferay.info.internal.list.provider.InfoListProviderTrackerImpl.getInfoListProviders(InfoListProviderTrackerImpl.java:55)
      	at com.liferay.asset.publisher.web.internal.display.context.AssetPublisherDisplayContext.getAssetEntryInfoListProviders(AssetPublisherDisplayContext.java:356)
      	at org.apache.jsp.configuration.asset_005flist_005fprovider_jsp._jspService(asset_005flist_005fprovider_jsp.java:314)

       

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            olaf.kock Olaf Kock
            Participants of an Issue:
            Recent user:
            Olaf Kock
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              26 weeks ago

                Packages

                Version Package
                7.3.2 CE GA3
                Master