After appium upgrade to v1.16.0 android tests don't work

Hi,
I have tried to see if I can find similar issues on this forum but failing to find that, I am asking if someone can please help me here. My tests use to run on the older version of the appium but now after the upgrade to a newer version, my tests have stopped working. I don’t see any error in the log file (appium) but the code does not find the element in the simulator. I am attaching the test file and the log file if someone could help me. I have uploaded all relevant files so that someone can easily debug and find the problem.

The app does get installed on the simulator and opens up but the click on line number 31 in file “Swipe.java” does not happen and I get an exception:

[RemoteTestNG] detected TestNG version 6.14.2
/Users/safdarnaqvi/appium-workspace/Tutorial/src/ApiDemos-debug.apk
Jan 01, 2020 1:05:11 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

FAILED: testSwipe

Partial logcat output below:

org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {element-6066-11e4-a52e-4f735466cecf=1f962411-d4c8-4f37-90d9-9f34ea7986c6, ELEMENT=1f962411-d4c8-4f37-90d9-9f34ea7986c6}
Build info: version: ‘3.14.0’, revision: ‘aacccce0’, time: ‘2018-08-02T20:05:20.749Z’
System info: host: ‘Safdars-MacBook-Air.local’, ip: ‘fe80:0:0:0:18ee:960a:f96f:5348%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.2’, java.version: ‘1.8.0_102’

Driver info: driver.version: AndroidDriver

at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:329)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:62)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:424)
at io.appium.java_client.DefaultGenericMobileDriver.findElementByXPath(DefaultGenericMobileDriver.java:140)
at io.appium.java_client.AppiumDriver.findElementByXPath(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementByXPath(AndroidDriver.java:1)
at tutorial.Swipe.testSwipe(Swipe.java:31)

Thanks!

Swipe.java.txt (2.0 KB)
base.java.txt (2.6 KB)
appium.log (32.7 KB)