Find element fails vs. 6.0.0-BETA2

ENV:

  • Appium v1.7.2-beta5
  • 6.0.0-BETA2
  • iOS simulator

Code works fine when we use the java-client 5.0.0-BETA1.
Once we move to the latest 6.0.0-BETA2 the code fails when attempting to find the elements.
The strange thing is that on the server side log it seems to find the element.

Any help will assist since we really want to upgrade to the latest java-client library…

Server log:
debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“accessibility id”,“icon gear”,“eb1d8c2a-61ef-4eab-95d8-50625e8c247e”]
[debug] [XCUITest] Executing command ‘findElement’
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/820145B7-F58D-4A86-BCBA-28630753DDBF/element] with body: {“using”:“accessibility id”,“value”:“icon gear”}
[debug] [JSONWP Proxy] Got response with status 200: {“value”:{“ELEMENT”:“A29B7782-10CE-4B48-8EB5-735597B78DFE”},“sessionId”:“820145B7-F58D-4A86-BCBA-28630753DDBF”,“status”:0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“A29B7782-10CE-4B48-8EB5-735597B78DFE”}
[HTTP] <-- POST /wd/hub/session/eb1d8c2a-61ef-4eab-95d8-50625e8c247e/element 200 220 ms - 122

please report this bug under https://github.com/appium/java-client/issues