Title: FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE · Issue #25 · browserstack/browserstack-local-java · GitHub
Open Graph Title: FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE · Issue #25 · browserstack/browserstack-local-java
X Title: FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE · Issue #25 · browserstack/browserstack-local-java
Description: Hi, I set my project according to this repository. It worked OK, but now some random tests are failed with following failure. Issue tends to appear randomly, without any detailed stacktrace. I think that implementation is correct, becaus...
Open Graph Description: Hi, I set my project according to this repository. It worked OK, but now some random tests are failed with following failure. Issue tends to appear randomly, without any detailed stacktrace. I thin...
X Description: Hi, I set my project according to this repository. It worked OK, but now some random tests are failed with following failure. Issue tends to appear randomly, without any detailed stacktrace. I thin...
Opengraph URL: https://github.com/browserstack/browserstack-local-java/issues/25
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE","articleBody":"Hi,\r\nI set my project according to this repository. It worked OK, but now some random tests are failed with following failure. Issue tends to appear randomly, without any detailed stacktrace. I think that implementation is correct, because majority of tests works, it means that RemoteWebDriver is created correctly and connected to browserstack. I'm using serenity with cucumber and tests run on BS. Please have you any idea?\r\n\r\n11:54:16.369 [Test worker] ERROR n.t.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class net.thucydides.core.webdriver.ProvidedDriver: Could not instantiate new WebDriver instance of type class net.thucydides.core.webdriver.ProvidedDriver (null\r\n net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class net.thucydides.core.webdriver.ProvidedDriver (null\r\n \tat net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135)\r\n \tat net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:147)\r\n \tat net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:138)\r\n \tat net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:108)\r\n \tat net.thucydides.core.webdriver.WebDriverFacade.getDriverClass(WebDriverFacade.java:101)\r\n \tat net.thucydides.core.webdriver.WebDriverType.isMobile(WebDriverType.java:9)\r\n \tat net.thucydides.core.webdriver.ElementLocatorFactorySelector.platformFor(ElementLocatorFactorySelector.java:48)\r\n \tat net.thucydides.core.webdriver.ElementLocatorFactorySelector.getLocatorFor(ElementLocatorFactorySelector.java:41)\r\n \tat net.thucydides.core.webdriver.ElementLocatorFactorySelector.getLocatorFor(ElementLocatorFactorySelector.java:31)\r\n \tat net.thucydides.core.annotations.locators.SmartElementProxyCreator.proxyElements(SmartElementProxyCreator.java:25)\r\n \tat net.thucydides.core.webdriver.DefaultPageObjectInitialiser.apply(DefaultPageObjectInitialiser.java:21)\r\n \tat net.serenitybdd.core.pages.PageObject.setDriver(PageObject.java:150)\r\n \tat net.serenitybdd.core.pages.PageObject.setDriver(PageObject.java:154)\r\n \tat net.serenitybdd.core.pages.PageObject.\u003cinit>(PageObject.java:139)\r\n \tat net.serenitybdd.screenplay.abilities.BrowseTheWeb.\u003cinit>(BrowseTheWeb.java:34)\r\n \tat net.serenitybdd.screenplay.abilities.BrowseTheWeb.with(BrowseTheWeb.java:50)\r\n \tat com.ui.common.GlobalBeforeAndAfter.uiUserCanBrowseWeb(GlobalBeforeAndAfter.java:30)\r\n \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n \tat cucumber.runtime.Utils$1.call(Utils.java:40)\r\n \tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n \tat cucumber.runtime.Utils.invoke(Utils.java:34)\r\n \tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)\r\n \tat cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:224)\r\n \tat cucumber.runtime.Runtime.runHooks(Runtime.java:212)\r\n \tat cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:202)\r\n \tat cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)\r\n \tat cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)\r\n \tat org.junit.runners.Suite.runChild(Suite.java:128)\r\n \tat org.junit.runners.Suite.runChild(Suite.java:27)\r\n \tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n \tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n \tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n \tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n \tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n \tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n \tat cucumber.runtime.junit.ExamplesRunner.run(ExamplesRunner.java:59)\r\n \tat org.junit.runners.Suite.runChild(Suite.java:128)\r\n \tat org.junit.runners.Suite.runChild(Suite.java:27)\r\n \tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n \tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n \tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n \tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n \tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n \tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n \tat cucumber.runtime.junit.ScenarioOutlineRunner.run(ScenarioOutlineRunner.java:53)\r\n \tat cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)\r\n \tat cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)\r\n \tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n \tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n \tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n \tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n \tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n \tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n \tat cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)\r\n \tat cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)\r\n \tat cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)\r\n \tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n \tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n \tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n \tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n \tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n \tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\r\n \tat org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)\r\n \tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n \tat cucumber.api.junit.Cucumber.run(Cucumber.java:100)\r\n \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)\r\n \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)\r\n \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)\r\n \tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n \tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n \tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n \tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)\r\n \tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)\r\n \tat com.sun.proxy.$Proxy3.processTestClass(Unknown Source)\r\n \tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)\r\n \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n \tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n \tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n \tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:146)\r\n \tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:128)\r\n \tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)\r\n \tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\n \tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\n \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n \tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\n \tat java.lang.Thread.run(Thread.java:748)\r\n Caused by: java.lang.NullPointerException: null\r\n \tat net.thucydides.core.webdriver.redimension.RedimensionConfiguration.supportsScreenResizing(RedimensionConfiguration.java:18)\r\n \tat net.thucydides.core.webdriver.redimension.RedimensionStrategy.strategyFor(RedimensionStrategy.java:15)\r\n \tat net.thucydides.core.webdriver.redimension.RedimensionBrowser.withDriver(RedimensionBrowser.java:31)\r\n \tat net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:127)","author":{"url":"https://github.com/lukacmilos","@type":"Person","name":"lukacmilos"},"datePublished":"2017-11-23T12:42:24Z","url":"https://github.com/browserstack/browserstack-local-java/issues/25"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0be42470-f059-3d16-817c-b222a09522b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9F4:AEAB2:7723BC:A7B6F9:6B044DB8 |
| html-safe-nonce | f5c75a150f03eec70774bfd9b1b9e9df73e5d320ad7c0fdd32f0f4c6c94af957 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUY0OkFFQUIyOjc3MjNCQzpBN0I2Rjk6NkIwNDREQjgiLCJ2aXNpdG9yX2lkIjoiNDA2NDczMjEzOTkxOTUyNzM1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 19c90247d3f819c5afcdb6deb9081d49ad4626a25d1bc509929392cb9434860c |
| hovercard-subject-tag | issue:276361178 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/browserstack-local-java/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ec34caba68c277afe2426f69f10816ce494d525a5f0a4cd2a1467713f5893da/browserstack/browserstack-local-java/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ec34caba68c277afe2426f69f10816ce494d525a5f0a4cd2a1467713f5893da/browserstack/browserstack-local-java/issues/25 |
| og:image:alt | Hi, I set my project according to this repository. It worked OK, but now some random tests are failed with following failure. Issue tends to appear randomly, without any detailed stacktrace. I thin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lukacmilos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/browserstack-local-java git https://github.com/browserstack/browserstack-local-java.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 51923142 |
| octolytics-dimension-repository_nwo | browserstack/browserstack-local-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51923142 |
| octolytics-dimension-repository_network_root_nwo | browserstack/browserstack-local-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width