Unable to start katalon on linux CentOS 6.8.

Hi,
I am trying to run a simple test case on the Linux server, but getting the following error.

05-04-2018 05:48:27 PM - [ERROR] - java.lang.ExceptionInInitializerError

logs.

openjdk version “1.8.0_171”

OpenJDK Runtime Environment (build 1.8.0_171-b10)

OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified

133 2.4.7.xx-201611170128-e46 = ACTIVE

--------------------------------------------------------------------------------

Test Suites/Widget_Test_Suite - Remote - http://192.168.89.185:4444/wd/hub/ - 20

180504_174826…0/1(0%)

--------------------------------------------------------------------------------

Request sent successfully.

05-04-2018 05:48:27 PM - [START] - Start Test Suite : Test Suites/Widget_Test_Suite

05-04-2018 05:48:27 PM - [RUN_DATA] - Logging run data ‘hostName’ with value ‘build - cajon.quartetfs.com

05-04-2018 05:48:27 PM - [RUN_DATA] - Logging run data ‘os’ with value ‘Linux 64bit’

05-04-2018 05:48:27 PM - [RUN_DATA] - Logging run data ‘hostAddress’ with value ‘127.0.0.1’

05-04-2018 05:48:27 PM - [RUN_DATA] - Logging run data ‘katalonVersion’ with value ‘5.4.1.1’

05-04-2018 05:48:27 PM - [START] - Start setup action : setUp

05-04-2018 05:48:27 PM - [START] - Start action : openBrowser

05-04-2018 05:48:27 PM - [END] - End action : openBrowser

05-04-2018 05:48:27 PM - [ERROR] - java.lang.ExceptionInInitializerError

05-04-2018 05:48:27 PM - [END] - End End action : setUp

05-04-2018 05:48:27 PM - [END] - End Test Suite : Test Suites/Widget_Test_Suite

--------------------------------------------------------------------------------

Test Suites/Widget_Test_Suite - Remote - http://192.168.89.185:4444/wd/hub/ - 20

180504_174826…0/1(0%)

--------------------------------------------------------------------------------

can someone tell me, what’s the reason for this error?

CentOS is not tested, and Katalon Studio is claimed to support for Ubuntu-based OS, so if you have a chance, please try with Ubuntu instead.

Hi Vinh,

I have tested it on Ubuntu, but we use CentOS on our servers, so is there any way to make it run on Linux(CentOS). And do you have any plans for supporting it in future releases?

Thanks

Rupesh said:

Hi Vinh,

I have tested it on Ubuntu, but we use CentOS on our servers, so is there any way to make it run on Linux(CentOS). And do you have any plans for supporting it in future releases?

Thanks

Hi Rupesh,
We also facing exactly same issue, did u madw any progress here? if so kindly share it.
appreciated.

Thanks

So far CentOS is not tested, therefore using it on CentOS is not recommended.

Vinh Nguyen said:

So far CentOS is not tested, therefore using it on CentOS is not recommended.

Oh Thanks for the Reply, any Roadmap for supporting CentOS in near future?

1 Like

Hi Vinh Nguyen,

I have tried to execute my Test suite in Ubuntu, still getting the same exception that what we get in CentOS, kindly check and let me know if you fix for this

thasar@studio01:/opt/katalon$ ./katalon -noSplash -runMode=console -consoleLog -projectPath="/home/thasar/way_testautomation/way_testautomation.prj" -retry=0 -testSuitePath=“Test Suites/Web_Landing_Page_TestSuite” -executionProfile=“staging_way” -browserType=“Chrome (headless)”

Request sent successfully.

!SESSION 2018-08-17 01:52:27.496 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_181

java.vendor=Oracle Corporation

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

Framework arguments: -runMode=console -projectPath=/home/thasar/way_testautomation/way_testautomation.prj -retry=0 -testSuitePath=Test Suites/Web_Landing_Page_TestSuite -executionProfile=staging_way -browserType=Chrome (headless)

Command-line arguments: -os linux -ws gtk -arch x86_64 -data config -runMode=console -consoleLog -projectPath=/home/thasar/way_testautomation/way_testautomation.prj -retry=0 -testSuitePath=Test Suites/Web_Landing_Page_TestSuite -executionProfile=staging_way -browserType=Chrome (headless)

!ENTRY org.eclipse.core.resources 2 10035 2018-08-17 01:52:33.043

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified

136 2.4.7.xx-201611170128-e46 = ACTIVE

--------------------------------------------------------------------------------

Test Suites/Web_Landing_Page_TestSuite - Chrome (headless) - 20180817_015238…

…0/1(0%)

--------------------------------------------------------------------------------

Request sent successfully.

08-17-2018 01:52:43 AM - [START] - Start Test Suite : Test Suites/Web_Landing_Page_TestSuite

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘hostName’ with value ‘thasar - studio01.way.com

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘os’ with value ‘Linux 64bit’

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘hostAddress’ with value ‘127.0.1.1’

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘katalonVersion’ with value ‘5.6.0.1’

08-17-2018 01:52:44 AM - [START] - Start setup action : setUp

08-17-2018 01:52:45 AM - [START] - Start action : openBrowser

08-17-2018 01:52:45 AM - [END] - End action : openBrowser

08-17-2018 01:52:45 AM - [ERROR] - java.lang.ExceptionInInitializerError

08-17-2018 01:52:45 AM - [END] - End End action : setUp

08-17-2018 01:52:45 AM - [END] - End Test Suite : Test Suites/Web_Landing_Page_TestSuite

--------------------------------------------------------------------------------

Test Suites/Web_Landing_Page_TestSuite - Chrome (headless) - 20180817_015238…

…0/1(0%)

Thanks

Vinh Nguyen said:

So far CentOS is not tested, therefore using it on CentOS is not recommended.

Hi Vinh Nguyen,

I have tried to execute my Test suite in Ubuntu, still getting the same exception that what we get in CentOS, kindly check and let me know if you fix for this

thasar@studio01:/opt/katalon$ ./katalon -noSplash -runMode=console -consoleLog -projectPath="/home/thasar/way_testautomation/way_testautomation.prj" -retry=0 -testSuitePath=“Test Suites/Web_Landing_Page_TestSuite” -executionProfile=“staging_way” -browserType=“Chrome (headless)”

Request sent successfully.

!SESSION 2018-08-17 01:52:27.496 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_181

java.vendor=Oracle Corporation

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

Framework arguments: -runMode=console -projectPath=/home/thasar/way_testautomation/way_testautomation.prj -retry=0 -testSuitePath=Test Suites/Web_Landing_Page_TestSuite -executionProfile=staging_way -browserType=Chrome (headless)

Command-line arguments: -os linux -ws gtk -arch x86_64 -data config -runMode=console -consoleLog -projectPath=/home/thasar/way_testautomation/way_testautomation.prj -retry=0 -testSuitePath=Test Suites/Web_Landing_Page_TestSuite -executionProfile=staging_way -browserType=Chrome (headless)

!ENTRY org.eclipse.core.resources 2 10035 2018-08-17 01:52:33.043

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified

136 2.4.7.xx-201611170128-e46 = ACTIVE

--------------------------------------------------------------------------------

Test Suites/Web_Landing_Page_TestSuite - Chrome (headless) - 20180817_015238…

…0/1(0%)

--------------------------------------------------------------------------------

Request sent successfully.

08-17-2018 01:52:43 AM - [START] - Start Test Suite : Test Suites/Web_Landing_Page_TestSuite

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘hostName’ with value ‘thasar - studio01.way.com

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘os’ with value ‘Linux 64bit’

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘hostAddress’ with value ‘127.0.1.1’

08-17-2018 01:52:43 AM - [RUN_DATA] - Logging run data ‘katalonVersion’ with value ‘5.6.0.1’

08-17-2018 01:52:44 AM - [START] - Start setup action : setUp

08-17-2018 01:52:45 AM - [START] - Start action : openBrowser

08-17-2018 01:52:45 AM - [END] - End action : openBrowser

08-17-2018 01:52:45 AM - [ERROR] - java.lang.ExceptionInInitializerError

08-17-2018 01:52:45 AM - [END] - End End action : setUp

08-17-2018 01:52:45 AM - [END] - End Test Suite : Test Suites/Web_Landing_Page_TestSuite

--------------------------------------------------------------------------------

Test Suites/Web_Landing_Page_TestSuite - Chrome (headless) - 20180817_015238…

…0/1(0%)

Thanks

Can you post me your used test script?