# Bug | Error after renaming the execution profile

**URL:** <https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201>\
**Category:** Bug Report\
**Tags:** katalon-studio, bugs-report\
**Created:** [January 24, 2019, 12:16am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201 "2019-01-24T00:16:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [January 24, 2019, 12:16am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/1 "2019-01-24T00:16:40Z")

</div>

**Operating System** macOS Mojave 10.14.2

**Katalon Studio Version** Version: 5.10.1 Build: 1

**Environment (for Web testing)** Google Chrome Version 71.0.3578.98 (Official Build) (64-bit)

**Steps to reproduce**

Steps :

1. Create an execution profile and add a global variable in it.
2. Create a new test case using that Global Variable you just created in step 1.
3. Execute the test case using the execution profile you created in step 1.
4. Now change the execution profile name.
5. Re-execute the test case you created in Step 2.

Upon doing these steps you will get an error. I was thinking upon changing the name of execution profile it will also auto update my test cases using global variable in that execution profile.

The error says Global Variable is empty, But it’s not.

**Expected Behavior**

We should alert the user that they need to restart Katalon to make the test cases work again after renaming the Execution Profile.

**Actual Behavior**

I am seeing an error when I execute my test case again after renaming the execution profile.

**Logs**

01-23-2019 11:44:26 AM Test Cases/2\_Prod/Main Menu Navigation/Underwear

Elapsed time: 3.856s

Test Cases/2\_Prod/Main Menu Navigation/Underwear FAILED.

Reason:

com.kms.katalon.core.exception.StepFailedException: Unable to navigate to ‘null’ (Root cause: java.lang.IllegalArgumentException: Url cannot be null or empty)

at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)

at com.kms.katalon.core.webui.keyword.builtin.NavigateToUrlKeyword.navigateToUrl(NavigateToUrlKeyword.groovy:83)

at com.kms.katalon.core.webui.keyword.builtin.NavigateToUrlKeyword.execute(NavigateToUrlKeyword.groovy:67)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.navigateToUrl(WebUiBuiltInKeywords.groovy:183)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$navigateToUrl$1.call(Unknown Source)

at Underwear.run(Underwear:20)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at TempTestCase1548272663994.run(TempTestCase1548272663994.groovy:22)

---

<div class="post-metadata">

**Author:** ![Alice](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/alice/32/472_2.png) [@Alice](https://forum.katalon.com/u/Alice)\
**Post date:** [January 24, 2019, 2:56am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/2 "2019-01-24T02:56:05Z")

</div>

@manpreet.mukkar Are you choosing correct profile? Please select the correct profile respective test case execution.

---

<div class="post-metadata">

**Author:** ![kavyavijaya](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@kavyavijaya](https://forum.katalon.com/u/kavyavijaya)\
**Post date:** [January 24, 2019, 5:28am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/3 "2019-01-24T05:28:48Z")

</div>

Hi  
Are you renaming it in the katalon studio or the file explorer?  
It’s better to rename it in the studio as when I tried to rename the object folders in the explorer the path was not changed in the script.

Regards  
Kavya

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [January 24, 2019, 4:47pm UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/4 "2019-01-24T16:47:43Z")

</div>

@Alice Yes, I am using the correct profile, Basically the profile is already selected in Step 3 and when I change the profile name the Updated name is also reflected in the top bar besides run button but upon running the test it is throwing error.

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [January 24, 2019, 4:49pm UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/5 "2019-01-24T16:49:44Z")

</div>

@kavyavijaya I am renaming the execution profile in Studio itself. I never did that from explorer.

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [January 29, 2019, 9:34pm UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/6 "2019-01-29T21:34:13Z")

</div>

@Alice I encountered an issue again which is similar to this. I updated the value of a Global Variable in execution profile and when I executed the test case containing the same global variable I got the error saying Value is null.

I noticed that the Global Variable name got changed from URL\_ADMIN to URL\_ADMIN\_ADMIN

I didn’t changed the Global Variable name I only changed its Value.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [January 28, 2020, 9:15am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/7 "2020-01-28T09:15:16Z")

</div>

Automatically bumped on January 28, 2020, 9:15am UTC



---

<div class="post-metadata">

**Author:** ![r.klein1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/r.klein1/32/23870_2.png) [@r.klein1](https://forum.katalon.com/u/r.klein1)\
**Post date:** [January 28, 2020, 9:19am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/8 "2020-01-28T09:19:32Z")

</div>

I find it sometimes buggy when renaming stuff, or whatever. Just try quitting Katalon, remove directories/folder “bin” and “Lib” (they should be rebuild when you restart Katalon) and start Katalon again

---

<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:** [February 5, 2020, 9:41am UTC](https://forum.katalon.com/t/bug-error-after-renaming-the-execution-profile/18201/9 "2020-02-05T09:41:38Z")

</div>

Closed on February 5, 2020, 9:41am UTC


