Cause
This error occurs if the lineNumber parameter specified for the
Action
Change your application code to ensure that the line number specified by the parameter is in the valid range (1 through to the total number of lines, where line one is the first line of the text).