org.openqa.selenium.WebDriverException: e is undefined Command duration or timeout: 111 milliseconds Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1ddad741-541f-410d-be56-eacd0a08a5b2

Jenkins JIRA | Oleg Nenashev | 11 months ago
  1. 0

    1) CompressingArtifactManager::setup() firstly deletes the existing using config.clearArtifactManagers(); 2) This method infinitely clicks on the delete button while NoSuchElementException does not happen 3) The first deletion succeeds 4) On the second we get the following error: {noformat} org.openqa.selenium.WebDriverException: e is undefined Command duration or timeout: 111 milliseconds Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1ddad741-541f-410d-be56-eacd0a08a5b2 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647) at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:556) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:102) at com.sun.proxy.$Proxy31.executeScript(Unknown Source) at org.jenkinsci.test.acceptance.selenium.Scroller.scrollIntoView(Scroller.java:81) at org.jenkinsci.test.acceptance.selenium.Scroller.beforeClickOn(Scroller.java:72) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.openqa.selenium.support.events.EventFiringWebDriver$1.invoke(EventFiringWebDriver.java:79) at com.sun.proxy.$Proxy30.beforeClickOn(Unknown Source) at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.click(EventFiringWebDriver.java:346) at org.jenkinsci.test.acceptance.po.Control.click(Control.java:90) at org.jenkinsci.test.acceptance.po.ArtifactManagement.clear(ArtifactManagement.java:50) at org.jenkinsci.test.acceptance.po.JenkinsConfig.clearArtifactManagers(JenkinsConfig.java:58) at org.jenkinsci.test.acceptance.plugins.compress_artifacts.CompressingArtifactManager.setup(CompressingArtifactManager.java:42) at plugins.CompressArtifactsPluginTest.archiveMavenProject(CompressArtifactsPluginTest.java:127) Caused by: org.openqa.selenium.WebDriverException: e is undefined Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown at <anonymous class>.anonymous(http://127.0.0.1:50319/configure:73) at <anonymous class>.handleEvaluateEvent(http://127.0.0.1:50319/configure:68) {noformat} So JS error happens instead of NoSuchElement. It's most likely caused by the missing check before JS invocation.

    Jenkins JIRA | 11 months ago | Oleg Nenashev
    org.openqa.selenium.WebDriverException: e is undefined Command duration or timeout: 111 milliseconds Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1ddad741-541f-410d-be56-eacd0a08a5b2
  2. 0

    gecko driver does not load page properly - cannot read name property

    GitHub | 5 months ago | inthegarage
    org.openqa.selenium.WebDriverException: Error: Permission denied to access property "name" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 10 milliseconds Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58' System info: host: 'PS-E7450', ip: '192.168.2.63', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_74' Driver info: org.openqa.selenium.firefox.MarionetteDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, count=1, webdriver.gecko.driver=/tools/gecko, appBuildId=20160623154057, version=47.0.1, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, browserVersion=47.0.1, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=Windows_NT, device=desktop}] Session ID: 3581dc95-c899-4d58-92cf-a8172078f721
  3. 0

    SafariDriver: assumes that all returned JavaScript objects with `nodeType: 1` are HTMLElement nodes

    GitHub | 4 months ago | mfulton26
    org.openqa.selenium.WebDriverException: undefined is not an object (evaluating 'c.tagName.toLowerCase') (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 14 milliseconds Build info: version: '2.48.0', revision: 'b7b081a', time: '2015-10-07 15:48:56' System info: host: 'itako47035.prod.miso', ip: '172.20.47.35', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11', java.version: '1.8.0_92' Driver info: org.openqa.selenium.safari.SafariDriver Capabilities [{browserName=safari, takesScreenshot=true, javascriptEnabled=true, version=9.0, cssSelectorsEnabled=true, platform=MAC, secureSsl=true}] Session ID: null Command duration or timeout: 321 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'NTISP138', ip: '192.168.56.1', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_60' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities [{webdriver.remote.sessionid=18708d5480904f159be40770f90149f3, takesScreenshot=true, browserName=safari, javascriptEnabled=true, hasMetadata=true, version=9.0, cssSelectorsEnabled=true, platform=MAC, secureSsl=true}] Session ID: 18708d5480904f159be40770f90149f3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    chrome not reachable exception after script execution

    GitHub | 1 year ago | gilo
    org.openqa.selenium.WebDriverException: chrome not reachable (Session info: chrome=46.0.2490.71) (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Linux 3.13.0-68-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 5 milliseconds Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12' System info: host: '6703fd2b721e', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-68-generic', java.version: '1.8.0_45-internal' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/tmp/.com.google.Chrome.LYk6Is}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=46.0.2490.71, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: f6d54cd33ec2992f78303d7d12f2c9cd
  6. 0

    "window.__RafRecorder" gets undefined if WebDriver is started using 'protractor_webdriver'

    GitHub | 2 years ago | gosatin
    org.openqa.selenium.WebDriverException: unknown error: Cannot read property 'get' of undefined > (Session info: chrome=41.0.2272.101) > (Driver info: chromedriver=2.13.307649 (bf55b442bb6b5c923249dd7870d6a107678bfbb6),platform=Linux 3.16.0-31-generic x86_64) (WARNING: The server did not provide any stacktrace information) > Command duration or timeout: 9 milliseconds > Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' > System info: host: 'tira-4', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.16.0-31-generic', java.version: '1.7.0_75' > Session ID: ec7af94c1904f02b2c8686872355a1f9 > Driver info: org.openqa.selenium.chrome.ChromeDriver > Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/tmp/.com.google.Chrome.ZjddNC}, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=41.0.2272.101, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false, takesScreenshot=true}]

  1. andyglick 2 times, last 3 months ago
  2. rp 5 times, last 8 months ago
15 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.WebDriverException

    e is undefined Command duration or timeout: 111 milliseconds Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1ddad741-541f-410d-be56-eacd0a08a5b2

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  3. Selenium
    RemoteWebDriver.executeScript
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)
    4. org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:556)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  5. selenium-support
    EventFiringWebDriver$2.invoke
    1. org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:102)
    1 frame
  6. com.sun.proxy
    $Proxy31.executeScript
    1. com.sun.proxy.$Proxy31.executeScript(Unknown Source)
    1 frame
  7. org.jenkinsci.test
    Scroller.beforeClickOn
    1. org.jenkinsci.test.acceptance.selenium.Scroller.scrollIntoView(Scroller.java:81)
    2. org.jenkinsci.test.acceptance.selenium.Scroller.beforeClickOn(Scroller.java:72)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  9. selenium-support
    EventFiringWebDriver$1.invoke
    1. org.openqa.selenium.support.events.EventFiringWebDriver$1.invoke(EventFiringWebDriver.java:79)
    1 frame
  10. com.sun.proxy
    $Proxy30.beforeClickOn
    1. com.sun.proxy.$Proxy30.beforeClickOn(Unknown Source)
    1 frame
  11. selenium-support
    EventFiringWebDriver$EventFiringWebElement.click
    1. org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.click(EventFiringWebDriver.java:346)
    1 frame
  12. org.jenkinsci.test
    CompressingArtifactManager.setup
    1. org.jenkinsci.test.acceptance.po.Control.click(Control.java:90)
    2. org.jenkinsci.test.acceptance.po.ArtifactManagement.clear(ArtifactManagement.java:50)
    3. org.jenkinsci.test.acceptance.po.JenkinsConfig.clearArtifactManagers(JenkinsConfig.java:58)
    4. org.jenkinsci.test.acceptance.plugins.compress_artifacts.CompressingArtifactManager.setup(CompressingArtifactManager.java:42)
    4 frames
  13. plugins
    CompressArtifactsPluginTest.archiveMavenProject
    1. plugins.CompressArtifactsPluginTest.archiveMavenProject(CompressArtifactsPluginTest.java:127)
    1 frame