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

com.kms.katalon.custom.improvement.parser.ParseKeywordException: java.lang.IllegalArgumentException: Invalid JSON syntax. Root cause: Expected ‘:’ at line 2 column 10 path $.<<<<<<<
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseAllKeywordFilesInProject(
at com.kms.katalon.custom.improvement.parser.ImprovedCustomKeywordParser.parseProjectCustomKeywords(
at com.kms.katalon.custom.improvement.parser.ImprovedCustomKeywordParser.parseCustomKeywords(
at com.kms.katalon.controller.ImprovedKeywordControllerDelegate.parseAllCustomKeywords(
at com.kms.katalon.controller.KeywordController.parseAllCustomKeywords(
at com.kms.katalon.controller.ProjectController.openProjectForUI(
at com.kms.katalon.composer.project.handlers.OpenProjectHandler$
at org.eclipse.jface.operation.ModalContext$
Caused by: java.lang.IllegalArgumentException: Invalid JSON syntax. Root cause: Expected ‘:’ at line 2 column 10 path $.<<<<<<<
at com.kms.katalon.core.util.internal.JsonUtil.fromJson(
at com.kms.katalon.custom.improvement.cache.ParseKeywordCacheContent.fromFile(
at com.kms.katalon.custom.improvement.cache.ParseKeywordCacheFile.loadContent(
at com.kms.katalon.custom.improvement.cache.ParseKeywordCacheFile.getOrCreate(
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.internallyParseKeywordFile(
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseAllKeywordFilesInProject(
… 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. (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.