79405720

Date: 2025-02-01 21:44:11
Score: 2
Natty:
Report link

I confirm what @framilano did.

I did this tutorial https://quarkus.io/guides/aws-lambda.

When I actually added the lambda on AWS and created a FunctionURL for it, I started to get null pointers.

Then, I had an idea.

I tested my lambda to receive a JsonNode (jackson.databind).

This revealed that the object which was actually passed to my handleRequest() method was a APIGatewayV2HTTPEvent.

This is the logs on CloudWatch:

enter image description here

After I changed the object on handleRequest(), it worked properly.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • User mentioned (1): @framilano
  • Low reputation (0.5):
Posted by: Juliano Suman Curti