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

Cast exception thrown on clicking custom fields pill

    Details

    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Start portal
      2. Navigate to Control Panel>Configuration>Custom Fields

      Expected: you see the custom fields
      Current: an error is thown

      08:46:07,015 ERROR [http-bio-8080-exec-16][IncludeTag:129] Current URL /group/control_panel?refererPlid=10190&p_p_id=139&controlPanelCategory=configuration generates exception: com.liferay.registry.collections.ServiceTrackerCollectionImpl$EntryWrapper cannot be cast to com.liferay.portlet.expando.model.CustomAttributesDisplay
      java.lang.ClassCastException: com.liferay.registry.collections.ServiceTrackerCollectionImpl$EntryWrapper cannot be cast to com.liferay.portlet.expando.model.CustomAttributesDisplay
      	at com.liferay.portlet.expando.util.comparator.CustomAttributesDisplayComparator.compare(CustomAttributesDisplayComparator.java:1)
      	at java.util.Arrays.mergeSort(Arrays.java:1270)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.mergeSort(Arrays.java:1281)
      	at java.util.Arrays.sort(Arrays.java:1210)
      	at java.util.Collections.sort(Collections.java:157)
      	at org.apache.jsp.html.portlet.expando.view_jsp._jspService(view_jsp.java:601)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
      	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      	at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3864)
      	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)
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 M3