# NullPointerException when executing via RuntimeEngine

**URL:** <https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334>\
**Category:** Test Management\
**Tags:** runtime-engine, katalon-studio\
**Created:** [November 18, 2020, 4:17pm UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334 "2020-11-18T16:17:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurent.mangin](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@laurent.mangin](https://forum.katalon.com/u/laurent.mangin)\
**Post date:** [November 18, 2020, 4:17pm UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334/1 "2020-11-18T16:17:53Z")

</div>

Hello,

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/console.properties -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
java.lang.NullPointerException
at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildLauncher(TestSuiteCollectionConsoleLauncher.java:215)
at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildSubLaunchers(TestSuiteCollectionConsoleLauncher.java:141)
at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.newInstance(TestSuiteCollectionConsoleLauncher.java:83)
at com.kms.katalon.execution.console.entity.TestSuiteCollectionLauncherOptionParser.getConsoleLauncher(TestSuiteCollectionLauncherOptionParser.java:94)
at com.kms.katalon.execution.console.ConsoleExecutor.execute(ConsoleExecutor.java:74)
at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:352)
at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:37)
at com.kms.katalon.application.Application.runConsole(Application.java:125)
at com.kms.katalon.application.Application.start(Application.java:88)
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)

All launchers terminated

```

Thank you for your help !

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [November 19, 2020, 9:19am UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334/2 "2020-11-19T09:19:52Z")

</div>

Hi @laurent.mangin,

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

```auto
INFO: Error log: ...

```

We need this file for further investigation.

---

<div class="post-metadata">

**Author:** ![laurent.mangin](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@laurent.mangin](https://forum.katalon.com/u/laurent.mangin)\
**Post date:** [November 19, 2020, 9:43am UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334/3 "2020-11-19T09:43:29Z")

</div>

Hi @duyluong ,

Here it is :[katalon.log](https://forum.katalon.com/uploads/short-url/uxha7fjnlTe5I9no1jWpaw6fiB0.log) (5.2 KB)

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [November 19, 2020, 10:01am UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334/4 "2020-11-19T10:01:05Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![laurent.mangin](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@laurent.mangin](https://forum.katalon.com/u/laurent.mangin)\
**Post date:** [November 19, 2020, 3:58pm UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334/5 "2020-11-19T15:58:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![katamba](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/katamba/32/16103_2.png) [@katamba](https://forum.katalon.com/u/katamba)\
**Post date:** [February 27, 2021, 11:21pm UTC](https://forum.katalon.com/t/nullpointerexception-when-executing-via-runtimeengine/49334/6 "2021-02-27T23:21:15Z")

</div>

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