I was redirected to here from the GitHub Selenium Issues page. Appreciate any help here
META
OS: Windows 7
Selenium Version: 2.53
Browser: Firefox
Browser Version: Not Available
Here is another team's issue I am trying to resolve. I have tried multiple suggestions out there on the web to remove the httpclient/httpcore jar, lower its version and the rest of the fixes including clean .m2 repo but still running into below stacktrace. I have tried most of the routine fixes but still not luck. Any help would be greatly appreciated!!!
Stacktrace:
java.lang.NoSuchFieldError: INSTANCE
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.(SSLConne
ctionSocketFactory.java:144)
at org.openqa.selenium.remote.internal.HttpClientFactory.getClientConnec
tionManager(HttpClientFactory.java:71)
at org.openqa.selenium.remote.internal.HttpClientFactory.(HttpClie
ntFactory.java:57)
at org.openqa.selenium.remote.internal.HttpClientFactory.(HttpClie
ntFactory.java:60)
at org.openqa.selenium.remote.internal.ApacheHttpClient$Factory.getDefau
ltHttpClientFactory(ApacheHttpClient.java:252)
at org.openqa.selenium.remote.internal.ApacheHttpClient$Factory.(A
pacheHttpClient.java:229)
at org.openqa.selenium.remote.HttpCommandExecutor.getDefaultClientFactor
y(HttpCommandExecutor.java:96)
at org.openqa.selenium.remote.HttpCommandExecutor.(HttpCommandExec
utor.java:70)
at org.openqa.selenium.remote.HttpCommandExecutor.(HttpCommandExec
utor.java:58)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.st
art(NewProfileExtensionConnection.java:87)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.j
ava:271)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.jav
a:119)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:2
16)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:2
11)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:2
07)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:1
Dependency Tree
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ someProject ---
[INFO] com.someproject:jar:0.0.1-SNAPSHOT
[INFO] +- org.testng:testng:jar:6.9.9:compile
[INFO] | +- com.beust:jcommander:jar:1.48:compile
[INFO] | +- org.apache.ant
jar:1.7.0:compile
[INFO] | | - org.apache.ant:ant-launcher:jar:1.7.0:compile
[INFO] | +- org.yaml:snakeyaml:jar:1.15:compile
[INFO] | - org.beanshell:bsh:jar:2.0b4:compile
[INFO] +- com.oracle:ojdbc7:jar:12.1.0.1:system
[INFO] +- apache-log4j:log4j:jar:1.2.15:system
[INFO] +- com.mercury.qualitycenter:otaclient:jar:9.2:system
[INFO] +- org.seleniumhq.selenium:selenium-java:jar:2.53.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.53.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-edge-driver:jar:2.53.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.53.0:compile
[INFO] | | +- net.java.dev.jna:jna:jar:4.1.0:compile
[INFO] | | - net.java.dev.jna:jna-platform:jar:4.1.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-safari-driver:jar:2.53.0:compile
[INFO] | | - io.netty:netty:jar:3.5.7.Final:compile
[INFO] | +- org.seleniumhq.selenium:selenium-support:jar:2.53.0:compile
[INFO] | - org.seleniumhq.selenium:selenium-leg-rc:jar:2.53.0:compile
[INFO] +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.53.0:compile
[INFO] | +- org.seleniumhq.selenium:selenium-remote-driver:jar:2.53.0:compile
[INFO] | | +- cglib:cglib-nodep:jar:2.1_3:compile
[INFO] | | +- org.seleniumhq.selenium:selenium-api:jar:2.53.0:compile
[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.1:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.3:compile
[INFO] | | | - commons-logging:commons-logging:jar:1.2:compile
[INFO] | | - com.google.guava:guava:jar:19.0:compile
[INFO] | +- commons-io:commons-io:jar:2.4:compile
[INFO] | - org.apache.commons:commons-exec:jar:1.3:compile
[INFO] +- org.apache.poi:poi:jar:3.10.1:compile
[INFO] | - commons-codec:commons-codec:jar:1.5:compile
[INFO] +- mysql:mysql-connector-java:jar:5.1.35:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.10.1:compile
[INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:3.10.1:compile
[INFO] | | - org.apache.xmlbeans:xmlbeans:jar:2.6.0:compile
[INFO] | | - stax:stax-api:jar:1.0.1:compile
[INFO] | - dom4j:dom4j:jar:1.6.1:compile
[INFO] | - xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] - junit:junit:jar:4.12:compile
[INFO] - org.hamcrest:hamcrest-core:jar:1.3:compile
For ease of us in debugging pls share your dependencies information
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d69799d4-5172-42f8-a2e9-d34819514460%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Arun
The list of dependencies in your pom file is what is needed here because we can use it to recreate the problem.
That will be more helpful than a dependency tree.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/eb4436fe-26e7-4fd2-8ffa-b1025755426e%40googlegroups.com.
The error is caused by your project using a different version of the JAR which contains SSLConnectionSocketFactory than what the immediately calling code (HttpClientFactory) expects.
In this case you are probably using an older version of SSLConnectionSocketFactory - open source code is generally upwards compatible.
Your version of httpcore is a bit behind httpclient - I suggest managing the version of httpcore upwards, and seeing if that fixes the problem.
Good luck,
Alasdair Macmillan
Hi srinu,
Please help me.Im trying to run the firefox version 45 .But in Console showing error.
Unable to connect to host localhost on port 7055 after 45000 ms. Firefox console output:
xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1461839783898 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1461839783899 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdr...@googlecode.com":{"d":"C:\\DOCUME~1\\NEW\\LOCALS~1\\Temp\\anonymous4914109728321131745webdriver-profile\\extensions\\fxdr...@googlecode.com","e":false,"v":"2.41.0","st":1461839779640,"mt":1461839779343}},"app-system-defaults":{"lo...@mozilla.org":{"d":"C:\\Program Files\\Mozilla Firefox\\browser\\features\\lo...@mozilla.org.xpi","e":true,"v":"1.1.14","st":1461043477187}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","e":true,"v":"45.0.2","st":1461043477203}}}
1461839783903 addons.xpi DEBUG No changes found
1461839783917 addons.xpi DEBUG Registering manifest for C:\Program Files\Mozilla Firefox\browser\features\loop@mozilla.org.xpi
1461839783920 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files\Mozilla Firefox\browser\features\loop@mozilla.org.xpi
1461839783917 addons.xpi DEBUG Registering manifest for C:\Program Files\Mozilla Firefox\browser\features\loop@mozilla.org.xpi
1461839783920 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files\Mozilla Firefox\browser\features\loop@mozilla.org.xpi
1461839783917 addons.xpi DEBUG Registering manifest for C:\Program Files\Mozilla Firefox\browser\features\loop@mozilla.org.xpi
1461839783920 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files\Mozilla Firefox\browser\features\loop@mozilla.org.xpi