Hello everyone,
I have the following problem that take me several days to resolve it but i can’t. So, to begin with i recently installed Katalon studio on my local environment( Windows) and connected to our work repository via Bitbucket to clone a specific repo which has already a project to work on.
In this specific project file, i created from Katalon, 1 Collection suite with 3 Test suites running sequential with Chrome. The result was running good all 3 Test suites with **exit code:**0.
The problem begun when i tried to change running option with Chrome (Headless) and got the following errors while the other test cases run successfully.
!ENTRY org.eclipse.core.resources 2 10035 2020-02-06 11:07:31.766
!MESSAGE The workspace will exit with unsaved changes in this session.
katalon.versionNumber=7.2.1
katalon.buildNumber=1
!SESSION 2020-02-06 12:51:16.342 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault
!ENTRY org.eclipse.core.resources 2 10035 2020-02-06 12:51:28.065
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
Could not find element with Id ‘com.kms.katalon.composer.webservice.handledmenuitem.webServiceRequest’
Not a valid list position.
Could not find element with Id ‘katalon.composer.objectrepository.handledmenuitem.spyweb’
Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’
Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’
Warning: NLS unused message: Key in: com.kms.katalon.composer.project.constants.composerProjectMessages
Warning: NLS unused message: Key in: com.kms.katalon.composer.testcase.constants.composerTestcaseMessages
Warning: NLS missing message: BTN_ADDTESTSUITE in: com.kms.katalon.composer.testcase.constants.composerTestcaseMessages
Warning: NLS unused message: PA_LBL_CREATED_DATE in: com.kms.katalon.composer.testsuite.constants.composerTestsuiteMessages
Warning: NLS unused message: PA_LBL_LAST_UPDATED in: com.kms.katalon.composer.testsuite.constants.composerTestsuiteMessages
Warning: NLS unused message: Key in: com.kms.katalon.composer.objectrepository.constant.composerObjectRepositoryMessages
!ENTRY org.eclipse.egit.ui 2 0 2020-02-06 12:51:45.490
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: ‘C:\Users\Sleed Admin’. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Warning: NLS missing message: OFFLINE_ACTIVATION in: com.kms.katalon.constants.messages
Warning: NLS missing message: ENTERPRISE_TRIAL_LICENSE in: com.kms.katalon.constants.messages
Warning: NLS missing message: ActivationDialogV2_LBL_ENTERPRISE_LICENSE in: com.kms.katalon.constants.messages
Expired License.
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
Start check license task
!ENTRY org.eclipse.e4.ui.workbench 1 0 2020-02-06 12:52:54.041
!MESSAGE Reloading plugins.
Latest plugins responses: []
!ENTRY org.eclipse.e4.ui.workbench 1 0 2020-02-06 12:52:59.092
!MESSAGE Katalon version: 7.2.1
!ENTRY org.eclipse.e4.ui.workbench 1 0 2020-02-06 12:52:59.099
!MESSAGE Plugin info URL: https://store.katalon.com/api/products/ks?appVersion=7.2.1&appType=KSE&licenseType=TRIAL
!ENTRY org.eclipse.e4.ui.workbench 1 0 2020-02-06 12:53:01.536
!MESSAGE Reloaded plugins successfully.
Warning: NLS unused message: Key in: com.kms.katalon.composer.testsuite.collection.constant.composerTestsuiteCollectionMessages
Launcher status after execution process completed: Running
Start writing execution.uuid file to folder: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Connect\Login\20200206_140714
Start generating JUnit report folder at: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Connect\Login\20200206_140714…
JUnit report were generated at folder: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Connect\Login\20200206_140714
Launcher status after execution process completed: Running
Start writing execution.uuid file to folder: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Connect\Registration\20200206_140719
Start generating JUnit report folder at: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Connect\Registration\20200206_140719…
JUnit report were generated at folder: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Connect\Registration\20200206_140719
Launcher status after execution process completed: Running
Start writing execution.uuid file to folder: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Organization\Create\20200206_140724
Start generating JUnit report folder at: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Organization\Create\20200206_140724…
JUnit report were generated at folder: C:\Users\Sleed Admin\e-satisfaction\esat-app-web\katalon\Reports\20200206_140714\Organization\Create\20200206_140724
!ENTRY org.eclipse.ui 4 0 2020-02-06 15:22:34.138
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.kms.katalon.composer.execution.launcher.IDETestSuiteCollectionLauncher.postExecution(IDETestSuiteCollectionLauncher.java:69)
at com.kms.katalon.execution.launcher.TestSuiteCollectionLauncher.stop(TestSuiteCollectionLauncher.java:236)
at com.kms.katalon.composer.execution.part.JobViewerPart$2.widgetSelected(JobViewerPart.java:269)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at com.kms.katalon.core.application.Application.internalRunGUI(Application.java:173)
at com.kms.katalon.core.application.Application.runGUI(Application.java:163)
at com.kms.katalon.core.application.Application.start(Application.java:82)
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)
Launcher status after execution process completed: Terminated
The scope is to run automated a Katalon collection suite in a remote server which i have no display.
Thank you.