New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create remote session with Firefox, using geckodriver 0.16.0 and selenium 3.4 #684

Closed
PascalGit1 opened this Issue Apr 25, 2017 · 33 comments

Comments

Projects
None yet
@PascalGit1

PascalGit1 commented Apr 25, 2017

Firefox Version

53.0 (64-bit)

Platform

Windows 7

Steps to reproduce -

When using the latest version of selenium (3.4.0), the latest geckodriver (0.16, 64-bit) and latest version of firefox (53.0 ,64-bit) in a maven project, i get the following error log when i try and run:

93119339301	geckodriver	INFO	Listening on 127.0.0.1:38452
1493119340008	geckodriver::marionette	INFO	Starting browser \?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493119340422	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493119341959	Marionette	INFO	Listening on port 58458
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized

Failure in before hook:DriverHelper.SetUp()

Message: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, browserName=firefox, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@13d4992d, version=, platform=ANY, firefox_profile=org.openqa.selenium.firefox.FirefoxProfile@302f7971}], required capabilities = Capabilities [{}]
Build info: version: '3.2.0', revision: '8c03df6b79', time: '2017-02-23 10:51:31 +0000'
System info: host: 'LTPLA102016', ip: '192.168.50.128', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_111'

Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:293)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:272)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:267)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:130)
at nl.esize.cucumber.stepdefinition.DriverHelper.SetUp(DriverHelper.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at cucumber.runtime.Utils$1.call(Utils.java:40)
at cucumber.runtime.Timeout.timeout(Timeout.java:16)
at cucumber.runtime.Utils.invoke(Utils.java:34)
at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:224)
at cucumber.runtime.Runtime.runHooks(Runtime.java:212)
at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:202)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)
at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

I can add my pom.xml aswell if needed

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt Apr 25, 2017

Member

So I can’t really guess from that what the problem is. You were asked in the issue template to include a trace-level log from geckodriver. Can you provide that?

Member

andreastt commented Apr 25, 2017

So I can’t really guess from that what the problem is. You were asked in the issue template to include a trace-level log from geckodriver. Can you provide that?

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt Apr 25, 2017

Member

It would also be useful if you tried with Firefox Nightly.

Member

andreastt commented Apr 25, 2017

It would also be useful if you tried with Firefox Nightly.

@hivalue

This comment has been minimized.

Show comment
Hide comment
@hivalue

hivalue Apr 27, 2017

Same issue after having switched to 16.1 ... I will now try to go back -1 version. update follows.

hivalue commented Apr 27, 2017

Same issue after having switched to 16.1 ... I will now try to go back -1 version. update follows.

@leondurand

This comment has been minimized.

Show comment
Hide comment
@leondurand

leondurand Apr 27, 2017

I also have the same issue, could it be the path to mozilla firefox's executable ?
geckodriver::marionette INFO Starting browser ?\C:\Program Files\Mozilla Firefox\firefox.exe
Why is there an '?' in the path ?

leondurand commented Apr 27, 2017

I also have the same issue, could it be the path to mozilla firefox's executable ?
geckodriver::marionette INFO Starting browser ?\C:\Program Files\Mozilla Firefox\firefox.exe
Why is there an '?' in the path ?

mcasperson added a commit to mcasperson/IridiumApplicationTesting that referenced this issue Apr 27, 2017

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt Apr 27, 2017

Member

@leondurand I don’t know, but it’s not related to this issue…

Member

andreastt commented Apr 27, 2017

@leondurand I don’t know, but it’s not related to this issue…

@leondurand

This comment has been minimized.

Show comment
Hide comment
@leondurand

leondurand Apr 28, 2017

I will open my own issue then

leondurand commented Apr 28, 2017

I will open my own issue then

@dwmahieddine

This comment has been minimized.

Show comment
Hide comment
@dwmahieddine

dwmahieddine Apr 28, 2017

Hello all, the same error is shown when i try de launch Selenium java 3.4.0 with Eclipse ans geckodriver 0.16.1....Any when has a solution please?

dwmahieddine commented Apr 28, 2017

Hello all, the same error is shown when i try de launch Selenium java 3.4.0 with Eclipse ans geckodriver 0.16.1....Any when has a solution please?

@Elliotn46

This comment has been minimized.

Show comment
Hide comment
@Elliotn46

Elliotn46 Apr 28, 2017

I am having the same problem with running my selenium tests. Everything was working fine up until 0.1.6.1 was released. Any help would be appreciated.

Elliotn46 commented Apr 28, 2017

I am having the same problem with running my selenium tests. Everything was working fine up until 0.1.6.1 was released. Any help would be appreciated.

@kvalev

This comment has been minimized.

Show comment
Hide comment
@kvalev

kvalev Apr 30, 2017

I am having the same issue, here is the geckodriver log:

1493552159518	webdriver::httpapi	DEBUG	Creating routes
1493552159574	geckodriver	INFO	Listening on 127.0.0.1:16080
1493552159994	webdriver::server	DEBUG	→ POST /session {
  "desiredCapabilities": {
    "phantomjs.binary.version": "2.1.1",
    "marionette": true,
    "browserName": "firefox",
    "moz:firefoxOptions": {
      "prefs": {},
      "log": {
        "level": "trace"
      },
      "args": []
    },
    "version": "",
    "platform": "ANY"
  },
  "requiredCapabilities": {},
  "capabilities": {
    "desiredCapabilities": {
      "phantomjs.binary.version": "2.1.1",
      "marionette": true,
      "browserName": "firefox",
      "moz:firefoxOptions": {
        "prefs": {},
        "log": {
          "level": "trace"
        },
        "args": []
      },
      "version": "",
      "platform": "ANY"
    },
    "requiredCapabilities": {}
  },
  "alwaysMatch": {
    "phantomjs.binary.version": "2.1.1",
    "version": "",
    "platform": "ANY"
  },
  "firstMatch": [
    {
      "browserName": "firefox",
      "moz:firefoxOptions": {
        "prefs": {},
        "log": {
          "level": "trace"
        },
        "args": []
      }
    }
  ]
}
1493552160093	geckodriver::marionette	INFO	Starting browser \\?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493552162269	geckodriver::marionette	TRACE	  connection attempt 0/600
1493552164136	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
1493552164418	geckodriver::marionette	TRACE	  connection attempt 1/600
1493552165294	Marionette	DEBUG	Marionette enabled via command-line flag
1493552166657	geckodriver::marionette	TRACE	  connection attempt 2/600
1493552168825	geckodriver::marionette	TRACE	  connection attempt 3/600
1493552169374	Marionette	INFO	Listening on port 54639
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493552170005	geckodriver::marionette	DEBUG	Connected to Marionette on localhost:54639
1493552170173	Marionette	DEBUG	Accepted connection conn0 from 127.0.0.1:54659
1493552170202	geckodriver::marionette	TRACE	� {"applicationType":"gecko","marionetteProtocol":3}
1493552170202	geckodriver::marionette	TRACE	→ 62:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{}}}]
1493552170216	Marionette	TRACE	conn0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{}}}]
1493552170220	Marionette	CONFIG	Matched capabilities: {"browserName":"firefox","browserVersion":"53.0","platformName":"windows_nt","platformVersion":"6.1","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","moz:accessibilityChecks":false}
1493552170232	Marionette	DEBUG	loaded listener.js
1493552170254	Marionette	TRACE	conn0 <- [1,1,null,{"sessionId":"becd7f4e-ed86-421a-905d-3b2527bd1c71","capabilities":{"browserName":"firefox","browserVersion":"53.0","platformName":"windows_nt","platformVersion":"6.1","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","moz:accessibilityChecks":false}}]
1493552170281	geckodriver::marionette	TRACE	� [1,1,null,{"sessionId":"becd7f4e-ed86-421a-905d-3b2527bd1c71","capabilities":{"browserName":"firefox","browserVersion":"53.0","platformName":"windows_nt","platformVersion":"6.1","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","moz:accessibilityChecks":false}}]
1493552170281	webdriver::server	DEBUG	� 200 OK {"value": {"sessionId":"becd7f4e-ed86-421a-905d-3b2527bd1c71","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"53.0","moz:accessibilityChecks":false,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","pageLoadStrategy":"normal","platformName":"windows_nt","platformVersion":"6.1","rotatable":false,"specificationLevel":0,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}}

kvalev commented Apr 30, 2017

I am having the same issue, here is the geckodriver log:

1493552159518	webdriver::httpapi	DEBUG	Creating routes
1493552159574	geckodriver	INFO	Listening on 127.0.0.1:16080
1493552159994	webdriver::server	DEBUG	→ POST /session {
  "desiredCapabilities": {
    "phantomjs.binary.version": "2.1.1",
    "marionette": true,
    "browserName": "firefox",
    "moz:firefoxOptions": {
      "prefs": {},
      "log": {
        "level": "trace"
      },
      "args": []
    },
    "version": "",
    "platform": "ANY"
  },
  "requiredCapabilities": {},
  "capabilities": {
    "desiredCapabilities": {
      "phantomjs.binary.version": "2.1.1",
      "marionette": true,
      "browserName": "firefox",
      "moz:firefoxOptions": {
        "prefs": {},
        "log": {
          "level": "trace"
        },
        "args": []
      },
      "version": "",
      "platform": "ANY"
    },
    "requiredCapabilities": {}
  },
  "alwaysMatch": {
    "phantomjs.binary.version": "2.1.1",
    "version": "",
    "platform": "ANY"
  },
  "firstMatch": [
    {
      "browserName": "firefox",
      "moz:firefoxOptions": {
        "prefs": {},
        "log": {
          "level": "trace"
        },
        "args": []
      }
    }
  ]
}
1493552160093	geckodriver::marionette	INFO	Starting browser \\?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493552162269	geckodriver::marionette	TRACE	  connection attempt 0/600
1493552164136	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
1493552164418	geckodriver::marionette	TRACE	  connection attempt 1/600
1493552165294	Marionette	DEBUG	Marionette enabled via command-line flag
1493552166657	geckodriver::marionette	TRACE	  connection attempt 2/600
1493552168825	geckodriver::marionette	TRACE	  connection attempt 3/600
1493552169374	Marionette	INFO	Listening on port 54639
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493552170005	geckodriver::marionette	DEBUG	Connected to Marionette on localhost:54639
1493552170173	Marionette	DEBUG	Accepted connection conn0 from 127.0.0.1:54659
1493552170202	geckodriver::marionette	TRACE	� {"applicationType":"gecko","marionetteProtocol":3}
1493552170202	geckodriver::marionette	TRACE	→ 62:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{}}}]
1493552170216	Marionette	TRACE	conn0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{}}}]
1493552170220	Marionette	CONFIG	Matched capabilities: {"browserName":"firefox","browserVersion":"53.0","platformName":"windows_nt","platformVersion":"6.1","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","moz:accessibilityChecks":false}
1493552170232	Marionette	DEBUG	loaded listener.js
1493552170254	Marionette	TRACE	conn0 <- [1,1,null,{"sessionId":"becd7f4e-ed86-421a-905d-3b2527bd1c71","capabilities":{"browserName":"firefox","browserVersion":"53.0","platformName":"windows_nt","platformVersion":"6.1","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","moz:accessibilityChecks":false}}]
1493552170281	geckodriver::marionette	TRACE	� [1,1,null,{"sessionId":"becd7f4e-ed86-421a-905d-3b2527bd1c71","capabilities":{"browserName":"firefox","browserVersion":"53.0","platformName":"windows_nt","platformVersion":"6.1","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","moz:accessibilityChecks":false}}]
1493552170281	webdriver::server	DEBUG	� 200 OK {"value": {"sessionId":"becd7f4e-ed86-421a-905d-3b2527bd1c71","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"53.0","moz:accessibilityChecks":false,"moz:processID":15476,"moz:profile":"C:\\Windows\\TEMP\\rust_mozprofile.1K0SZtfFHHHZ","pageLoadStrategy":"normal","platformName":"windows_nt","platformVersion":"6.1","rotatable":false,"specificationLevel":0,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}}
@PascalGit1

This comment has been minimized.

Show comment
Hide comment
@PascalGit1

PascalGit1 May 2, 2017

Maybe a noob question but how do i get the tracel-level log from the geckodriver?
I've set: options.addPreference("log", "{level: info}"); for the driver but that doesn't seem to give any additional logs

I think this is the only gecko logs it gives:

1493711848456	geckodriver	INFO	Listening on 127.0.0.1:43104
1493711849209	geckodriver::marionette	INFO	Starting browser \\?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493711851863	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493711856566	Marionette	INFO	Listening on port 53721
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
		

When using nightly:

1493713666974	geckodriver	INFO	Listening on 127.0.0.1:44290
1493713667619	geckodriver::marionette	INFO	Starting browser \\?\C:\Program Files (x86)\Nightly\firefox.exe with args ["-marionette"]
1493713668020	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:653 < startup()@resource://gre/modules/AddonManager.jsm:813 < startup()@resource://gre/modules/AddonManager.jsm:3081 < observe()@jar:file://///%3F/C:/Program%20Files%20(x86)/Nightly/omni.ja!/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1593: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
Unable to read VR Path Registry from C:\Users\user\AppData\Local\openvr\openvrpaths.vrpath
[GPU 13544] WARNING: pipe error: 109: file c:/builds/moz2_slave/m-cen-w32-ntly-000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
1493713669955	Marionette	INFO	Listening on port 57854
Unable to read VR Path Registry from C:\Users\user\AppData\Local\openvr\openvrpaths.vrpath
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2508: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
Unable to read VR Path Registry from C:\Users\user\AppData\Local\openvr\openvrpaths.vrpath
[Child 12236] WARNING: pipe error: 109: file c:/builds/moz2_slave/m-cen-w32-ntly-000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
1493713670860	Marionette	DEBUG	loaded listener.js

PascalGit1 commented May 2, 2017

Maybe a noob question but how do i get the tracel-level log from the geckodriver?
I've set: options.addPreference("log", "{level: info}"); for the driver but that doesn't seem to give any additional logs

I think this is the only gecko logs it gives:

1493711848456	geckodriver	INFO	Listening on 127.0.0.1:43104
1493711849209	geckodriver::marionette	INFO	Starting browser \\?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493711851863	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493711856566	Marionette	INFO	Listening on port 53721
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
		

When using nightly:

1493713666974	geckodriver	INFO	Listening on 127.0.0.1:44290
1493713667619	geckodriver::marionette	INFO	Starting browser \\?\C:\Program Files (x86)\Nightly\firefox.exe with args ["-marionette"]
1493713668020	addons.manager	ERROR	startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:653 < startup()@resource://gre/modules/AddonManager.jsm:813 < startup()@resource://gre/modules/AddonManager.jsm:3081 < observe()@jar:file://///%3F/C:/Program%20Files%20(x86)/Nightly/omni.ja!/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1593: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
Unable to read VR Path Registry from C:\Users\user\AppData\Local\openvr\openvrpaths.vrpath
[GPU 13544] WARNING: pipe error: 109: file c:/builds/moz2_slave/m-cen-w32-ntly-000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
1493713669955	Marionette	INFO	Listening on port 57854
Unable to read VR Path Registry from C:\Users\user\AppData\Local\openvr\openvrpaths.vrpath
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2508: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
Unable to read VR Path Registry from C:\Users\user\AppData\Local\openvr\openvrpaths.vrpath
[Child 12236] WARNING: pipe error: 109: file c:/builds/moz2_slave/m-cen-w32-ntly-000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
1493713670860	Marionette	DEBUG	loaded listener.js

@PascalGit1

This comment has been minimized.

Show comment
Hide comment
@PascalGit1

PascalGit1 May 2, 2017

UPDATE

I found that if i set:
capabilities.setCapability("marionette", false);

it will actually start but it seems to run really slow and it only works for Firefox Nightly

PascalGit1 commented May 2, 2017

UPDATE

I found that if i set:
capabilities.setCapability("marionette", false);

it will actually start but it seems to run really slow and it only works for Firefox Nightly

@whimboo

This comment has been minimized.

Show comment
Hide comment
@whimboo

whimboo May 2, 2017

Collaborator

You have to use {level: "trace"} to enable the trace log in gecko-driver, or start geckodriver with the option -vv.

Collaborator

whimboo commented May 2, 2017

You have to use {level: "trace"} to enable the trace log in gecko-driver, or start geckodriver with the option -vv.

@PascalGit1

This comment has been minimized.

Show comment
Hide comment
@PascalGit1

PascalGit1 May 2, 2017

Same result, my driver is setup up like this now, i'm also running it from eclipse not cmd:

DesiredCapabilities capabilities = DesiredCapabilities.firefox();
FirefoxOptions options = new FirefoxOptions();
			
options.addPreference("log", "{level: trace}");
		
capabilities.setCapability("marionette", true);
capabilities.setCapability("moz:firefoxOptions", options);
		
System.setProperty("webdriver.gecko.driver", "drivers/geckodriver.exe");
			
driver = new FirefoxDriver(capabilities);

PascalGit1 commented May 2, 2017

Same result, my driver is setup up like this now, i'm also running it from eclipse not cmd:

DesiredCapabilities capabilities = DesiredCapabilities.firefox();
FirefoxOptions options = new FirefoxOptions();
			
options.addPreference("log", "{level: trace}");
		
capabilities.setCapability("marionette", true);
capabilities.setCapability("moz:firefoxOptions", options);
		
System.setProperty("webdriver.gecko.driver", "drivers/geckodriver.exe");
			
driver = new FirefoxDriver(capabilities);
@PascalGit1

This comment has been minimized.

Show comment
Hide comment
@PascalGit1

PascalGit1 May 3, 2017

It seems it might be a problem with eclipse / running it as a junit test in eclipse.
Because i've just set it up so i can run it in CMD using "mvn verify" and then it seems to work fine

@straris how are you running it?

PascalGit1 commented May 3, 2017

It seems it might be a problem with eclipse / running it as a junit test in eclipse.
Because i've just set it up so i can run it in CMD using "mvn verify" and then it seems to work fine

@straris how are you running it?

@RRahul23

This comment has been minimized.

Show comment
Hide comment
@RRahul23

RRahul23 May 3, 2017

How to slove this issu of geckodriver

Firefox Version

53.0 (64-bit)

Platform

Windows 7

Steps to reproduce -

When using the latest version of selenium (3.4.0), the latest geckodriver (0.16, 64-bit) and latest version of firefox (53.0 ,64-bit) in a maven project, i get the following error log when i try and run:

93119339301 geckodriver INFO Listening on 127.0.0.1:38452
1493119340008 geckodriver::marionette INFO Starting browser ?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493119340422 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493119341959 Marionette INFO Listening on port 58458
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized

Failure in before hook:DriverHelper.SetUp()

Message: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, browserName=firefox, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@13d4992d, version=, platform=ANY, firefox_profile=org.openqa.selenium.firefox.FirefoxProfile@302f7971}], required capabilities = Capabilities [{}]
Build info: version: '3.2.0', revision: '8c03df6b79', time: '2017-02-23 10:51:31 +0000'
System info: host: 'LTPLA102016', ip: '192.168.50.128', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_111'

Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:293)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:272)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:267)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:130)
at nl.esize.cucumber.stepdefinition.DriverHelper.SetUp(DriverHelper.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAcces

RRahul23 commented May 3, 2017

How to slove this issu of geckodriver

Firefox Version

53.0 (64-bit)

Platform

Windows 7

Steps to reproduce -

When using the latest version of selenium (3.4.0), the latest geckodriver (0.16, 64-bit) and latest version of firefox (53.0 ,64-bit) in a maven project, i get the following error log when i try and run:

93119339301 geckodriver INFO Listening on 127.0.0.1:38452
1493119340008 geckodriver::marionette INFO Starting browser ?\C:\Program Files\Mozilla Firefox\firefox.exe with args ["-marionette"]
1493119340422 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1493119341959 Marionette INFO Listening on port 58458
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized

Failure in before hook:DriverHelper.SetUp()

Message: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, browserName=firefox, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@13d4992d, version=, platform=ANY, firefox_profile=org.openqa.selenium.firefox.FirefoxProfile@302f7971}], required capabilities = Capabilities [{}]
Build info: version: '3.2.0', revision: '8c03df6b79', time: '2017-02-23 10:51:31 +0000'
System info: host: 'LTPLA102016', ip: '192.168.50.128', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_111'

Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:293)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:272)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:267)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:130)
at nl.esize.cucumber.stepdefinition.DriverHelper.SetUp(DriverHelper.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAcces

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 3, 2017

Member

@kvalev I’m not sure what problem you’re describing. Judging from your log, it looks like the session is being successfully created for you.

Member

andreastt commented May 3, 2017

@kvalev I’m not sure what problem you’re describing. Judging from your log, it looks like the session is being successfully created for you.

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 3, 2017

Member

@PascalGit1 You’re setting it as a preference, which is not the same thing as a capability. Please consult your language implementation’s API documentation on how to set capabilities. If you consult the README on this project, it says that you need to set a {"moz:firefoxOptions": {"log": {"level": "trace"}}} entry.

Member

andreastt commented May 3, 2017

@PascalGit1 You’re setting it as a preference, which is not the same thing as a capability. Please consult your language implementation’s API documentation on how to set capabilities. If you consult the README on this project, it says that you need to set a {"moz:firefoxOptions": {"log": {"level": "trace"}}} entry.

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 3, 2017

Member

I would also like to make a general encouragement not to add any comments with “me too” or “I’m also having the same issue”. That is not useful, neither to us as developers, or to other users.

We want to want to address the original issue of why @PascalGit1 cannot create a session. Until we get a trace-level log attached, I can only guess what is wrong.

Member

andreastt commented May 3, 2017

I would also like to make a general encouragement not to add any comments with “me too” or “I’m also having the same issue”. That is not useful, neither to us as developers, or to other users.

We want to want to address the original issue of why @PascalGit1 cannot create a session. Until we get a trace-level log attached, I can only guess what is wrong.

@krisring

This comment has been minimized.

Show comment
Hide comment
@krisring

krisring May 3, 2017

Here is my console log for the same issue - I'm more than happy to give more information to help get this issue resolved (I may just need some coaching on where to get the pertinent information), anywhere here is my console output:

I am using FF 53 and Geckodriver 16.1 (and IntelliJ)

"C:\Program Files\Java\jdk1.8.0_121\bin\java" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\lib\idea_rt.jar=65254:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\lib\idea_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\plugins\junit\lib\junit-rt.jar;C:\sandbox\stjude\target\classes;C:\Program Files\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\rt.jar;C:\Users\adamsj.m2\repository\org\stjude\testingtools\3.4.0\testingtools-3.4.0.jar;C:\Users\adamsj.m2\repository\junit\junit\4.11\junit-4.11.jar;C:\Users\adamsj.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\adamsj.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\adamsj.m2\repository\org\slf4j\slf4j-api\1.7.13\slf4j-api-1.7.13.jar;C:\Users\adamsj.m2\repository\org\slf4j\slf4j-log4j12\1.7.13\slf4j-log4j12-1.7.13.jar;C:\Users\adamsj.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.jpa\2.6.3\org.eclipse.persistence.jpa-2.6.3.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\javax.persistence\2.1.1\javax.persistence-2.1.1.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.asm\2.6.3\org.eclipse.persistence.asm-2.6.3.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.antlr\2.6.3\org.eclipse.persistence.antlr-2.6.3.jar;C:\Users\adamsj.m2\repository\org\glassfish\javax.json\1.0.4\javax.json-1.0.4.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.jpa.jpql\2.6.3\org.eclipse.persistence.jpa.jpql-2.6.3.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.core\2.6.3\org.eclipse.persistence.core-2.6.3.jar;C:\Users\adamsj.m2\repository\org\json\json\20131018\json-20131018.jar;C:\Users\adamsj.m2\repository\org\testinfected\hamcrest-matchers\core-matchers\1.6\core-matchers-1.6.jar;C:\Users\adamsj.m2\repository\org\hamcrest\hamcrest-all\1.3\hamcrest-all-1.3.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-java\3.0.1\selenium-java-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.0.1\selenium-chrome-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.0.1\selenium-remote-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-api\3.0.1\selenium-api-3.0.1.jar;C:\Users\adamsj.m2\repository\cglib\cglib-nodep\3.2.4\cglib-nodep-3.2.4.jar;C:\Users\adamsj.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\adamsj.m2\repository\com\google\code\gson\gson\2.3.1\gson-2.3.1.jar;C:\Users\adamsj.m2\repository\com\google\guava\guava\19.0\guava-19.0.jar;C:\Users\adamsj.m2\repository\net\java\dev\jna\jna-platform\4.1.0\jna-platform-4.1.0.jar;C:\Users\adamsj.m2\repository\net\java\dev\jna\jna\4.1.0\jna-4.1.0.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.0.1\selenium-edge-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.0.1\selenium-firefox-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.0.1\selenium-ie-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.0.1\selenium-opera-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.0.1\selenium-safari-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\io\netty\netty\3.5.7.Final\netty-3.5.7.Final.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-support\3.0.1\selenium-support-3.0.1.jar;C:\Users\adamsj.m2\repository\net\sourceforge\htmlunit\htmlunit\2.23\htmlunit-2.23.jar;C:\Users\adamsj.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar;C:\Users\adamsj.m2\repository\xalan\serializer\2.7.2\serializer-2.7.2.jar;C:\Users\adamsj.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\adamsj.m2\repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;C:\Users\adamsj.m2\repository\org\apache\httpcomponents\httpmime\4.5.2\httpmime-4.5.2.jar;C:\Users\adamsj.m2\repository\net\sourceforge\htmlunit\htmlunit-core-js\2.23\htmlunit-core-js-2.23.jar;C:\Users\adamsj.m2\repository\net\sourceforge\htmlunit\neko-htmlunit\2.23\neko-htmlunit-2.23.jar;C:\Users\adamsj.m2\repository\xerces\xercesImpl\2.11.0\xercesImpl-2.11.0.jar;C:\Users\adamsj.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\adamsj.m2\repository\net\sourceforge\cssparser\cssparser\0.9.20\cssparser-0.9.20.jar;C:\Users\adamsj.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\adamsj.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\adamsj.m2\repository\com\codeborne\phantomjsdriver\1.3.0\phantomjsdriver-1.3.0.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\websocket\websocket-client\9.2.15.v20160210\websocket-client-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\jetty-util\9.2.15.v20160210\jetty-util-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\jetty-io\9.2.15.v20160210\jetty-io-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\websocket\websocket-common\9.2.15.v20160210\websocket-common-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\websocket\websocket-api\9.2.15.v20160210\websocket-api-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\adamsj.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.8.2\jackson-mapper-asl-1.8.2.jar;C:\Users\adamsj.m2\repository\org\codehaus\jackson\jackson-core-asl\1.8.2\jackson-core-asl-1.8.2.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-web\3.1.1.RELEASE\spring-web-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-beans\3.1.1.RELEASE\spring-beans-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-context\3.1.1.RELEASE\spring-context-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-aop\3.1.1.RELEASE\spring-aop-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-expression\3.1.1.RELEASE\spring-expression-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-asm\3.1.1.RELEASE\spring-asm-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-core\3.1.1.RELEASE\spring-core-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\com\microsoft\sqlserver\sqljdbc4\4.0\sqljdbc4-4.0.jar;C:\Users\adamsj.m2\repository\org\apache\activemq\activemq-all\5.9.0\activemq-all-5.9.0.jar;C:\Users\adamsj.m2\repository\org\apache\commons\commons-lang3\3.0\commons-lang3-3.0.jar;C:\Users\adamsj.m2\repository\com\oracle\ojdbc\11.2.0.3.0\ojdbc-11.2.0.3.0.jar;C:\Users\adamsj.m2\repository\org\stjude\testingtools-rgk-client\1.0.1-RELEASE\testingtools-rgk-client-1.0.1-RELEASE.jar;C:\Users\adamsj.m2\repository\jexcelapi\jxl\2.4.2\jxl-2.4.2.jar;C:\Users\adamsj.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Users\adamsj.m2\repository\commons-codec\commons-codec\1.2\commons-codec-1.2.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 org.stjude.aem.ui.tests.AssetSearchPageSortingTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/adamsj/.m2/repository/org/slf4j/slf4j-log4j12/1.7.13/slf4j-log4j12-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/adamsj/.m2/repository/org/apache/activemq/activemq-all/5.9.0/activemq-all-5.9.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2017-05-03 16:07:11 INFO PropsManager:65 - urls.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - bc.dispatcher.qa=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.author.prod=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.dispatcher.dev=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.publisher.prod=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.author.qa=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.author.dev=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.publisher.qa=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.publisher.dev=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.dispatcher.prod=https://
2017-05-03 16:07:11 INFO PropsManager:65 - testing.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - testRunID=308
2017-05-03 16:07:11 INFO PropsManager:69 - sendTestResult=true
2017-05-03 16:07:11 INFO PropsManager:65 - jpa.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.password=*****
2017-05-03 16:07:11 INFO PropsManager:69 - testingtools.environment=PROD
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.url=jdbc:sqlserver://APPDB;database=TestingTools
2017-05-03 16:07:11 INFO PropsManager:69 - eclipselink.logging.level=SEVERE
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.user=TestingToolsUser
2017-05-03 16:07:11 INFO PropsManager:65 - config.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - jms.session.queueName=iQAResultsQueue
2017-05-03 16:07:11 INFO PropsManager:69 - deleteDataDaysOlderThan=7
2017-05-03 16:07:11 INFO PropsManager:69 - activemq.broker.url=tcp://SGP1S1.alsac.local:616161493849233638 geckodriver INFO Listening on 127.0.0.1:17842
May 03, 2017 4:07:14 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
1493849234293 geckodriver::marionette INFO Starting browser \?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
n
itialized
1493849236358 Marionette INFO Listening on port 65261
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
May 03, 2017 4:07:17 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Falling back to original OSS JSON Wire Protocol.
May 03, 2017 4:07:17 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Falling back to straight W3C remote end connection
2017-05-03 16:07:17 INFO BaseTest:403 - $$$$$firefoxANYGRID-ERROR-Unable-to-find-Platform-WINDOWS$$$$$

java.lang.Exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at org.stjude.testingtools.BaseTest.baseSetUp(BaseTest.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.stjude.testingtools.webdriver.WebDriverConfig.createWebDriverInstance(WebDriverConfig.java:162)
at org.stjude.testingtools.BaseTest$MainWindowHandler.open(BaseTest.java:74)
at org.stjude.testingtools.WindowManager.openWindow(WindowManager.java:98)
at org.stjude.testingtools.BaseTest.baseSetUp(BaseTest.java:188)
... 34 more
Caused by: java.lang.reflect.InvocationTargetException
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:423)
at org.stjude.testingtools.webdriver.WebDriverConfig.createWebDriverInstance(WebDriverConfig.java:158)
... 37 more
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{acceptSslCerts=true, acceptInsecureCerts=true, firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@4facf68f, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@4facf68f}], required capabilities = Capabilities [{}]
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'GN45L32', ip: '172.22.18.89', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:259)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:247)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:242)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:135)
... 42 more

java.lang.NullPointerException
at org.stjude.testingtools.BaseTest.baseTearDown(BaseTest.java:431)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

2017-05-03 16:07:22 INFO BaseTest:462 -

Send Test Result To TestRail: 'true'

2017-05-03 16:07:23 INFO MQProducer:64 - Sent message:

org.stjude.aem.ui.tests.AssetSearchPageSortingTest
1493849231719

Process finished with exit code -1

krisring commented May 3, 2017

Here is my console log for the same issue - I'm more than happy to give more information to help get this issue resolved (I may just need some coaching on where to get the pertinent information), anywhere here is my console output:

I am using FF 53 and Geckodriver 16.1 (and IntelliJ)

"C:\Program Files\Java\jdk1.8.0_121\bin\java" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\lib\idea_rt.jar=65254:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\lib\idea_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\plugins\junit\lib\junit-rt.jar;C:\sandbox\stjude\target\classes;C:\Program Files\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\rt.jar;C:\Users\adamsj.m2\repository\org\stjude\testingtools\3.4.0\testingtools-3.4.0.jar;C:\Users\adamsj.m2\repository\junit\junit\4.11\junit-4.11.jar;C:\Users\adamsj.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\adamsj.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\adamsj.m2\repository\org\slf4j\slf4j-api\1.7.13\slf4j-api-1.7.13.jar;C:\Users\adamsj.m2\repository\org\slf4j\slf4j-log4j12\1.7.13\slf4j-log4j12-1.7.13.jar;C:\Users\adamsj.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.jpa\2.6.3\org.eclipse.persistence.jpa-2.6.3.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\javax.persistence\2.1.1\javax.persistence-2.1.1.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.asm\2.6.3\org.eclipse.persistence.asm-2.6.3.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.antlr\2.6.3\org.eclipse.persistence.antlr-2.6.3.jar;C:\Users\adamsj.m2\repository\org\glassfish\javax.json\1.0.4\javax.json-1.0.4.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.jpa.jpql\2.6.3\org.eclipse.persistence.jpa.jpql-2.6.3.jar;C:\Users\adamsj.m2\repository\org\eclipse\persistence\org.eclipse.persistence.core\2.6.3\org.eclipse.persistence.core-2.6.3.jar;C:\Users\adamsj.m2\repository\org\json\json\20131018\json-20131018.jar;C:\Users\adamsj.m2\repository\org\testinfected\hamcrest-matchers\core-matchers\1.6\core-matchers-1.6.jar;C:\Users\adamsj.m2\repository\org\hamcrest\hamcrest-all\1.3\hamcrest-all-1.3.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-java\3.0.1\selenium-java-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.0.1\selenium-chrome-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.0.1\selenium-remote-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-api\3.0.1\selenium-api-3.0.1.jar;C:\Users\adamsj.m2\repository\cglib\cglib-nodep\3.2.4\cglib-nodep-3.2.4.jar;C:\Users\adamsj.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\adamsj.m2\repository\com\google\code\gson\gson\2.3.1\gson-2.3.1.jar;C:\Users\adamsj.m2\repository\com\google\guava\guava\19.0\guava-19.0.jar;C:\Users\adamsj.m2\repository\net\java\dev\jna\jna-platform\4.1.0\jna-platform-4.1.0.jar;C:\Users\adamsj.m2\repository\net\java\dev\jna\jna\4.1.0\jna-4.1.0.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.0.1\selenium-edge-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.0.1\selenium-firefox-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.0.1\selenium-ie-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.0.1\selenium-opera-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.0.1\selenium-safari-driver-3.0.1.jar;C:\Users\adamsj.m2\repository\io\netty\netty\3.5.7.Final\netty-3.5.7.Final.jar;C:\Users\adamsj.m2\repository\org\seleniumhq\selenium\selenium-support\3.0.1\selenium-support-3.0.1.jar;C:\Users\adamsj.m2\repository\net\sourceforge\htmlunit\htmlunit\2.23\htmlunit-2.23.jar;C:\Users\adamsj.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar;C:\Users\adamsj.m2\repository\xalan\serializer\2.7.2\serializer-2.7.2.jar;C:\Users\adamsj.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\adamsj.m2\repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;C:\Users\adamsj.m2\repository\org\apache\httpcomponents\httpmime\4.5.2\httpmime-4.5.2.jar;C:\Users\adamsj.m2\repository\net\sourceforge\htmlunit\htmlunit-core-js\2.23\htmlunit-core-js-2.23.jar;C:\Users\adamsj.m2\repository\net\sourceforge\htmlunit\neko-htmlunit\2.23\neko-htmlunit-2.23.jar;C:\Users\adamsj.m2\repository\xerces\xercesImpl\2.11.0\xercesImpl-2.11.0.jar;C:\Users\adamsj.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\adamsj.m2\repository\net\sourceforge\cssparser\cssparser\0.9.20\cssparser-0.9.20.jar;C:\Users\adamsj.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\adamsj.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\adamsj.m2\repository\com\codeborne\phantomjsdriver\1.3.0\phantomjsdriver-1.3.0.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\websocket\websocket-client\9.2.15.v20160210\websocket-client-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\jetty-util\9.2.15.v20160210\jetty-util-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\jetty-io\9.2.15.v20160210\jetty-io-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\websocket\websocket-common\9.2.15.v20160210\websocket-common-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\org\eclipse\jetty\websocket\websocket-api\9.2.15.v20160210\websocket-api-9.2.15.v20160210.jar;C:\Users\adamsj.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\adamsj.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.8.2\jackson-mapper-asl-1.8.2.jar;C:\Users\adamsj.m2\repository\org\codehaus\jackson\jackson-core-asl\1.8.2\jackson-core-asl-1.8.2.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-web\3.1.1.RELEASE\spring-web-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-beans\3.1.1.RELEASE\spring-beans-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-context\3.1.1.RELEASE\spring-context-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-aop\3.1.1.RELEASE\spring-aop-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-expression\3.1.1.RELEASE\spring-expression-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-asm\3.1.1.RELEASE\spring-asm-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\org\springframework\spring-core\3.1.1.RELEASE\spring-core-3.1.1.RELEASE.jar;C:\Users\adamsj.m2\repository\com\microsoft\sqlserver\sqljdbc4\4.0\sqljdbc4-4.0.jar;C:\Users\adamsj.m2\repository\org\apache\activemq\activemq-all\5.9.0\activemq-all-5.9.0.jar;C:\Users\adamsj.m2\repository\org\apache\commons\commons-lang3\3.0\commons-lang3-3.0.jar;C:\Users\adamsj.m2\repository\com\oracle\ojdbc\11.2.0.3.0\ojdbc-11.2.0.3.0.jar;C:\Users\adamsj.m2\repository\org\stjude\testingtools-rgk-client\1.0.1-RELEASE\testingtools-rgk-client-1.0.1-RELEASE.jar;C:\Users\adamsj.m2\repository\jexcelapi\jxl\2.4.2\jxl-2.4.2.jar;C:\Users\adamsj.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Users\adamsj.m2\repository\commons-codec\commons-codec\1.2\commons-codec-1.2.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 org.stjude.aem.ui.tests.AssetSearchPageSortingTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/adamsj/.m2/repository/org/slf4j/slf4j-log4j12/1.7.13/slf4j-log4j12-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/adamsj/.m2/repository/org/apache/activemq/activemq-all/5.9.0/activemq-all-5.9.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2017-05-03 16:07:11 INFO PropsManager:65 - urls.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - bc.dispatcher.qa=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.author.prod=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.dispatcher.dev=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.publisher.prod=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.author.qa=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.author.dev=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.publisher.qa=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.publisher.dev=https://
2017-05-03 16:07:11 INFO PropsManager:69 - bc.dispatcher.prod=https://
2017-05-03 16:07:11 INFO PropsManager:65 - testing.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - testRunID=308
2017-05-03 16:07:11 INFO PropsManager:69 - sendTestResult=true
2017-05-03 16:07:11 INFO PropsManager:65 - jpa.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.password=*****
2017-05-03 16:07:11 INFO PropsManager:69 - testingtools.environment=PROD
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.url=jdbc:sqlserver://APPDB;database=TestingTools
2017-05-03 16:07:11 INFO PropsManager:69 - eclipselink.logging.level=SEVERE
2017-05-03 16:07:11 INFO PropsManager:69 - javax.persistence.jdbc.user=TestingToolsUser
2017-05-03 16:07:11 INFO PropsManager:65 - config.properties::
2017-05-03 16:07:11 INFO PropsManager:69 - jms.session.queueName=iQAResultsQueue
2017-05-03 16:07:11 INFO PropsManager:69 - deleteDataDaysOlderThan=7
2017-05-03 16:07:11 INFO PropsManager:69 - activemq.broker.url=tcp://SGP1S1.alsac.local:616161493849233638 geckodriver INFO Listening on 127.0.0.1:17842
May 03, 2017 4:07:14 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
1493849234293 geckodriver::marionette INFO Starting browser \?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
n
itialized
1493849236358 Marionette INFO Listening on port 65261
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
May 03, 2017 4:07:17 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Falling back to original OSS JSON Wire Protocol.
May 03, 2017 4:07:17 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Falling back to straight W3C remote end connection
2017-05-03 16:07:17 INFO BaseTest:403 - $$$$$firefoxANYGRID-ERROR-Unable-to-find-Platform-WINDOWS$$$$$

java.lang.Exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at org.stjude.testingtools.BaseTest.baseSetUp(BaseTest.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.stjude.testingtools.webdriver.WebDriverConfig.createWebDriverInstance(WebDriverConfig.java:162)
at org.stjude.testingtools.BaseTest$MainWindowHandler.open(BaseTest.java:74)
at org.stjude.testingtools.WindowManager.openWindow(WindowManager.java:98)
at org.stjude.testingtools.BaseTest.baseSetUp(BaseTest.java:188)
... 34 more
Caused by: java.lang.reflect.InvocationTargetException
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:423)
at org.stjude.testingtools.webdriver.WebDriverConfig.createWebDriverInstance(WebDriverConfig.java:158)
... 37 more
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{acceptSslCerts=true, acceptInsecureCerts=true, firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@4facf68f, moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@4facf68f}], required capabilities = Capabilities [{}]
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'GN45L32', ip: '172.22.18.89', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:259)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:247)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:242)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:135)
... 42 more

java.lang.NullPointerException
at org.stjude.testingtools.BaseTest.baseTearDown(BaseTest.java:431)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

2017-05-03 16:07:22 INFO BaseTest:462 -

Send Test Result To TestRail: 'true'

2017-05-03 16:07:23 INFO MQProducer:64 - Sent message:

org.stjude.aem.ui.tests.AssetSearchPageSortingTest
1493849231719

Process finished with exit code -1

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 4, 2017

Member

@PascalGit1 I learned yesterday that it is possible to do FirefoxOptions#setLogLevel(LogLevel.ALL) in Java.

Member

andreastt commented May 4, 2017

@PascalGit1 I learned yesterday that it is possible to do FirefoxOptions#setLogLevel(LogLevel.ALL) in Java.

@mythsunwind

This comment has been minimized.

Show comment
Hide comment
@mythsunwind

mythsunwind May 5, 2017

Contributor

@PascalGit1 I had the same issue but found out that I was using selenium-java 3.3.1 instead of 3.4.0. An update to 3.4.0 helped. From your logs i see that you are using 3.2.0 of selenium-java still (shown as Build info: version: '3.2.0').

@krisring This might be your problem too, you are using selenium-java 3.0.1.

Contributor

mythsunwind commented May 5, 2017

@PascalGit1 I had the same issue but found out that I was using selenium-java 3.3.1 instead of 3.4.0. An update to 3.4.0 helped. From your logs i see that you are using 3.2.0 of selenium-java still (shown as Build info: version: '3.2.0').

@krisring This might be your problem too, you are using selenium-java 3.0.1.

@Swaraj-Krishnan

This comment has been minimized.

Show comment
Hide comment
@Swaraj-Krishnan

Swaraj-Krishnan May 5, 2017

I got the same issue while working with selenium 3.3.1.. Works fine with selenium 3.4.0..

Swaraj-Krishnan commented May 5, 2017

I got the same issue while working with selenium 3.3.1.. Works fine with selenium 3.4.0..

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 5, 2017

Member

Thanks @mythsunwind and @Swaraj-Krishnan. I’m going to close this since we have reports it is working as expected with Selenium 3.4.0 and geckodriver 0.16.1.

@PascalGit1 I’m happy to open this again if this is still an issue, but please add the information requested.

Member

andreastt commented May 5, 2017

Thanks @mythsunwind and @Swaraj-Krishnan. I’m going to close this since we have reports it is working as expected with Selenium 3.4.0 and geckodriver 0.16.1.

@PascalGit1 I’m happy to open this again if this is still an issue, but please add the information requested.

@andreastt andreastt closed this May 5, 2017

@danhper

This comment has been minimized.

Show comment
Hide comment
@danhper

danhper May 6, 2017

Upgrading to Selenium 3.4 and geckodriver 0.16.1 also solved the issue for me.

danhper commented May 6, 2017

Upgrading to Selenium 3.4 and geckodriver 0.16.1 also solved the issue for me.

@PascalGit1

This comment has been minimized.

Show comment
Hide comment
@PascalGit1

PascalGit1 May 9, 2017

I am actually using Selenium 3.4 but it looks like when i run from eclipse it picks up the old version?
Hopefully i can fix this then i will report back.

It seems to pick up the 3.4 version when i run from CMD

UPDATE:
There were some jars that didn't get updated when using clean build in eclipse so had to manually remove them.
@andreastt & @mythsunwind thanks for all the help

PascalGit1 commented May 9, 2017

I am actually using Selenium 3.4 but it looks like when i run from eclipse it picks up the old version?
Hopefully i can fix this then i will report back.

It seems to pick up the 3.4 version when i run from CMD

UPDATE:
There were some jars that didn't get updated when using clean build in eclipse so had to manually remove them.
@andreastt & @mythsunwind thanks for all the help

@qa-bob

This comment has been minimized.

Show comment
Hide comment
@qa-bob

qa-bob May 10, 2017

I am still seeing this: Starting browser \?\C:\Program Files (x86)....
Not sure how to resolve yet.

qa-bob commented May 10, 2017

I am still seeing this: Starting browser \?\C:\Program Files (x86)....
Not sure how to resolve yet.

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 15, 2017

Member

@qa-bob I don’t understand what problem you’re describing.

Member

andreastt commented May 15, 2017

@qa-bob I don’t understand what problem you’re describing.

@kowshikgowtham

This comment has been minimized.

Show comment
Hide comment
@kowshikgowtham

kowshikgowtham May 26, 2017

error occured while running the eclipse ? how to recover it?

1495822169356 geckodriver INFO Listening on 127.0.0.1:45334
1495822170133 geckodriver::marionette INFO Starting browser \?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1495822170453 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1495822174636 Marionette INFO Listening on port 50513
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1495822175361 Marionette WARN TLS certificate errors will be ignored for this session
May 26, 2017 11:39:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

kowshikgowtham commented May 26, 2017

error occured while running the eclipse ? how to recover it?

1495822169356 geckodriver INFO Listening on 127.0.0.1:45334
1495822170133 geckodriver::marionette INFO Starting browser \?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1495822170453 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1495822174636 Marionette INFO Listening on port 50513
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
1495822175361 Marionette WARN TLS certificate errors will be ignored for this session
May 26, 2017 11:39:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 26, 2017

Member

@kowshikgowtham I don’t think those errors from addons.manager is anyting to worry about. Are you actually getting any WebDriver related errors?

Member

andreastt commented May 26, 2017

@kowshikgowtham I don’t think those errors from addons.manager is anyting to worry about. Are you actually getting any WebDriver related errors?

@whimboo

This comment has been minimized.

Show comment
Hide comment
@whimboo

whimboo May 29, 2017

Collaborator

FYI the issue with the addon manager initalization is covered by bug https://bugzilla.mozilla.org/show_bug.cgi?id=1364385.

Collaborator

whimboo commented May 29, 2017

FYI the issue with the addon manager initalization is covered by bug https://bugzilla.mozilla.org/show_bug.cgi?id=1364385.

@saurabhssk

This comment has been minimized.

Show comment
Hide comment
@saurabhssk

saurabhssk Jun 3, 2017

I am using Selenium 3.4.0 and geckodriver 0.16.1 and running it in eclipse.
Getting below msg:

1496478855444 geckodriver INFO Listening on 127.0.0.1:28244
1496478856245 geckodriver::marionette INFO Starting browser \?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1496478857367 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
[GFX1]: Potential driver version mismatch ignored due to missing DLLs 0.0.0.0 and 0.0.0.0
1496478860991 Marionette INFO Listening on port 62087
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
Jun 03, 2017 6:34:21 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

saurabhssk commented Jun 3, 2017

I am using Selenium 3.4.0 and geckodriver 0.16.1 and running it in eclipse.
Getting below msg:

1496478855444 geckodriver INFO Listening on 127.0.0.1:28244
1496478856245 geckodriver::marionette INFO Starting browser \?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1496478857367 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 70" data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
JavaScript error: resource://gre/modules/AddonManager.jsm, line 1657: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
[GFX1]: Potential driver version mismatch ignored due to missing DLLs 0.0.0.0 and 0.0.0.0
1496478860991 Marionette INFO Listening on port 62087
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
Jun 03, 2017 6:34:21 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

@whimboo

This comment has been minimized.

Show comment
Hide comment
@whimboo

whimboo Jun 6, 2017

Collaborator

The addon manager related bug which could cause some issues with starting a session has been fixed, and will be part of the next release of geckodriver which will hopefully get out this week.

Given that everyone on this issue is facing this add-on manager related issue I will mark it as dupe of issue #715.

Collaborator

whimboo commented Jun 6, 2017

The addon manager related bug which could cause some issues with starting a session has been fixed, and will be part of the next release of geckodriver which will hopefully get out this week.

Given that everyone on this issue is facing this add-on manager related issue I will mark it as dupe of issue #715.

@saurabhssk

This comment has been minimized.

Show comment
Hide comment
@saurabhssk

saurabhssk commented Jun 6, 2017

Thank you @whimboo

@mozilla mozilla deleted a comment from sirinibin Apr 21, 2018

@mozilla mozilla locked and limited conversation to collaborators Apr 21, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.