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

Unable to create snapshot class for interface com.liferay.blogs.configuration.BlogsGroupServiceConfiguration

    Description

    Steps to Reproduce locally:

    1. Build portal (ant all)
    2. ant -f build-test.xml setup-testable-tomcat
    3. run portal tomacat bundle with:
       ./catalina.sh jacoco run 

    Testray
    Jenkins

     [parallel] 2021-06-08 10:28:39.329 ERROR [CM Configuration Updater (ManagedService Update: pid=[com.liferay.blogs.configuration.BlogsGroupServiceConfiguration])][LogService:93] [org.osgi.service.cm.ManagedService, id=6838, bundle=223/file:/opt/dev/projects/github/liferay-portal/bundles/osgi/portal/com.liferay.portal.configuration.settings.jar]: Unexpected problem updating configuration com.liferay.blogs.configuration.BlogsGroupServiceConfiguration {org.osgi.service.cm.ConfigurationAdmin}={service.description=Configuration Admin Service Specification 1.6 Implementation, service.id=51, service.bundleid=58, service.scope=bundle, service.vendor=The Apache Software Foundation, service.pid=org.apache.felix.cm.ConfigurationAdmin}
     [parallel] java.lang.RuntimeException: Unable to create snapshot class for interface com.liferay.blogs.configuration.BlogsGroupServiceConfiguration
     [parallel] 	at com.liferay.portal.configuration.metatype.bnd.util.ConfigurableUtil._createConfigurableSnapshot(ConfigurableUtil.java:97) ~[?:?]
     [parallel] 	at com.liferay.portal.configuration.metatype.bnd.util.ConfigurableUtil.createConfigurable(ConfigurableUtil.java:48) ~[?:?]
     [parallel] 	at com.liferay.portal.configuration.settings.internal.ConfigurationBeanManagedService.doUpdated(ConfigurationBeanManagedService.java:97) ~[?:?]
     [parallel] 	at com.liferay.portal.configuration.settings.internal.ConfigurationBeanManagedService.updated(ConfigurationBeanManagedService.java:88) ~[?:?]
     [parallel] 	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) ~[bundleFile:?]
     [parallel] 	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) [bundleFile:?]
     [parallel] 	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) [bundleFile:?]
     [parallel] 	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1104) [bundleFile:?]
     [parallel] 	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1060) [bundleFile:?]
     [parallel] 	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) [bundleFile:?]
     [parallel] 	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [bundleFile:?]
     [parallel] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
     [parallel] Caused by: java.lang.reflect.InvocationTargetException
     [parallel] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_121]
     [parallel] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_121]
     [parallel] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_121]
     [parallel] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_121]
     [parallel] 	at com.liferay.portal.configuration.metatype.bnd.util.ConfigurableUtil._createConfigurableSnapshot(ConfigurableUtil.java:94) ~[?:?]
     [parallel] 	... 11 more
     [parallel] Caused by: java.lang.IllegalAccessError: tried to access method com.liferay.blogs.configuration.BlogsGroupServiceConfiguration.$jacocoInit()[Z from class com.liferay.blogs.configuration.BlogsGroupServiceConfigurationSnapshot
     [parallel] 	at com.liferay.blogs.configuration.BlogsGroupServiceConfigurationSnapshot.<init>(Unknown Source) ~[?:?]
     [parallel] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_121]
     [parallel] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_121]
     [parallel] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_121]
     [parallel] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_121]
     [parallel] 	at com.liferay.portal.configuration.metatype.bnd.util.ConfigurableUtil._createConfigurableSnapshot(ConfigurableUtil.java:94) ~[?:?]
     [parallel] 	... 11 more
    

      Attachments

        Activity

          People

          Assignee:
          shuyang.zhou Shuyang Zhou
          Reporter:
          eric.park Eric Park
          Participants of an Issue:
          Recent user:
          Rafaela Nascimento
          Engineering Assignee:
          Support QA
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            14 weeks, 2 days ago

              Packages

              Version Package
              7.4.2 CE GA3 DXP 7,4
              Master