I get the error: Cannot invoke "java.lang.Exception.getMessage()" while running the testops job

	osDependentUsername lenovo
[2024-02-21T06:48:49.929Z] [DEBUG]: 	

[2024-02-21T06:48:49.929Z] [DEBUG]: 	End appending additional signatures 970f0536-bc2c-4765-be72-133605d6b917__lenovo
[2024-02-21T06:48:49.930Z] [DEBUG]: 	

[2024-02-21T06:48:49.931Z] [DEBUG]: 	End getting machine ID on Windows 968bde0809413bbb113566974495c69f
[2024-02-21T06:48:49.931Z] [DEBUG]: 	

[2024-02-21T06:48:49.937Z] [DEBUG]: 	Start activating offline...

[2024-02-21T06:48:49.946Z] [DEBUG]: 	Search for valid offline licenses in folder: C:\Users\Lenovo\.katalon\license

[2024-02-21T06:48:49.949Z] [DEBUG]: 	The number of valid offline licenses: 0

[2024-02-21T06:48:51.323Z] [DEBUG]: 	Start activating online...

[2024-02-21T06:48:57.482Z] [DEBUG]: 	java.lang.NullPointerException: Cannot invoke "java.lang.Exception.getMessage()" because the return value of "com.kms.katalon.feature.TestOpsMessageError.getException()" is null
	at com.kms.katalon.console.handlers.ActivationHandler.logActivateWithKRE(ActivationHandler.java:286)
	at com.kms.katalon.console.handlers.ActivationHandler.logActivate(ActivationHandler.java:307)
	at com.kms.katalon.console.handlers.ActivationHandler.printConsoleLicenseInfo(ActivationHandler.java:321)
	at com.kms.katalon.console.handlers.ActivationHandler.activate(ActivationHandler.java:271)
	at com.kms.katalon.console.application.ConsoleMain.launch(ConsoleMain.java:126)
	at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:36)
	at com.kms.katalon.application.Application.runConsole(Application.java:137)
	at com.kms.katalon.application.Application.start(Application.java:98)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
1 Like

Hi,

As far as I understand, you have some problems with your getMessage() use. Can you please help provide your code or test your script locally before running on TestOps? Thank you!

Actually, i am testing the new version of Katalon run time engine 9.3.0 with test ops but while i run a plan from testops.katalon.io then it gives this error.
And i use a sample code provide by the katalon from their git repo.
Thank you for your reply.

Hi,

Have you directly scheduled the tests on TestOps or run the test with KS and then uploaded the report to TestOps? And can you please share which sample code you are running? Thank you.

same for me!!
the last version is not tested !

Can you please elaborate on your issue on this question? Thank you

@kakanimanav7 I had the same but my issue was solved by using this : azure-devops-extension-samples/azure-pipelines-linux.yml at master · katalon-studio-samples/azure-devops-extension-samples · GitHub