You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TracingSqsEventHandler throws a NullPointerException when an AWS Lambda function extending from either TracingSqsEventHandler or TracingSqsEventWrapper is invoked with something other than an SQS event. This NullPointerException prevents the Lambda function from executing. See the stacktrace below (taken from CloudWatch logs).
Describe the bug
TracingSqsEventHandler
throws aNullPointerException
when an AWS Lambda function extending from eitherTracingSqsEventHandler
orTracingSqsEventWrapper
is invoked with something other than an SQS event. ThisNullPointerException
prevents the Lambda function from executing. See the stacktrace below (taken from CloudWatch logs).Steps to reproduce
TracingSqsEventWrapper
Expected behavior
The AWS Lambda function to still be executed. Exceptions in the instrumentation layer shouldn't prevent AWS Lambda functions from receiving events.
Actual behavior
The
NullPointerException
stops the AWS Lambda function from executing.Javaagent or library instrumentation version
1.31.0-alpha
Environment
JDK: Amazon Corretto 11
OS: Amazon Linux 2
Additional context
No response
The text was updated successfully, but these errors were encountered: