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

Failure in com.liferay.dynamic.data.mapping.data.provider.internal.rest.DDMRESTDataProviderTest

    Description

    Testray

    Jenkins

        [exec] com.liferay.dynamic.data.mapping.data.provider.internal.rest.DDMRESTDataProviderTest > initializationError STARTED
         [exec] 
         [exec] com.liferay.dynamic.data.mapping.data.provider.internal.rest.DDMRESTDataProviderTest > initializationError FAILED
         [exec]     java.lang.IllegalStateException: Failed to transform class with name jodd.http.HttpRequest. Reason: javassist.bytecode.InterfaceMethodrefInfo cannot be cast to javassist.bytecode.MethodrefInfo
         [exec]         at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:266)
         [exec]         at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:180)
         [exec]         at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:68)
         [exec]         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
         [exec]         at java.lang.Class.forName0(Native Method)
         [exec]         at java.lang.Class.forName(Class.java:348)
         [exec]         at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
         [exec]         at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
         [exec]         at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:439)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:420)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
         [exec]         at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
         [exec]         at java.lang.Class.createAnnotationData(Class.java:3521)
         [exec]         at java.lang.Class.annotationData(Class.java:3510)
         [exec]         at java.lang.Class.getAnnotation(Class.java:3415)
         [exec]         at org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:52)
         [exec]         at org.junit.internal.runners.TestClass.getAnnotatedMethods(TestClass.java:45)
         [exec]         at org.junit.internal.runners.MethodValidator.validateTestMethods(MethodValidator.java:71)
         [exec]         at org.junit.internal.runners.MethodValidator.validateStaticMethods(MethodValidator.java:44)
         [exec]         at org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner(MethodValidator.java:50)
         [exec]         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.validate(PowerMockJUnit44RunnerDelegateImpl.java:108)
         [exec]         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.<init>(PowerMockJUnit44RunnerDelegateImpl.java:70)
         [exec]         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.<init>(PowerMockJUnit47RunnerDelegateImpl.java:42)
         [exec]         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.<init>(PowerMockJUnit49RunnerDelegateImpl.java:25)
         [exec]         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         [exec]         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         [exec]         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         [exec]         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
         [exec]         at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:156)
         [exec]         at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:40)
         [exec]         at org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.createTestDelegators(AbstractTestSuiteChunkerImpl.java:244)
         [exec]         at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init>(JUnit4TestSuiteChunkerImpl.java:61)
         [exec]         at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init>(AbstractCommonPowerMockRunner.java:32)
         [exec]         at org.powermock.modules.junit4.PowerMockRunner.<init>(PowerMockRunner.java:34)
         [exec]         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         [exec]         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         [exec]         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         [exec]         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
         [exec]         at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
         [exec]         at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
         [exec]         at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
         [exec]         at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
         [exec]         at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
         [exec]         at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
         [exec]         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:78)
         [exec]         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
         [exec]         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
         [exec]         at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
         [exec]         at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
         [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
         [exec]         at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
         [exec]         at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
         [exec]         at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
         [exec]         at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:119)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
         [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
         [exec]         at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
         [exec]         at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
         [exec]         at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
         [exec]         at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
         [exec]         at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
         [exec]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         [exec]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         [exec]         at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
         [exec]         at java.lang.Thread.run(Thread.java:745)
         [exec] 
         [exec]         Caused by:
         [exec]         java.lang.ClassCastException: javassist.bytecode.InterfaceMethodrefInfo cannot be cast to javassist.bytecode.MethodrefInfo
         [exec]             at javassist.bytecode.ConstPool.getMethodrefType(ConstPool.java:452)
         [exec]             at javassist.bytecode.stackmap.Tracer.doInvokeMethod(Tracer.java:800)
         [exec]             at javassist.bytecode.stackmap.Tracer.doOpcode148_201(Tracer.java:597)
         [exec]             at javassist.bytecode.stackmap.Tracer.doOpcode(Tracer.java:81)
         [exec]             at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:187)
         [exec]             at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:199)
         [exec]             at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:199)
         [exec]             at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:164)
         [exec]             at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:108)
         [exec]             at javassist.bytecode.MethodInfo.rebuildStackMap(MethodInfo.java:423)
         [exec]             at javassist.bytecode.MethodInfo.rebuildStackMapIf6(MethodInfo.java:405)
         [exec]             at javassist.CtBehavior.insertBefore(CtBehavior.java:768)
         [exec]             at javassist.CtBehavior.insertBefore(CtBehavior.java:734)
         [exec]             at org.powermock.core.transformers.impl.MainMockTransformer.modifyMethod(MainMockTransformer.java:197)
         [exec]             at org.powermock.core.transformers.impl.MainMockTransformer.allowMockingOfStaticAndFinalAndNativeMethods(MainMockTransformer.java:133)
         [exec]             at org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:65)
         [exec]             at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:251)
         [exec]             ... 78 more
    

      Attachments

        Activity

          People

          Assignee:
          carolina.barbosa Carolina Barbosa
          Reporter:
          nicholas.kwon Nicholas Kwon
          Participants of an Issue:
          Recent user:
          Sophia Zhang
          Engineering Assignee:
          Carolina Barbosa
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

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

              Packages

              Version Package
              7.4.13 DXP GA1
              Master