java.lang.NullPointerException

Stack Overflow | Cagin Uludamar | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed()
  2. Selenium
    RemoteWebDriver.execute
    1. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:152)
    2. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:636)
    2 frames
  3. java-client
    AndroidDriver.execute
    1. io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
    2. io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
    3 frames
  4. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:369)
    1 frame
  5. java-client
    AndroidDriver.findElement
    1. io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:56)
    2. io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
    3 frames
  6. Selenium
    RemoteWebDriver.findElementByXPath
    1. org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:474)
    1 frame
  7. java-client
    AndroidDriver.findElementByXPath
    1. io.appium.java_client.DefaultGenericMobileDriver.findElementByXPath(DefaultGenericMobileDriver.java:134)
    2. io.appium.java_client.AppiumDriver.findElementByXPath(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.findElementByXPath(AndroidDriver.java:1)
    3 frames
  8. selenium-api
    By$ByXPath.findElement
    1. org.openqa.selenium.By$ByXPath.findElement(By.java:361)
    1 frame
  9. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:361)
    1 frame
  10. java-client
    AndroidDriver.findElement
    1. io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:52)
    2. io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
    3 frames
  11. selenium-support
    FluentWait.until
    1. org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:895)
    2. org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
    3. org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:181)
    4. org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:178)
    5. org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
    5 frames