This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251320 - IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property;
Summary: IllegalStateException: The path to the driver executable must be set by the w...
Status: RESOLVED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Selenium (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 12:52 UTC by Jiri Kovalsky
Modified: 2015-08-27 10:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216249


Attachments
stacktrace (4.79 KB, text/plain)
2015-03-20 12:52 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-03-20 12:52:14 UTC
Build: NetBeans IDE Dev (Build 1)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Linux

User Comments:
jkovalsky: 1. In "Services" view I configured "Selenium Server" and then invoked "Start" from its popup menu.
2. In web browser I visited http://localhost:4445/wd/hub and clicked "Create Session" button.
3. I selected "chrome" browser from the pull down menu and clicked "OK" button.
4. Exception was thrown.




Stacktrace: 
java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
   at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
   at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:105)
   at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:89)
   at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:139)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Comment 1 Jiri Kovalsky 2015-03-20 12:52:16 UTC
Created attachment 152746 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2015-08-27 10:18:25 UTC
I cannot reproduce on:
Product Version: NetBeans IDE Dev (Build 20150824-f2c2ae933a51)
Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11
Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15
System: Linux version 3.16.0-44-generic running on amd64; UTF-8; en_US (nb)

using latest server version 2.47.1. I could follow your steps up to step 3. session got created normally and no exception was thrown. In any case though the exception you posted comes from selenium itself so I am guessing it got fixed on their end in the mean while :)