org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.apache.http.imple.client.InternalHttpClient@37c49e41' with class 'org.apache.http.impl.client.InternalHttpClient' to class 'org.apache.http.impl.client.AbstractHttpClient' [removed Groovy internals]

Google Groups | Unknown author | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastException from InternalHttpClient to AbstractHttpClient

    Google Groups | 2 years ago | Unknown author
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.apache.http.imple.client.InternalHttpClient@37c49e41' with class 'org.apache.http.impl.client.InternalHttpClient' to class 'org.apache.http.impl.client.AbstractHttpClient' [removed Groovy internals]

    Root Cause Analysis

    1. org.codehaus.groovy.runtime.typehandling.GroovyCastException

      Cannot cast object 'org.apache.http.imple.client.InternalHttpClient@37c49e41' with class 'org.apache.http.impl.client.InternalHttpClient' to class 'org.apache.http.impl.client.AbstractHttpClient' [removed Groovy internals]

      at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain()
    2. REST Assured
      RequestSpecificationImpl.invokeFilterChain
      1. com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:925)
      1 frame