opened
ptsiakos77
username_0
## The problem

When I am searching for a mobile element under another element and not root I am taking the following exception message:
Returned value cannot be converted to WebElement: PLAIN_HEADER_LABEL

Vie the full stack trace below:
https://gist.github.com/username_0/b0ecef5ff6e422eee18b8ccd17a35fc4#file-gistfile1-txt


## Environment

* Appium version (or git revision) that exhibits the issue: 1.8
* Last Appium version that did not exhibit the issue (if applicable): 1.7.1
* Node.js version (unless using Appium.app|exe): 8.9.4
* Mobile platform/version under test: IOS 11.3
* Real device or emulator/simulator: iphone6s Real Device
* Appium Java client: 3.5.3


## Details
I have problems finding an element under another element. It worked fine in appium 1.7.1. In the following code the second attempt to find the element fails with the exception above
WebElement cell = driver.findElement(MobileBy.ByIosClassChain("**/XCUIElementTypeTable[1]/XCUIElementTypeCell"))
WebElement label = cell.findElement(MobileBy.ByIosClassChain('PLAIN_HEADER_LABEL'))



## Link to Appium logs
https://gist.github.com/username_0/069df238b0583a67922932dfb8584fbc#file-gistfile1-txt
Class cast exception when I am searching element under element 
issue
created
mykola-mokhnach
username_1
I assume that updating java client to the most recent beta version should solve the problem
comment
created
TikhomirovSergey
username_2
Yes. It seems old client is conflicting with new server. I am going to close this issue.
@username_0 Please update your project to lates version of appium java client.
comment
closed
TikhomirovSergey
username_2
issue