URGENT : Could not initialize class com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword

Hello,

We are setting up AWS code pipeline to achieve CI and CD system for our project. While running Katalon script on ubuntu server through Docker container image, some reason Scripts are not running end to end and throwing below error.

02-05-2018 04:35:18 PM - [INFO] - Variable 'username' is set to andover202-05-2018 04:35:18 PM - [ERROR] - Test Cases/Login_Back_Office_TC_01 FAILED because (of) java.lang.NoClassDefFoundError: Could not initialize class com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword

Could you, please help us to resolve the issue.

The execution details are as below,

Katalon version - 5.3.0.1
JDK - 1.8

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION=“Ubuntu 17.04”
NAME=“Ubuntu”
VERSION=“17.04 (Zesty Zapus)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 17.04”
VERSION_ID=“17.04”

This issue is very much urgent for us to fix. Could any one reply a fix for this plesae.

Which Docker image you are using? This issue can comes from either your setup or configurations or from the Docker image you are using or from your project.

Regards

Ah I’ve observed that using OpenJDK is a need for Linux version. You can check it by typing this in your terminal screen:

java -version


**If there is no openJDK information **is displayed, then surely you will need to install it instead following this guide (enter command for JDK 8): http://openjdk.java.net/install/index.html

Hi, We have fixed it somehow. But I think this issue still exists with Katalon and needs to be investigated.