Cannot open project after upgrade to 8.1.0 Build 208 (ParseKeywordException)

Please let us know what you are using Katalon Studio for?

  1. I have currently applied Katalon Studio in my project

How would your work be affected if this issue has not been resolved?

  1. I cannot continue my job and have to work on something else while awaiting your response

Operating System

  • For example: Windows 10

Katalon Studio Version

Version 8.1.0 Build 208

Katalon Studio logs

  • Windows logs folder: \config.metadata.log

Screenshots / Videos

  • Please attach screenshots or videos if necessary to reproduce the issue

I have been unable to open my project since I upgraded to Version 8.1.0. Katalon attempts to load the project and ends up with the following error:

Unable to open project.
Reason: ParseKeywordException

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

At first, please make a zip of your project as backup.


I think that somethiing is wrong in some file in the <projectdir>/.cache folder.

  1. You want to stop Katalon Studio.
  2. You want to delete <projectDir>/.cache directory somehow. On mac, use Finder. On Windows, use Explorer. Or you may want to " rm -rf .cache" in the commandline.
  3. Then restart Katalon Studio, reopen the project.

Do you use git? In the .gitignore file, are you ignoring the .cache/ directory? If not, you should ignore it.


In the backup zip, do you find any file in the .cache directory containing any <<<<<< String? To me, this character sequence seems to be the marker of Merge conflicts inserted by Git.

Hi @lefak.fakiy,

Please share the Customs keyword folder with us

Initially I renamed the Keyword file and was able to continue working. But this morning, the issue came up again. I have followed your suggestions and was able to successfully get back into Katalon.

This issue has only happened since the upgrade. I wonder what has changed.

we are not ignoring .cache/ in our gitignore file. I’ll be adding that to see if there are any improvements in our load time (which has progressively gotten slower as our project grows).

Please find file attached.

Keywords.zip (14.2 KB)

Any latest update guys? I am also facing the same issue

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.