-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
B-gridEverything grid and server relatedEverything grid and server relatedI-defectSomething is not working as intendedSomething is not working as intended
Milestone
Description
What happened?
I can see java.lang.IllegalArgumentException errors in the log of the nightly builds, but this should also happen with 4.20.0.
Setting a null value is not allowed: https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/grid/node/config/DriverServiceSessionFactory.java#L331
How can we reproduce the issue?
org.openqa.selenium.grid.Bootstrap.main("standalone --host 127.0.0.1 --port 4567".split(" "));
Thread.sleep(Duration.ofSeconds(20));
var driver = new RemoteWebDriver(URI.create("http://127.0.0.1:4567/wd/hub").toURL(), new ChromeOptions());Relevant log output
java.lang.IllegalArgumentException: Value must be set
at org.openqa.selenium.internal.Require.nonNull(Require.java:61)
at org.openqa.selenium.ImmutableCapabilities.<init>(ImmutableCapabilities.java:39)
at org.openqa.selenium.PersistentCapabilities.setCapability(PersistentCapabilities.java:54)
at org.openqa.selenium.grid.node.config.DriverServiceSessionFactory.setBrowserBinary(DriverServiceSessionFactory.java:331)
at org.openqa.selenium.grid.node.config.DriverServiceSessionFactory.apply(DriverServiceSessionFactory.java:136)
at org.openqa.selenium.grid.node.config.DriverServiceSessionFactory.apply(DriverServiceSessionFactory.java:71)
at org.openqa.selenium.grid.node.local.SessionSlot.apply(SessionSlot.java:147)
at org.openqa.selenium.grid.node.local.LocalNode.newSession(LocalNode.java:469)
at org.openqa.selenium.grid.distributor.local.LocalDistributor.startSession(LocalDistributor.java:652)
at org.openqa.selenium.grid.distributor.local.LocalDistributor.newSession(LocalDistributor.java:571)
at org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.handleNewSessionRequest(LocalDistributor.java:831)
at org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.lambda$run$1(LocalDistributor.java:791)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)Operating System
Win 10 x64
Selenium version
4.21.0-SNATSHOT
What are the browser(s) and version(s) where you see this issue?
Chrome 124
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver 124
Are you using Selenium Grid?
4.21.0-SNATSHOT
Metadata
Metadata
Assignees
Labels
B-gridEverything grid and server relatedEverything grid and server relatedI-defectSomething is not working as intendedSomething is not working as intended