Discussion:
[selenium-users] Selenium - Eclipse Java Error
Sahar
2018-11-08 09:39:44 UTC
Permalink
Hi all,

I recently installed a new machine with Eclipse and Java selenium.

The Eclipse is version :
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.

With Selenium, I am supposed to run some auto tests:
According to this link :
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)

Your reply will be highly appreciated.
Thankyou!!.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a7173abd-8c26-4967-84bb-c3fdb1e51de6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Venu G
2018-11-15 12:09:23 UTC
Permalink
Does your gecko driver supports installed version of FF in your system...
Seems like version compatability.
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ad81ebca-85ef-45a4-afc4-08bff04b1599%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sahar
2018-11-15 13:24:16 UTC
Permalink
Hi,
Thanks for your reply.
But i try with other version of geckodriver like :

/**************** geckodriver-v0.22.0 **************************/

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException:
Unable to find a matching set of capabilities
Build info: version: '3.14.0', revision: 'aacccce0', time:
'2018-08-02T20:05:20.749Z'
System info: host: 'D-TN-5WQP9L2', ip: '10.2.80.196', os.name: 'Windows
10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
remote stacktrace:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
at FirstPackage.FirstScript.main(FirstScript.java:12)


/********************* geckodriver-v0.21.0
*****************************************/

1542288244290 geckodriver INFO geckodriver 0.21.0
1542288244298 geckodriver INFO Listening on 127.0.0.1:45068
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException:
Unable to find a matching set of capabilities
Build info: version: '3.14.0', revision: 'aacccce0', time:
'2018-08-02T20:05:20.749Z'
System info: host: 'D-TN-5WQP9L2', ip: '10.2.80.196', os.name: 'Windows
10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
remote stacktrace:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
at FirstPackage.FirstScript.main(FirstScript.java:12)
Post by Venu G
Does your gecko driver supports installed version of FF in your system...
Seems like version compatability.
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b55cd072-2eae-4d5f-b331-4d8281575f2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
kpshibi
2018-11-15 14:03:02 UTC
Permalink
The possible causes of a new session not getting created are as follows :

- Compatibility issues between *JDK*, *Selenium*, *WebDriver* and *Web
Browser* versions.
- Accessing the same port number by GeckoDriver or Marionette by the new
session which previous session have't released yet.
- Lack of access to CPU
- Lack of Physical Memory
- Lack of Swap Memory
- Lack of Disc Cache
- Lack of Network Bandwidth
- Presence of OS chores within the system.
Post by Sahar
Hi,
Thanks for your reply.
/**************** geckodriver-v0.22.0 **************************/
Unable to find a matching set of capabilities
'2018-08-02T20:05:20.749Z'
System info: host: 'D-TN-5WQP9L2', ip: '10.2.80.196', os.name: 'Windows
10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
at FirstPackage.FirstScript.main(FirstScript.java:12)
/********************* geckodriver-v0.21.0
*****************************************/
1542288244290 geckodriver INFO geckodriver 0.21.0
1542288244298 geckodriver INFO Listening on 127.0.0.1:45068
Unable to find a matching set of capabilities
'2018-08-02T20:05:20.749Z'
System info: host: 'D-TN-5WQP9L2', ip: '10.2.80.196', os.name: 'Windows
10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at
org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at
org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
at FirstPackage.FirstScript.main(FirstScript.java:12)
Post by Venu G
Does your gecko driver supports installed version of FF in your system...
Seems like version compatability.
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/b55cd072-2eae-4d5f-b331-4d8281575f2b%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/b55cd072-2eae-4d5f-b331-4d8281575f2b%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALznS1NMuhguW5a2y0Xs7f7PDHAupY4CTwpyug-d7ASxjOtUUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
kpshibi
2018-11-15 12:12:46 UTC
Permalink
Can you show me the Error screenshot..
Post by Venu G
Does your gecko driver supports installed version of FF in your system...
Seems like version compatability.
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/ad81ebca-85ef-45a4-afc4-08bff04b1599%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/ad81ebca-85ef-45a4-afc4-08bff04b1599%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALznS1OMFjuepS%2BHe7r00OmV%2B6E3K5ts5jXQxCvLmZ_QqNS5tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Sahar
2018-11-16 08:34:58 UTC
Permalink
The two screenshot are in attachement
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e3678482-6aff-4cbb-b196-a7f8cf2425ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
kpshibi
2018-11-16 09:34:44 UTC
Permalink
Hi,

You have missed the some of the jar file. which have not yet inculcated in
you project.
Other wise please ping this mail id :- ***@gmail.com

Thanks & Regards,
Shibi Kp
Post by Sahar
The two screenshot are in attachement
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/e3678482-6aff-4cbb-b196-a7f8cf2425ed%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/e3678482-6aff-4cbb-b196-a7f8cf2425ed%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALznS1MwPE_hMiamb_dfN8iiLnyz-OSR3JNUcRUqvPNCwFjU9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Lessig Sahar
2018-11-16 10:44:14 UTC
Permalink
hi,

Thanks a lot for your help!that's done now !
Post by kpshibi
Hi,
You have missed the some of the jar file. which have not yet inculcated in
you project.
Thanks & Regards,
Shibi Kp
Post by Sahar
The two screenshot are in attachement
Post by Sahar
Hi all,
I recently installed a new machine with Eclipse and Java selenium.
Eclipse IDE for Eclipse Committers
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
The Selenium library is: selenium-java-3.14.0
I am working on Windows Server, 64 bit system.
http://www.automationtestinghub.com/download-and-install-selenium/: i
started my first application but some error are displayed (picture in
attachement)
Your reply will be highly appreciated.
Thankyou!!.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/e3678482-6aff-4cbb-b196-a7f8cf2425ed%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/e3678482-6aff-4cbb-b196-a7f8cf2425ed%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/CALznS1MwPE_hMiamb_dfN8iiLnyz-OSR3JNUcRUqvPNCwFjU9w%40mail.gmail.com
<https://groups.google.com/d/msgid/selenium-users/CALznS1MwPE_hMiamb_dfN8iiLnyz-OSR3JNUcRUqvPNCwFjU9w%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
*Best Regards*,

Lessig Chedlia
Embedded Software engineer At SagemCom Software & Technology
--
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-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAD9wR-2b179ru%3DpkVRakFcsZi8bhi_-P8syOu88S%3DTLWaaW0JQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...