An unknown server-side error occurred while processing the command during click and sendKey

Hi,

When i run my automation script, getting an error “An unknown server-side error occurred while processing the command”. Elements are detecting, but not able to send values and also click button not working.

I am using real device for testing. The app opened in device successfully, after that no action has been performed.

I am using appium version 1.6.5.

Android version: 6.0.1

Class Name is: android.widget.EditText

Please help me to resolve this issue. Below is the code i have written.

@BeforeTest
public void setCapability() throws MalformedURLException
{
DesiredCapabilities cap=new DesiredCapabilities();
cap.setCapability(“deviceName”, “d62cc8547d43”);
cap.setCapability(CapabilityType.BROWSER_NAME, “Android”);
cap.setCapability(CapabilityType.VERSION, “6.0.1”);
cap.setCapability(“platformName”, “Android”);
cap.setCapability(“appPackage”, “com.vehito.vehitoplus”);
cap.setCapability(“appActivity”, “com.vehito.vehitoplus.view.vstore.SplashActivity”);
cap.setCapability(“appWaitActivity”, “com.vehito.vehitoplus.view.usermanagement.login.LoginActivity”);
driver=new AndroidDriver(new URL(“http://127.0.0.1:4723/wd/hub”), cap);
driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
}
@Test
public void actualTestData() throws InterruptedException
{
System.out.println(“Test Started”);
Thread.sleep(300);
boolean b=driver.findElement(By.id(“com.vehito.vehitoplus:id/phone”)).isDisplayed();
System.out.println(b);
driver.findElement(By.id(“com.vehito.vehitoplus:id/phone”)).sendKeys(“9632642105”);
driver.hideKeyboard();
driver.findElement(By.id(“com.vehito.vehitoplus:id/sign_in_button”)).click();;
}

@Gireesh05 can you post the appium log