Skip to content
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

quarkus-amazon-lambda-rest NullPointer on startup (native only) #20665

Closed
fastluca opened this issue Oct 11, 2021 · 1 comment · Fixed by #20747
Closed

quarkus-amazon-lambda-rest NullPointer on startup (native only) #20665

fastluca opened this issue Oct 11, 2021 · 1 comment · Fixed by #20747
Labels
area/amazon-lambda kind/bug Something isn't working
Milestone

Comments

@fastluca
Copy link

Describe the bug

I migrated two different working projects from quarkus version 2.2.3.Final to 2.3.0.Final. Both are using quarkus-amazon-lambda-rest extension and both now are not workig, due to a NullPointer exception on Lambda startup.

Expected behavior

The application starts and works normally.

Actual behavior

NullPointerException on lambda invocation.
{"timestamp":"2021-10-11T14:58:12.213Z","sequence":4741,"loggerClassName":"org.jboss.logging.Logger","loggerName":"io.quarkus.amazon.lambda.runtime.AbstractLambdaPollLoop","level":"ERROR","message":"Failed to run lambda (NORMAL)","threadName":"Lambda Thread (NORMAL)","threadId":29,"hostName":"1a74caf611c9","processName":"NativeImageGeneratorRunner$JDK9Plus","processId":71,"stackTrace":"java.lang.NullPointerException\n\tat io.quarkus.amazon.lambda.runtime.AmazonLambdaRecorder$1.processRequest(AmazonLambdaRecorder.java:155)\n\tat io.quarkus.amazon.lambda.runtime.AbstractLambdaPollLoop$1.run(AbstractLambdaPollLoop.java:124)\n\tat java.lang.Thread.run(Thread.java:829)\n\tat com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:567)\n\tat com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)\n"}

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

openjdk version "11.0.12" 2021-07-20

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.3.o.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@fastluca fastluca added the kind/bug Something isn't working label Oct 11, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 11, 2021

/cc @matejvasek, @patriot1burke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/amazon-lambda kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants