Driver.clear doesnt clear the field

When I’m executing .clear() method on Appium on an EditText instead of clearing it the cursor goes on the beginning of the EditText and it shows a suggestion to replace the first word. Here is the java code that I’m using:

driver.findElement("Panos Pantou")).clear();

Neither this works nor when i try to send new keys it deletes the old ones. I’m running on Appium version Here is the trace:

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)

Any ideas? Thanks!!