Jenkins Linux Engine !MESSAGE Application error !STACK 1

I tried with Katalon Engine 7.4.0
My job pipline goes into an infinite loop.

16:59:02 Katalon workspace folder is set to default location: /tmp/session-1b18b1d9 16:59:02 !SESSION 2020-05-15 16:59:00.550 ----------------------------------------------- 16:59:02 eclipse.buildId=unknown 16:59:02 java.version=1.8.0_232 16:59:02 java.vendor=Oracle Corporation 16:59:02 BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US 16:59:02 Framework arguments: -runMode=console -projectPath=/home/jenkins/project/TestsVersion.prj -testSuiteCollectionPath=Test Suites/SimpleTest -reportFolder=/tmp/5 -retry=0 -retryFailedTestCases=false -apiKey=a2e9745d-0f2c-4fc2-aa3b-96e4674bc8c0 16:59:02 Command-line arguments: -os linux -ws gtk -arch x86_64 -data @noDefault -runMode=console -consoleLog -projectPath=/home/jenkins/project/TestsVersion.prj -testSuiteCollectionPath=Test Suites/SimpleTest -reportFolder=/tmp/5 -retry=0 -retryFailedTestCases=false -apiKey=******** 16:59:02 16:59:02 !ENTRY org.eclipse.osgi 4 0 2020-05-15 16:59:02.818 16:59:02 !MESSAGE Application error 16:59:02 !STACK 1 16:59:02 java.lang.NullPointerException 16:59:02 at com.kms.katalon.application.utils.ApplicationInfo.setAppProperty(ApplicationInfo.java:153) 16:59:02 at com.kms.katalon.application.utils.ApplicationInfo.setAppInfoIntoUserHomeDir(ApplicationInfo.java:117) 16:59:02 at com.kms.katalon.core.application.Application.preRunInit(Application.java:128) 16:59:02 at com.kms.katalon.core.application.Application.start(Application.java:65) 16:59:02 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 16:59:02 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) 16:59:02 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 16:59:02 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) 16:59:02 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 16:59:02 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 16:59:02 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 16:59:02 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 16:59:02 at java.lang.reflect.Method.invoke(Method.java:498) 16:59:02 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) 16:59:02 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) 16:59:02 at org.eclipse.equinox.launcher.Main.run(Main.java:1519) 16:59:02 at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

16:59:03 Gtk-Message: 16:59:03.233: GtkDialog mapped without a transient parent. This is discouraged.

@ouassa.h

Please try with the latest KRE v7.5.1 and share us the logs if the error happens again.

Thanks

I’ve try with docker image Katalon 7.5.10 in Jenkins and the issue still happen:

Katalon Studio 
+ args=("$KATALON_KATALON_INSTALL_DIR/katalonc" "$@")
+ xvfb-run -s '-screen 0 1024x768x24' /opt/katalonstudio/katalonc -projectPath=/tmp/project -retry=0 -consoleLog '-testSuitePath=Test Suites/create-requests' -executionProfile=default -browserType=Chrome -apiKey=****
Katalon workspace folder is set to default location: /tmp/session-430df1bb
!SESSION 2020-06-30 06:06:14.785 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_252
java.vendor=Private Build
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -projectPath=/tmp/project -retry=0 -testSuitePath=Test Suites/create-requests -executionProfile=default -browserType=Chrome -apiKey=****
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data @noDefault -projectPath=/tmp/project -retry=0 -consoleLog -testSuitePath=Test Suites/create-requests -executionProfile=default -browserType=Chrome -apiKey=****

!ENTRY org.eclipse.osgi 4 0 2020-06-30 06:06:20.705
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
	at com.kms.katalon.application.utils.ApplicationInfo.setAppProperty(ApplicationInfo.java:153)
	at com.kms.katalon.application.utils.ApplicationInfo.setAppInfoIntoUserHomeDir(ApplicationInfo.java:117)
	at com.kms.katalon.core.application.Application.preRunInit(Application.java:133)
	at com.kms.katalon.core.application.Application.start(Application.java:69)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

@ouassa.h

let try with this step it may solve your problem

 stage('Integration Test') {
    agent { 
        docker {
            image 'katalonstudio/katalon'
            args "-u root"
        } 
    }
    steps {
        sh "katalonc.sh -projectPath=\"\$(pwd)/tests/katalon\" -retry=0 -consoleLog -testSuitePath='Test Suites/create-requests' -executionProfile='default' -browserType='Chrome' -apiKey='${KATALON_API_KEY}'"
}