# Bamboo Katalon integration suite endless loop and Groovy:unable to resolve class

**URL:** <https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471>\
**Category:** Integrations\
**Tags:** integrations, bamboo, katalon-studio\
**Created:** [July 11, 2019, 2:41am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471 "2019-07-11T02:41:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Stewart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Stephen\_Stewart](https://forum.katalon.com/u/Stephen_Stewart)\
**Post date:** [July 11, 2019, 2:41am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/1 "2019-07-11T02:41:30Z")

</div>

Hi,

I am trying to run scheduled jobs using Bamboo, however running into a few technical issues.

Issue 1)  
The suite does not appear to run, and gets into an ‘endless loop’

From logs ,script correctly  
import and build the source.  
2 gradle tasks, which appear to succeed.

I then notice

simple 11-Jul-2019 06:39:25 Parsing custom keywords in Plugins folder…  
simple 11-Jul-2019 06:39:33 /C%%Users%Administrator%bamboo-home%xml-data%build-dir%SFCC-AD-JOB1%checkout%xyz-cloudcommerce-katalon%xyz-cloudcommerce-katalon.prj/Keywords/com/kazurayam/ksbackyard/Assert.groovy: 5 **Groovy:unable to resolve class com.kms.katalon.core.annotation.Keyword**  
…  
Lots of unable to resolve class  
…

| simple | 11-Jul-2019 06:39:34 | Generating global variables… |
| --- | --- | --- |
| simple | 11-Jul-2019 06:39:36 | Parsing custom keywords… |
| simple | 11-Jul-2019 06:39:39 | Project ‘xyz-cloudcommerce-katalon’ opened |
| simple | 11-Jul-2019 06:39:40 | chromedriver is located at default location: C:\software\Katalon\_Studio\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 |
| simple | 11-Jul-2019 06:39:40 | |
| simple | 11-Jul-2019 06:39:40 | -------------------------------------------------------------------------------- |
| simple | 11-Jul-2019 06:39:40 | Test Suites/SalesForceCommerceCloud/Development - UAT/Development - Smoke Test U |
| simple | 11-Jul-2019 06:39:40 | AT - Chrome - 20190711\_063940…0/2(0%) |
| simple | 11-Jul-2019 06:39:40 | -------------------------------------------------------------------------------- |
| simple | 11-Jul-2019 06:39:40 | |
| simple | 11-Jul-2019 06:39:43 | 2019-07-11 06:39:43.208 INFO c.k.katalon.core.main.TestSuiteExecutor - START Test Suites/SalesForceCommerceCloud/Development - UAT/Development - Smoke Test UAT |
| … | | |
| simple | 11-Jul-2019 06:39:43 | 2019-07-11 06:39:43.706 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Stories-SFCC/UK/Ordering/FPP-719 |
| simple | 11-Jul-2019 06:39:43 | Start recording video for test case ‘Test Cases/Stories-SFCC/UK/Ordering/FPP-719’. |

And then continually repeats

**simple 11-Jul-2019 06:41:40 --------------------------------------------------------------------------------**  
**simple 11-Jul-2019 06:41:40 Test Suites/SalesForceCommerceCloud/Development - UAT/Development - Smoke Test U**  
**simple 11-Jul-2019 06:41:40 AT - Chrome - 20190711\_063940…0/2(0%)**  
**simple 11-Jul-2019 06:41:40 --------------------------------------------------------------------------------**  
**simple 11-Jul-2019 06:41:40**

The command arg using Katalon Bamboo plugin

-projectPath=“${bamboo.build.working.directory}\checkout\xyz-cloudcommerce-katalon\xyz-cloudcommerce-katalon.prj” -retry=3 -retryFailedTestCases=true -testSuitePath=“Test Suites/SalesForceCommerceCloud/Development - UAT/Development - Smoke Test UAT” -executionProfile=“SFCC-Development” -browserType=“Chrome”

Anyone have any ideas as to why this is failing to run the suite and why I get the unable to resolve class?

Katalon version 6.2.1

Concern 1)  
**API Keys mst be specified for activating Katalon Store Plugins**

Do I need to be concerned on the Command Line creator about the following bolded?

ie do I require to do anything?

Thanks in advance

Ste

---

<div class="post-metadata">

**Author:** ![Thong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thong/32/999_2.png) [@Thong](https://forum.katalon.com/u/Thong)\
**Post date:** [July 11, 2019, 3:32am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/2 "2019-07-11T03:32:13Z")

</div>

Could you run this test project by command line alone not in bamboo?

---

<div class="post-metadata">

**Author:** ![Stephen\_Stewart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Stephen\_Stewart](https://forum.katalon.com/u/Stephen_Stewart)\
**Post date:** [July 11, 2019, 4:06am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/3 "2019-07-11T04:06:45Z")

</div>

Hi,

Should have mentioned when I run this on my local windows machine the command line kicks off and runs the test and I can see the logs being generated in console and results appear in the Katalon Studio suite reports.

On the server I see the splash appear but no logging to console, however the result are in Katalon Suite reports. I will check to see if any more details here.

I only have the -consoleLog-=noExit and the -runMode=console on the command line for debugging, dont use these parameters in the CI. As read not to use in forum or documentation.

Can you ouput or is there a directory that I can review the console log output?

---

<div class="post-metadata">

**Author:** ![Stephen\_Stewart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Stephen\_Stewart](https://forum.katalon.com/u/Stephen_Stewart)\
**Post date:** [July 12, 2019, 3:45am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/4 "2019-07-12T03:45:41Z")

</div>

I now have the katalon analytics running. (Mistakenly comitted this to master switched off).

I now have the issue on the server or locally if I run from the Katalon Studio the test suite is succeeds. If I run from CMD line it fails miserably.

It appears to have issues generating global variables at command line execution.

I have seen others mentions about this. I will check the forums.

Getting a Groovy:unable to reslove class (then several broken classes). I dont get this on running via Katalon eclispe IDE, there is also no problems in Katalon eclipse IDE.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/c/cc2f600a9495ebbddb73ded06d91dd46722176f1.png)

Appears to be due to class resolve issues.

---

<div class="post-metadata">

**Author:** ![Stephen\_Stewart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Stephen\_Stewart](https://forum.katalon.com/u/Stephen_Stewart)\
**Post date:** [July 22, 2019, 4:11am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/5 "2019-07-22T04:11:26Z")

</div>

I have removed all the offending unable to resolve class issues. This was explained in another [forum.katalon.com](http://forum.katalon.com) thread.

I still cannot get the browser to ‘kick off’ in command line.

If I run the exact same test in Katalon studion it passes.

With cmd line / or bamboo CI, I get the source downloaded correctly. Gradle actions completed correctly updating needed extra project components & jars.

The browser does not appear.

I note in the logs

Rootcause: ..KeywordMain - ? Unable to open browser with url: ‘’

I will check a few forums eg [https://stackoverflow.com/questions/55908701/katalon-studio-error-unable-to-open-browser-with-url](https://stackoverflow.com/questions/55908701/katalon-studio-error-unable-to-open-browser-with-url) / [Unable to open browser with url: Unable to open browser with url:](http://forum.katalon.com/t/unable-to-open-browser-with-url-unable-to-open-browser-with-url/8876)

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/4/4707b9bad05dbb90ac8851ef201e5629d5b33874.png)

Which is odd as this works from running in IDE.

Any ideas much appreciated.

---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [July 22, 2019, 4:39am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/6 "2019-07-22T04:39:17Z")

</div>

Could you please try appending `--config -webui.autoUpdateDrivers=true` to the command?

> **[Automatically Update WebDriver](https://docs.katalon.com/katalon-studio/docs/automatically-update-webdriver.html)**
>
> Guide on how to update WebDriver automatically.

---

<div class="post-metadata">

**Author:** ![Stephen\_Stewart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Stephen\_Stewart](https://forum.katalon.com/u/Stephen_Stewart)\
**Post date:** [July 22, 2019, 8:51pm UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/7 "2019-07-22T20:51:33Z")

</div>

I had tried that also, however still no joy. Tried again no joy.

This is both on a win7 machine and a winS2012. I could expect the win7 to throw wobblies being an enterprise locked down machine with IS protocols and hardening, but the winS2012 64bit is vanila turnkey.

I will try reinstalling from a clean pc and building a simple project.

---

<div class="post-metadata">

**Author:** ![Stephen\_Stewart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Stephen\_Stewart](https://forum.katalon.com/u/Stephen_Stewart)\
**Post date:** [July 29, 2019, 2:19am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/8 "2019-07-29T02:19:57Z")

</div>

I am wondering if there is a regression issue between earlier projects?  
I set up a clean Katalon, on clean build machine.  
Downloaded one of the github datadriven examples.  
With the command line - I got the same issue.  
However I then went and created a new simple hello world to google site project example this functioned correctly using command line.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:43am UTC](https://forum.katalon.com/t/bamboo-katalon-integration-suite-endless-loop-and-groovy-unable-to-resolve-class/29471/9 "2022-08-08T07:43:10Z")

</div>


