Receiver class io.restassured.internal.ResponseParserRegistrar Exception with 4.3.0
See original GitHub issueThe tests working fine on 4.2.0, but we are seeing the following with 4.3.0. Possibly a missing dependency with the latest version?
java.lang.AbstractMethodError: Receiver class io.restassured.internal.ResponseParserRegistrar does not define or inherit an implementation of the resolved method 'abstract java.lang.Object getProperty(java.lang.String)' of interface groovy.lang.GroovyObject. at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:309) at io.restassured.internal.ResponseParserRegistrar.<init>(ResponseParserRegistrar.groovy:44) at io.restassured.RestAssured.createTestSpecification(RestAssured.java:1448) at io.restassured.RestAssured.given(RestAssured.java:653) at com.mytaxi.freemon.domain.model.actions.passenger.PaymentActions.addPaymentProvider(PaymentActions.kt:141) at com.mytaxi.freemon.domain.model.Passenger.addPaymentProvider(Passenger.kt) at com.mytaxi.freemon.domain.scenarios.payments.PaymentsBase.payByAppTour(PaymentsBase.java:65) at com.mytaxi.freemon.domain.scenarios.payments.PaymentsBase.takeTour(PaymentsBase.java:111) at com.mytaxi.freemon.domain.scenarios.payments.PayPalTourScenario.execute(PayPalTourScenario.kt:29) at com.mytaxi.freemon.domain.scenarios.payments.PayPalTourScenario$$FastClassBySpringCGLIB$$2fb6ef8c.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) at org.springframework.retry.interceptor.RetryOperationsInterceptor$1.doWithRetry(RetryOperationsInterceptor.java:91) at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:287) at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:164) at org.springframework.retry.interceptor.RetryOperationsInterceptor.invoke(RetryOperationsInterceptor.java:118) at org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor.invoke(AnnotationAwareRetryOperationsInterceptor.java:153) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at com.mytaxi.freemon.domain.scenarios.payments.PayPalTourScenario$$EnhancerBySpringCGLIB$$8fde0d17.execute(<generated>) at com.mytaxi.freemon.scheduling.ScenarioScheduler.runSingleScenario(ScenarioScheduler.kt:88) at com.mytaxi.freemon.scheduling.ScenarioScheduler.executeScenario(ScenarioScheduler.kt:68) at com.mytaxi.freemon.scheduling.ScenarioScheduler.access$executeScenario(ScenarioScheduler.kt:19) at com.mytaxi.freemon.scheduling.ScenarioScheduler$executeParallel$1$invokeSuspend$$inlined$map$lambda$1.invokeSuspend(ScenarioScheduler.kt:53) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594) at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:7
Top GitHub Comments
RestAssured 4.3.0 does not work with Spring Boot 2.4.0 👎
@Esther74 that’s correct. With Spring Boot 2.4.5 I had to downgrade from rest-assured from 4.4.0 to 4.2.1 and also adding xml-path and json-path to get it working.