Originally Posted by
thedoraemon
- java.lang.IndexOutOfBoundsException: Index 28 out of bounds for length 28 on: https://api.ft.canadiancow.com/ac-re...3-31&airlines=
- Stack trace:
java.lang.IndexOutOfBoundsException: Index 28 out of bounds for length 28
java.base/jdk.internal.util.Preconditions.outOfBounds(Unknow n Source)
java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIn dex(Unknown Source)
java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)
java.base/java.util.Objects.checkIndex(Unknown Source)
java.base/java.util.ArrayList.get(Unknown Source)
com.canadiancow.acrewardsearcher.RewardSearcher.se arch(RewardSearcher.kt:196)
com.canadiancow.acrewardsearcher.RewardSearcherHan dler.handleRequest(RewardSearcherHandler.kt:38)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl. invoke(Unknown Source)
java.base/java.lang.reflect.Method.invoke(Unknown Source)
lambdainternal.EventHandlerLoader$PojoMethodReques tHandler.handleRequest(EventHandlerLoader.java:282 )
lambdainternal.EventHandlerLoader$PojoHandlerAsStr eamHandler.handleRequest(EventHandlerLoader.java:1 99)
lambdainternal.EventHandlerLoader$2.call(EventHand lerLoader.java:899)
lambdainternal.AWSLambda.startRuntime(AWSLambda.ja va:257)
lambdainternal.AWSLambda.startRuntime(AWSLambda.ja va:192)
lambdainternal.AWSLambda.main(AWSLambda.java:187)
The rest is all reasonable and I can look into it some other time. This one... baffles me. I just re-deployed in case any of the screwing around I did on Saturday was still lingering. But I legitimately have no idea how that error could have happened.
And for the timeout, just reduce the date range. Some things I can't control