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

Unexpected close tag </preference>; expected </portlet-preferences>

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.10 EE GA1
    • Fix Version/s: 6.1.20 EE GA2
    • Component/s: Application Security
    • Labels:
    • Environment:
      Glassfish 3.1.2

      Description

      After an upgrade from 6.0 CE the LDAP configuration resides in the portal-ext.properties. If an administrator goes into the LDAP page in the console, we start seeing this error in the logs and log is prevented:

      [#|2012-07-03T14:53:17.593-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|CONSOLE 2012-07-03 14:53:17,591 1157787 ERROR com.liferay.portal.servlet.filters.sso.cas.CASFilter - com.liferay.portal.kernel.exception.SystemException: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </preference>; expected </portlet-preferences>.
      at [row,col

      {unknown-source}]: [1,221]
      com.liferay.portal.kernel.exception.SystemException: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </preference>; expected </portlet-preferences>.
      at [row,col {unknown-source}

      ]: [1,221]
      at com.liferay.portlet.PortletPreferencesFactoryImpl.populateMap(PortletPreferencesFactoryImpl.java:584)
      at com.liferay.portlet.PortletPreferencesFactoryImpl.fromXML(PortletPreferencesFactoryImpl.java:115)
      at com.liferay.portlet.PortletPreferencesFactoryImpl.fromXML(PortletPreferencesFactoryImpl.java:1)
      at com.liferay.portlet.PortletPreferencesFactoryUtil.fromXML(PortletPreferencesFactoryUtil.java:56)
      at com.liferay.portal.service.impl.PortalPreferencesLocalServiceImpl.doGetPreferences(PortalPreferencesLocalServiceImpl.java:199)
      at com.liferay.portal.service.impl.PortalPreferencesLocalServiceImpl.getPreferences(PortalPreferencesLocalServiceImpl.java:105)
      at com.liferay.portal.service.impl.PortalPreferencesLocalServiceImpl.getPreferences(PortalPreferencesLocalServiceImpl.java:92)
      at sun.reflect.GeneratedMethodAccessor567.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
      at $Proxy199.getPreferences(Unknown Source)
      at com.liferay.portal.service.PortalPreferencesLocalServiceUtil.getPreferences(PortalPreferencesLocalServiceUtil.java:276)

        Attachments

          Activity

            People

            Assignee:
            kristoffer.onias Kristoffer Onias
            Reporter:
            m0smith Matthew O. Smith (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 8 weeks, 1 day ago

                Packages

                Version Package
                6.1.20 EE GA2