NullPointerException when executing via RuntimeEngine


I have some problems executing a collection test suite from a Jenkins job, using katalon docker image
We are using a custom built image in order to inject some data (proxy and such)

With an image based on katalon:7.2.5, the collection is executed nicely from Jenkins
With an image based on katalon7.7.2 I come across a Null Pointer Exception (logs below)

The only difference between the two is the version of the official katalon image we base our custom one on.

Here are some logs with the stack trace:

INFO: Katalon Version: 7.7.2
INFO: Command-line arguments: --propertiesFile=/katalon/ -projectPath=. -apiKey=******** -testSuiteCollectionPath=Test Suites/Remote --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTP -proxy.excludes=****** -proxy.server.address=***** -proxy.server.port=8080 -proxy.username=*****-proxy.password=********
Start check license task
chromedriver is located at default location: /opt/katalonstudio/configuration/resources/drivers/chromedriver_linux64/chromedriver. In case your browser is updated to a newer version, please use this command to update chromdriver: --config -webui.autoUpdateDrivers=true
at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildLauncher(
at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildSubLaunchers(
at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.newInstance(
at com.kms.katalon.execution.console.entity.TestSuiteCollectionLauncherOptionParser.getConsoleLauncher(
at com.kms.katalon.execution.console.ConsoleExecutor.execute(
at com.kms.katalon.execution.console.ConsoleMain.launch(
at com.kms.katalon.console.application.ConsoleApplicationStarter.start(
at com.kms.katalon.application.Application.runConsole(
at com.kms.katalon.application.Application.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

All launchers terminated

Thank you for your help !

Hi @laurent.mangin,

Can you share the error log file that was printed at this line:

INFO: Error log: ...

We need this file for further investigation.

Hi @duyluong ,

Here it is :katalon.log (5.2 KB)

Hi @laurent.mangin,

One of the test suites in the test suite collection could not be found. Can you share your project with only test suite folders in the private chat?

Problem was a relocation of a test suite while the corresponding .ts file was not updated, causing a NPE at runtime.

1 Like

Could you please advise on how I can identify the particular test suite that’s erred?