I am getting the ExceptioninInitializerError as cannot find Chrome Binary error while trying to run the selenium test through Bamboo job. below is the snippet from the log file
error 17-May-2022 09:58:33 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". error 17-May-2022 09:58:33 SLF4J: Defaulting to no-operation (NOP) logger implementation error 17-May-2022 09:58:33 SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. error 17-May-2022 09:58:34 Starting ChromeDriver 101.0.4951.41 (93c720db8323b3ec10d056025ab95c23a31997c9-refs/branch-heads/4951@{#904}) on port 8798 error 17-May-2022 09:58:34 Only local connections are allowed. error 17-May-2022 09:58:34 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. error 17-May-2022 09:58:34 ChromeDriver was started successfully. build 17-May-2022 09:58:35 [INFO] ------------------------------------------------------------------------ build 17-May-2022 09:58:35 [INFO] BUILD FAILURE build 17-May-2022 09:58:35 [INFO] ------------------------------------------------------------------------ build 17-May-2022 09:58:35 [INFO] Total time: 7.782 s build 17-May-2022 09:58:35 [INFO] Finished at: 2022-05-17T09:58:35+00:00 build 17-May-2022 09:58:35 [INFO] Final Memory: 40M/520M build 17-May-2022 09:58:35 [INFO] ------------------------------------------------------------------------ build 17-May-2022 09:58:35 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default) on project Uber: An exception occured while executing the Java class. null: InvocationTargetException: ExceptionInInitializerError: unknown error: cannot find Chrome binary build 17-May-2022 09:58:35 [ERROR] Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' build 17-May-2022 09:58:35 [ERROR] System info: host: 'usw2a-bamboo-prod-node01', ip: '172.31.201.158', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.0-18-amd64', java.version: '1.8.0_332' build 17-May-2022 09:58:35 [ERROR] Driver info: driver.version: Driver