question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Receiver class io.restassured.internal.ResponseParserRegistrar Exception with 4.3.0

See original GitHub issue

The 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:open
  • Created 3 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

5reactions
jenmo917commented, Dec 10, 2020

RestAssured 4.3.0 does not work with Spring Boot 2.4.0 👎

1reaction
AndreKunitzcommented, Jul 4, 2021

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting java.lang.AbstractMethodError when I test using REST ...
I'm trying to test a REST api defined in my controller class using REST Assured v4.3.0 ...
Read more >
RestAssured (REST Assured 4.3.0 API) - Javadoc.io
REST Assured is a Java DSL for simplifying testing of REST based services built on top of HTTP Builder. It supports POST, GET,...
Read more >
java lang noclassdeffounderror io/restassured restassured
AbstractMethodError: Receiver class io.restassured.internal.ResponseParserRegistrar does not define or inherit an implementation of the resolved method ...
Read more >
BenArunski/rest-assured - Gitter
AbstractMethodError : Receiver class io.restassured.internal.mapping. ... so this happens with 4.3.0 and it doesn't with 4.2.0. AjayKhetan. @AjayKhetan.
Read more >
Download rest-assured JAR 4.3.0 With all dependencies!
These are the files of the artifact rest-assured version 4.3.0 from the group io.rest-assured. Java DSL for easy testing of REST services.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found