Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Lambda Null Pointer Exception #190

Open
tomott12345 opened this issue Aug 18, 2020 · 1 comment
Open

Lambda Null Pointer Exception #190

tomott12345 opened this issue Aug 18, 2020 · 1 comment
Assignees
Labels
bug Something isn't working prospect

Comments

@tomott12345
Copy link

Was working with a prospect to test out AWS Lambda deployment. He was getting these errors. The problem was that his JSON file (test.json) was malformed. Need a more graceful way to fail in these cases.

Error details:
java.lang.NullPointerException
at ai.h2o.mojos.deploy.common.transform.RequestChecker.getProblemMessageOrNull(RequestChecker.java:52)
at ai.h2o.mojos.deploy.common.transform.RequestChecker.verify(RequestChecker.java:25)
at ai.h2o.mojos.deploy.aws.lambda.MojoScorer.score(MojoScorer.java:48)
at ai.h2o.mojos.deploy.aws.lambda.ApiGatewayWrapper.handleRequest(ApiGatewayWrapper.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at lambdainternal.EventHandlerLoader$PojoMethodRequestHandler.handleRequest(EventHandlerLoader.java:263)
at lambdainternal.EventHandlerLoader$PojoHandlerAsStreamHandler.handleRequest(EventHandlerLoader.java:180)
at lambdainternal.EventHandlerLoader$2.c

@nkpng2k nkpng2k added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Aug 26, 2020
@nkpng2k
Copy link
Contributor

nkpng2k commented Aug 26, 2020

@tomott12345 thanks for providing trace... will look to this. cc @JHerna17 do you have maybe more time to look at this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working prospect
Projects
None yet
Development

No branches or pull requests

2 participants