Running the java example (examples/java) with DOCKER_LAMBDA_USE_STDIN set results in an error:
Failed to load awslambda shared library: Library=libawslambda.so Exception=java.lang.ExceptionInInitializerError message=null
java.lang.ExceptionInInitializerError
at lambdainternal.AWSLambda.startRuntime(AWSLambda.java:233)
at lambdainternal.AWSLambda.<clinit>(AWSLambda.java:64)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at lambdainternal.LambdaRTEntry.main(LambdaRTEntry.java:104)
Caused by: java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:862)
at java.util.Scanner.next(Scanner.java:1371)
at lambdainternal.LambdaRuntime.getEventBody(LambdaRuntime.java:87)
at lambdainternal.LambdaRuntime.<clinit>(LambdaRuntime.java:69)
... 5 more
Running the java example (
examples/java
) withDOCKER_LAMBDA_USE_STDIN
set results in an error:You can reproduce with:
after running
gradle build