java.lang.reflect.UndeclaredThrowableException

vaadin.com | 5 months ago
  1. 0

    unable to find element

    Software Quality Assurance & Testing | 1 year ago | user15153
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":".//*[@id='rso']/div[1]/div/table/tbody/tr[4]/td[1]/div/span/h3/a"} Command duration or timeout: 23 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52' System info: host: 'shaheena-PC', ip: '192.168.0.10', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_51' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: bc42f0ec-5a72-4787-8f1b-b585a36de4a0 *** Element info: {Using=xpath, value=.//*[@id='rso']/div[1]/div/table/tbody/tr[4]/td[1]/div/span/h3/a}
  2. 0

    How to select an iframe

    Google Groups | 3 years ago | Arnold Figueroa
    org.openqa.selenium.NoSuchElementException: no such element (Session info: chrome=34.0.1847.137) (Driver info: chromedriver=2.9.248315,platform=Windows NT 5.1 SP3 x86) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 63 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.40.0', revision: '4c5c0568b004f67810ee41c459549aa4b09c651e', time: '2014-02-19 11:13:01' System info: host: 'PeddiU-WSP01', ip: '10.26.5.53', os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_45' Session ID: 7e6d03ed6af445c2b4d68f778125bbcf Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=C:\DOCUME~1\figueroa\LOCALS~1\Temp\scoped_dir7728_22220}, rotatable=false, locationContextEnabled=true, version=34.0.1847.137, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=false, takesScreenshot=true}]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [Firefox]Remote driver and Local driver behave not same

    GitHub | 4 months ago | HackToday
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//button[contains(text(), \"??\")]"} Command duration or timeout: 10.02 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58' System info: host: '42422b778b8e', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-123.el7.x86_64', java.version: '1.8.0_03-Ubuntu' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=45.0.2, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: d1765426-01ed-4d1e-82f1-a0871445bf6d *** Element info: {Using=xpath, value=//button[contains(text(), "??")]}
  5. 0

    Selenium: NoSuchElementException: Unable to locate element - method:xpath

    Stack Overflow | 12 months ago | Wojciech Krzysiek
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//input[@value='Paypal']"} Command duration or timeout: 5.10 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12' System info: host: '471B07N', ip: '192.168.100.184', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1f8f5d21-e52d-4b5b-b22e-31e615137579 *** Element info: {Using=xpath, value=//input[@value='Paypal']}

  1. pnaranja 1 times, last 5 months ago
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.openqa.selenium.NoSuchElementException

    Unable to locate element: {"method":"xpath","selector":"//div[@class='v-Notification error v-Notification-error']"} Command duration or timeout: 10 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 22:18:01' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-42-generic', java.version: '1.6.0_26' Driver info: driver.version: TestBenchDriver Session ID: 82c76569-c29d-44f0-8205-5cb15723dade

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  3. Selenium
    RemoteWebDriver.findElementByXPath
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:188)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:498)
    4. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:268)
    5. org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:353)
    5 frames
  4. selenium-api
    By$ByXPath.findElement
    1. org.openqa.selenium.By$ByXPath.findElement(By.java:343)
    1 frame
  5. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:260)
    1 frame
  6. com.vaadin.testbench
    TestBenchDriver.findElement
    1. com.vaadin.testbench.TestBenchDriver.findElement(TestBenchDriver.java:68)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. com.vaadin.testbench
    CachedInvocationHandler.invoke
    1. com.vaadin.testbench.CachedInvocationHandler.invoke(CachedInvocationHandler.java:57)
    1 frame
  9. Unknown
    $Proxy6.findElement
    1. $Proxy6.findElement(Unknown Source)
    1 frame
  10. com.example.vaadinTest
    VaadinTest.testVaadin
    1. com.example.vaadinTest.VaadinTest.testVaadin(VaadinTest.java:42)
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  12. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    15 frames
  13. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
    1 frame
  14. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames