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

ExceptionInInitializerError at IdentifiableOSGiServiceTest

    Details

    • Fix Priority:
      4

      Description

      Steps to Reproduce:

      1. Navigate to modules/test/identifiable-osgi-service-test
      2. gw testIntegration

      https://testray.liferay.com/home/-/testray/case_results/793170742?tab=history

      java.lang.ExceptionInInitializerError  at com.liferay.identifiable.osgi.service.test.IdentifiableOSGiServiceTest.testIdentifiableOSGiService(IdentifiableOSGiServiceTest.java:71)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)  at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)  at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)  at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)  at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)  at com.sun.proxy.$Proxy88.getOSGiServiceIdentifier(Unknown Source)  at com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServiceUtil$IdentifiableOSGiServiceServiceTrackerCustomizer.addingService(IdentifiableOSGiServiceUtil.java:65)  at com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServiceUtil$IdentifiableOSGiServiceServiceTrackerCustomizer.addingService(IdentifiableOSGiServiceUtil.java:50)  at com.liferay.registry.internal.ServiceTrackerCustomizerAdapter.addingService(ServiceTrackerCustomizerAdapter.java:35)  at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)  at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)  at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)  at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)  at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:321)  at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:264)  at com.liferay.registry.internal.ServiceTrackerWrapper.open(ServiceTrackerWrapper.java:186)  at com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServiceUtil.<clinit>(IdentifiableOSGiServiceUtil.java:114)  ... 26 more 

      Full log: https://testray.liferay.com/reports/production/logs/test-1-1/1569298256132/test-portal-acceptance-upstream(7.2.x-private)/369/modules-integration-hypersonic20-jdk8/14/jenkins-console.txt.gz

        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:
                  16 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.X
                  7.2.1 CE GA2
                  Master