Skip to content

KinesisEventRecord#toString method incorrectly prints eventSourceARN twice #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scottmk opened this issue May 12, 2021 · 2 comments
Closed
Assignees
Labels

Comments

@scottmk
Copy link

scottmk commented May 12, 2021

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.

@msailes msailes added the bug label May 20, 2021
@msailes msailes self-assigned this May 20, 2021
@msailes
Copy link
Collaborator

msailes commented May 20, 2021

Thank you!

@msailes
Copy link
Collaborator

msailes commented Jun 2, 2021

@msailes msailes closed this as completed Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants