# Unable to open project. Reason: ParseKeywordException

**URL:** <https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [October 12, 2021, 3:39am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102 "2021-10-12T03:39:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nguyenthanh.lam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nguyenthanh.lam/32/16104_2.png) [@nguyenthanh.lam](https://forum.katalon.com/u/nguyenthanh.lam)\
**Post date:** [October 12, 2021, 3:39am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/1 "2021-10-12T03:39:55Z")

</div>

We are facing issue that Katalon failed to open project due to below error

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/7/8/78fea45a7804b2c321388df671dc233a5ffc9df0.png)

Look like it is coming from our custom keywords. However, those keywords are running well. Currently, we work around by moving out those keywords then open project and copy them back. Please help!

Error Details  
com.kms.katalon.custom.improvement.parser.ParseKeywordException: java.lang.IllegalArgumentException: Invalid JSON syntax. Root cause: com.google.gson.stream.MalformedJsonException: Expected ‘:’ at line 2 column 10 path $.\<\<\<\<\<\<\<  
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseAllKeywordFilesInProject(ProjectCustomKeywordsParser.java:84)  
at com.kms.katalon.custom.improvement.parser.ImprovedCustomKeywordParser.parseProjectCustomKeywords(ImprovedCustomKeywordParser.java:138)  
at com.kms.katalon.custom.improvement.parser.ImprovedCustomKeywordParser.parseCustomKeywords(ImprovedCustomKeywordParser.java:57)  
at com.kms.katalon.controller.ImprovedKeywordControllerDelegate.parseAllCustomKeywords(ImprovedKeywordControllerDelegate.java:41)  
at com.kms.katalon.controller.KeywordController.parseAllCustomKeywords(KeywordController.java:165)  
at com.kms.katalon.controller.ProjectController.openProjectForUI(ProjectController.java:129)  
at com.kms.katalon.composer.project.handlers.OpenProjectHandler$1.run(OpenProjectHandler.java:166)  
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)  
Caused by: java.lang.IllegalArgumentException: Invalid JSON syntax. Root cause: com.google.gson.stream.MalformedJsonException: Expected ‘:’ at line 2 column 10 path $.\<\<\<\<\<\<\<  
at com.kms.katalon.core.util.internal.JsonUtil.fromJson(JsonUtil.java:94)  
at com.kms.katalon.custom.improvement.cache.ParseKeywordCacheContent.fromFile(ParseKeywordCacheContent.java:54)  
at com.kms.katalon.custom.improvement.cache.ParseKeywordCacheFile.loadContent(ParseKeywordCacheFile.java:35)  
at com.kms.katalon.custom.improvement.cache.ParseKeywordCacheFile.getOrCreate(ParseKeywordCacheFile.java:64)  
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.internallyParseKeywordFile(ProjectCustomKeywordsParser.java:92)  
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseAllKeywordFilesInProject(ProjectCustomKeywordsParser.java:78)  
… 7 more

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [October 12, 2021, 3:41am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/2 "2021-10-12T03:41:20Z")

</div>

Hi @nguyenthanh.lam,

Just delete **.cache** folder, **.project** file, **.classpath** file then try opening your project again.

---

<div class="post-metadata">

**Author:** ![nguyenthanh.lam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nguyenthanh.lam/32/16104_2.png) [@nguyenthanh.lam](https://forum.katalon.com/u/nguyenthanh.lam)\
**Post date:** [October 12, 2021, 7:01am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/3 "2021-10-12T07:01:27Z")

</div>

Do we need to add those files to .gitignore?

---

<div class="post-metadata">

**Author:** ![nguyenthanh.lam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nguyenthanh.lam/32/16104_2.png) [@nguyenthanh.lam](https://forum.katalon.com/u/nguyenthanh.lam)\
**Post date:** [October 12, 2021, 7:01am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/4 "2021-10-12T07:01:29Z")

</div>

> [@duyluong](#):
>
> Just delete **.cache** folder, **.project** file, **.classpath** file then try opening your project again.

Thanks. It is working now. Hopefully it does not happen again…

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [October 12, 2021, 7:01am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/5 "2021-10-12T07:01:57Z")

</div>

> Do we need to add those files to .gitignore?

Yes, you should

---

<div class="post-metadata">

**Author:** ![nguyenthanh.lam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nguyenthanh.lam/32/16104_2.png) [@nguyenthanh.lam](https://forum.katalon.com/u/nguyenthanh.lam)\
**Post date:** [October 19, 2021, 12:41am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/6 "2021-10-19T00:41:27Z")

</div>

Thank you. It is now working well

---

<div class="post-metadata">

**Author:** ![gdearest07](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gdearest07/32/22419_2.png) [@gdearest07](https://forum.katalon.com/u/gdearest07)\
**Post date:** [December 7, 2021, 12:09pm UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/7 "2021-12-07T12:09:12Z")

</div>

Could you please let us know how to get rid of the **.cache** folder that have already gotten to GitHub?

---

<div class="post-metadata">

**Author:** ![vasanthi.jayakumar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/vasanthi.jayakumar/32/16104_2.png) [@vasanthi.jayakumar](https://forum.katalon.com/u/vasanthi.jayakumar)\
**Post date:** [March 20, 2023, 6:10am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/8 "2023-03-20T06:10:35Z")

</div>

Any update on this? How u resolved in master

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [March 21, 2023, 6:57am UTC](https://forum.katalon.com/t/unable-to-open-project-reason-parsekeywordexception/59102/9 "2023-03-21T06:57:30Z")

</div>

@vasanthi.jayakumar ,

Just delete `.project`, `.classpath` file which is under your project folder then reopen the project again
