Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

[CoreOutputManager] Check if points are null before getting key #248

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

lmuhlha
Copy link
Member

@lmuhlha lmuhlha commented Feb 26, 2021

Remediates java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:372) at java.base/java.util.ArrayList.get(ArrayList.java:459) at com.spotify.ffwd.output.CoreOutputManager.sendBatch(CoreOutputManager.java:277) at com.spotify.ffwd.input.CoreInputManager.receiveBatch(CoreInputManager.java:89) at com.spotify.ffwd.input.InputChannelInboundHandler.channelRead(InputChannelInboundHandler.java:48)

@lmuhlha lmuhlha requested a review from a team February 26, 2021 00:16
@lmuhlha lmuhlha merged commit 1d75aa3 into master Feb 26, 2021
@delete-merged-branch delete-merged-branch bot deleted the nullpoints branch February 26, 2021 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants