FlyerTalk Forums - View Single Post - [SHUT DOWN] Unofficial Advanced AC Reward Search Tool (cowtool)
Old Jun 6, 2021 | 10:43 pm
  #74  
canadiancow
A FlyerTalk Posting Legend
1M
40 Countries Visited
All eyes on you!
10 Years on Site
 
Join Date: Sep 2012
Location: SFO
Programs: AC SE MM, SK Gold, Bonvoy Plat LTG, Hyatt Glob, HH Diamond
Posts: 47,285
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

Last edited by Adam Smith; Jun 6, 2021 at 11:06 pm Reason: Merge consecutive posts by same user
canadiancow is offline