i.g.c.a.b.SessionHookBuilder$$anon$1 - 'hook-20' crashed with 'java.lang.IndexOutOfBoundsException: 5', forwarding to the next one

Hi I am getting IndexOutOfBoundsException while calling HTTP requests with
very low rate. I am setting http request body as below

*val* emissionRequestVehicles =

    exec(session => {
      *val* ms = MeasurementSystem.METRIC
      *val* pids1 = session("vehiclepids"
).as[List[PlatformIdentifier]].asJava
      *val* pids = getVehicleEmissionReportTest.vehicleData(pids1)
      *val* from = session("from").as[LocalDate]
      *val* to = session("to").as[LocalDate]
      *val* request = VehicleUtilizationProxy.createEmissionRequest(pids,
from, to, ms)
      *val* body = marshalToJson(request)
      *val* modifiedSession = session.set("body",body)
    })

Please help me on this.