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

Random ConcurrentModificationException comes up when running LiferayTemplateClassResolverTest

    Details

      Description

      This is a random issue found by CI, LiferayTemplateClassResolverTest will fail randomly caused by ConcurrentModificationException.

      No need to test by QA manually.

      Error log :

      [exec] com.liferay.portal.template.freemarker.test.LiferayTemplateClassResolverTest > testResolveAllowedPortalClassExplicitlyRestricted STARTED
      [exec] 19:37:21,084 ERROR [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.liferay.portal.template.freemarker.configuration.FreeMarkerEngineConfiguration)][org_apache_felix_configadmin:97] Unexpected problem delivering configuration event to [org.osgi.service.cm.ConfigurationListener, id=75, bundle=24/reference:Static-Jar::/opt/dev/projects/github/liferay-portal/bundles/osgi/static/org.apache.felix.configadmin.jar]

      {org.osgi.service.cm.ConfigurationAdmin}

      =

      {service.vendor=Apache Software Foundation, service.pid=org.apache.felix.cm.ConfigurationAdmin, service.description=Configuration Admin Service Specification 1.2 Implementation, service.id=55, service.bundleid=24, service.scope=bundle}

      [exec] java.util.ConcurrentModificationException
      [exec] at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1207)
      [exec] at java.util.TreeMap$EntryIterator.next(TreeMap.java:1243)
      [exec] at java.util.TreeMap$EntryIterator.next(TreeMap.java:1238)
      [exec] at java.util.TreeMap.buildFromSorted(TreeMap.java:2555)
      [exec] at java.util.TreeMap.buildFromSorted(TreeMap.java:2504)
      [exec] at java.util.TreeMap.<init>(TreeMap.java:200)
      [exec] at org.apache.felix.cm.impl.CaseInsensitiveDictionary.<init>(CaseInsensitiveDictionary.java:62)
      [exec] at org.apache.felix.cm.impl.CachingPersistenceManagerProxy.copy(CachingPersistenceManagerProxy.java:259)
      [exec] at org.apache.felix.cm.impl.CachingPersistenceManagerProxy.getDictionaries(CachingPersistenceManagerProxy.java:155)
      [exec] at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:658)
      [exec] at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:185)
      [exec] at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.getConfigurationInfo(RegionConfigurationSupport.java:445)
      [exec] at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:259)
      [exec] at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:2046)
      [exec] at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:2014)
      [exec] at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:143)
      [exec] at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:110)
      [exec] at java.lang.Thread.run(Thread.java:745)

      Please see error.log for more details

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 41 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP13
                7.0.0 DXP SP3
                7.0.3 CE GA4
                7.1.X
                Master