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

I found the source code of cucumber.runtime.formatter.TestSourcesModel.getKeywordFromSource(TestSourcesModel.java:124) at

    String getKeywordFromSource(String uri, int stepLine) {
        Feature feature = getFeature(uri);
        if (feature != null) {
            TestSourceRead event = getTestSourceReadEvent(uri);
            String trimmedSourceLine = event.source.split("\n")[stepLine - 1].trim();   // ArrayIndexOutOfBoundsException is raised here
            ...

If the stepLine variable has 0 value, then an ArrayIndexOutOfBoundsException will be raised.

I believe @shabana.sreenivasulu saw it.