Got java.lang.ArrayIndexOutOfBoundsException:55 after run a feature file

You can check which version of the cumber-jvm project Katalon uses. See the .classpath file in your Katalon project. Katalon Studio v8.6.5 uses v3.0.2 of the cucumber-jvm library.

	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.core_3.0.2.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.datatable_1.0.3.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.datatable-dependencies_1.0.3.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.expressions_5.0.19.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.gherkin_5.0.0.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.html_0.2.7.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.java_3.0.2.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.tag-expressions_1.1.1.jar"/>
	<classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/io.cucumber.junit_3.0.2.jar"/>

The v3.0.2 of cucumber-jvm is very old. The latest version is v7.13.0.

As you see, Katalon Studio is not in sync with the cucumber-jvm project.

It is quite likely that the v3.0.2 had some bugs. These bugs would have been fixed in the later versions; but Katalon Studio is not able to benefit these fixes.


@shabana.sreenivasulu

Unfortunately, this issue will be very difficult for Katalon team to fix. They would have to start with upgrading the external dependencies (e.g., to cucumber-jvm.7.13.0). It will inevitably involve a lot of work.

In April this year, @duyluong wrote that they will work on “overhauling” their product to catch up the latest version of various external dependencies;

However we haven’t heard of any progress of the great attempt yet.