Started facing java.lang.NullPointerException when runnning test suite collections over KRE

We’ve been facing issues when running the test suite collection on Jenkins since 6th October 2025, using Katalon Runtime Engine version 8.6.9. Below is the command being executed:

katalonc.sh -noSplash -runMode=console -projectPath=src -browserType="Chrome (headless)" -g_takeScreenshotFlag=false -retry=0 -statusDelay=15 -executionProfile=QA -testSuiteCollectionPath="Test Suites/testSuiteCollection-LMS/assignmentDataCreation_Manual" -licenseRelease=true -apikey=**** -orgID=**** --config -webui.autoUpdateDrivers=false

Start activating offline...
Search for valid offline licenses in folder: /root/.katalon/license
The number of valid offline licenses: 0
Start activating online...
Start release license task
Tue Oct 07 01:31:29 IST 2025
Error when release license
java.lang.NullPointerException
 at javax.xml.bind.DatatypeConverterImpl.guessLength(DatatypeConverterImpl.java:654)
 at javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(DatatypeConverterImpl.java:692)
 at javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(DatatypeConverterImpl.java:434)
 at javax.xml.bind.DatatypeConverter.parseBase64Binary(DatatypeConverter.java:342)
 at com.kms.katalon.util.CryptoUtil.decode(CryptoUtil.java:86)
 at com.kms.katalon.application.utils.ActivationInfoCollector.releaseLicense(ActivationInfoCollector.java:913)
 at com.kms.katalon.console.handlers.ActivationHandler.releaseLicense(ActivationHandler.java:197)
 at com.kms.katalon.console.handlers.ActivationHandler.activationWithTestOps(ActivationHandler.java:228)
 at com.kms.katalon.console.handlers.ActivationHandler.activate(ActivationHandler.java:270)
 at com.kms.katalon.console.application.ConsoleMain.launch(ConsoleMain.java:108)
 at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:36)
 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:203)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
 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:657)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
 at org.eclipse.equinox.launcher.Main.main(Main.java:1420)

Any suggestions on how to resolve this?

1 Like

I assume you have KRE license

remove the arguments -noSplash and -runMode=console. and then check

1 Like

Seem to be the same as the following previous topic:

@duyluong
Please support @qa-automation-k9

2 Likes

We tried removing -noSplash and -runMode=console but got the same error. We had success few times when we replaced katalonc.sh in the command with katalonc.

But now we are getting the following errors. We have two different licences for KRE, and both are returning this. We run these tests inside Docker containers, and each time a new container is spun up.

Start activating online...
Your trial has expired. Please subscribe to continue using Katalon Runtime Engine.

Failed to activate with Katalon Runtime Engine license. Your trial has expired. Please subscribe to continue using Katalon Runtime Engine. {"timestamp":"2025-10-10T11:06:49.171+0000","status":400,"error":"Bad Request","message":"Your trial has expired. Please subscribe to continue using Katalon Runtime Engine.","path":"/api/v1/license-keys/activate"}
Failed to activate with TestCloud license. null
Cannot execute this test suite. There is no Katalon Runtime Engine license available.

Hi, you might need to add -apiKey=xxxx parameter. Please ensure the API key is from the licensed account