Running any test case any browser gets terminated

Hi.

OS: Windows 10
Katalon Studio: Version 8.0.5, Build 208

We recently started moving our Katalon project into a subversion (Tortoise SVN).
I have a Katalon project on my computer.
I committed it to the Subversion system.
I checked it out from the subversion onto another computer.
But now when I run any test case with any browser on the second computer, I always receive this error.

Here is an example.

There is no output in the Log Viewer or Console.

Here is the output in the Event Log.

Start getting machine ID on Windows
Start getting machine ID on Windows
End getting machine ID on Windows abcxyz123
End getting machine ID on Windows abcxyz123
Start getting machine ID on Windows
Start getting machine ID on Windows
End getting machine ID on Windows abcxyz123
End getting machine ID on Windows abcxyz123
chromedriver is located at default location: C:\Katalon_Studio_Windows_64-8.0.5\configuration\resources\drivers\chromedriver_win32\chromedriver.exe. In case your browser is updated to a newer version, please use this command to update chromdriver: --config -webui.autoUpdateDrivers=true
CodeSelectRequestor: Could not proceed due to null declaring type for org.codehaus.groovy.ast.expr.ConstantExpression@329628cb[qweasd]

With respect to the last line, our test case begins with declarations of constants, such as…
String resource = "qweasd"
… among others.
They have never been a problem.

I have tried the following solutions, all having failed.

  1. Deleting Libs and bin directories, and .classpath and .project files, and restarting Katalong
  2. Updating Chrome, Firefox, etc. driver under tools
  3. Changing the value of the projectFileLocation key in the second computer’s project .prj file
  4. Refreshing the project and reopening it

The official Katalon documentation on this issue states the following.

Session Termination Causes

You may encounter some situations when your session has been terminated due to a specific reason related to the license mechanism. This section explains some common causes of your session termination.

Inactive session; the license has been transferred to <another_user>.

When your session is inactive, another granted user from your Organization can occupy your license.

Your account has logged in on another machine.

One Katalon account can be active on one machine at a time.

This machine has been removed from the registered list.

This happens when your Organization Admins or Owner remove your machine from the registered list on Katalon TestOps. This removal will end your session on the Katalon Studio app.

We are planning on getting official licenses, but until then I don’t know why the above would be an issue.

Help is appreciated.
Ilya

@Ilya_Novak,

Please share with us the log in Console tab and your test case script

The Run feature in Studio IDE (not Runtime Engine) is a free feature so this is another issue. Please feel free to discuss here.

Hi.

The console generates no text whatsoever. It is empty. Only the Event Log returns results.

Here is test case script. It will be meaningless to you.

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import com.kms.katalon.core.webui.driver.DriverFactory
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.thoughtworks.selenium.webdriven.WebDriverBackedSelenium
import internal.GlobalVariable    

String UsrPassHash= "abc"
String DVitali4UserGid = 'xyz'
String admin_user = "jsmith"
String admin_pass = "jhsf677438b"
String us_pass = "78bs87byert"
String FlPth = "C:\\CV\\XML\\APP_XML\\"     

WebUI.openBrowser(GlobalVariable.UL_URL)
WebUI.deleteAllCookies()
WebUI.maximizeWindow()
def driver = DriverFactory.getWebDriver()
selenium = new WebDriverBackedSelenium(driver, GlobalVariable.UL_URL)
WebUI.navigateToUrl(GlobalVariable.UL_URL)
WebUI.closeBrowser()