Skip to content

KinesisEventRecord#toString method incorrectly prints eventSourceARN twice #244

Closed

Description

@scottmk

com.amazonaws.services.lambda.runtime.events.KinesisEvent.KinesisEventRecord#toString checks if eventVersion is null and then prints eventSourceARN a second time.

Not only does this mean eventVersion is missing from the string representation, but if eventSourceARN is null, toString will always throw a NullPointerException.

Activity

  1. self-assigned this
    on May 20, 2021
  2. msailes commented on May 20, 2021

    @msailes
    Contributor

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions