Interactions - Touch - LongPress - int expected but double received

Hello,

I have encountered the following issue when running my automation tests:.

org.openqa.selenium.InvalidArgumentException: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 1085.5 at line 1 column 44 path $.params.y
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’

While doing my research I have found that a fix for this issue has been made in version 1.18.1 -

I have installed the version using npm install -g [email protected] however the test still returns the same error.

I use Appium Java Client 7.3.0 in my pom.xml:

    <dependency>
        <groupId>io.appium</groupId>
        <artifactId>java-client</artifactId>
        <version>7.3.0</version>
    </dependency>

Thank you for the help in advance Artyom.

Please attach the full server log