Internal error while executing Junit test in Katalon Studio

I have to integrate Gherkin with Katalon Studio, so I created a test
project in Groovy with a basic scenario and imported the project in
Katalon Studio. When I execute the Junit test in Katalon Studio it
throws the error: “An internal error occurred during: “Launching
java.lang.NullPointerException”. I have already added the necessary

Note: The test passes successfully in Eclipse.

What is the extra thing needed to run a Junit test on Katalon?

Katalon Studio does not support executing a project like that, so if you customize it or manually add a project not either by using ‘New’ or ‘Open’ a project in Katalon Studio, then there will be errors upon executing.

I created the project using the New option and I’m still getting the same error.