java.lang.ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to org. openqa.selenium.internal.HasIdentity

Google Groups | Shirley Ong | 7 months 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

    Latest Serenity doesn't work with Appium Client 4.1.0

    Google Groups | 7 months ago | Shirley Ong
    java.lang.ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to org. openqa.selenium.internal.HasIdentity

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.proxy.$Proxy25 cannot be cast to org. openqa.selenium.internal.HasIdentity

      at io.appium.java_client.TouchAction.tap()
    2. java-client
      TouchAction.tap
      1. io.appium.java_client.TouchAction.tap(TouchAction.java:181)
      1 frame
    3. com.db.sdk
      FXTileUser$$EnhancerByCGLIB$$ed73985$$FastClassByCGLIB$$92dfd8ec.invoke
      1. com.db.sdk.core.DBObject.tap(DBObject.java:52)
      2. com.db.sdk.screens.FXTileScreen.switchCurrency(FXTileScreen.java:66)
      3. com.db.sdk.steplib.FXTileUser.switch_currency(FXTileUser.java:25)
      4. com.db.sdk.steplib.FXTileUser$$EnhancerByCGLIB$$ed73985.CGLIB$switch_currency$2(<generated>)
      5. com.db.sdk.steplib.FXTileUser$$EnhancerByCGLIB$$ed73985$$FastClassByCGLIB$$92dfd8ec.invoke(<generated>)
      5 frames
    4. IDEA
      MethodProxy.invokeSuper
      1. net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
      1 frame
    5. thucydides-core
      StepInterceptor.intercept
      1. net.thucydides.core.steps.BaseMethodRunner.invokeMethod(BaseMethodRunner.java:10)
      2. net.thucydides.core.steps.NormalMethodRunner.invokeMethodAndNotifyFailures(NormalMethodRunner.java:20)
      3. net.thucydides.core.steps.StepInterceptor.runNormalMethod(StepInterceptor.java:272)
      4. net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:127)
      5. net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61)
      5 frames