blackboard / lambda-selenium

Use Selenium Webdriver and Chrome inside AWS Lambda
MIT License
230 stars 51 forks source link

Getting Null pointer error while running Java #29

Closed subbyz closed 6 years ago

subbyz commented 6 years ago

{ "errorMessage": "java.lang.NullPointerException", "errorType": "java.lang.NullPointerException", "stackTrace": [ "java.util.Hashtable.put(Hashtable.java:459)", "java.util.Properties.setProperty(Properties.java:166)", "java.lang.System.setProperty(System.java:796)", "com.blackboard.testing.lambda.LambdaTestHandler.handleRequest(LambdaTestHandler.java:26)", "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", "java.lang.reflect.Method.invoke(Method.java:498)" ] }

subbyz commented 6 years ago

System.setProperty("target.test.uuid", testRequest.getTestRunUUID());

This line returns null value. Please help asap

SubramanianMuthu commented 6 years ago

@wesmcouch @tsu-denim Kindly help me with this.

wesmcouch commented 6 years ago

Hello, I would pull latest master and try the new auto-deployment method. You may need to delete resources in your AWS account to allow for the auto-deployment to be successful. Check the CloudFormation output when deploying to verify.

Follow the instructions here https://blackboard.github.io/lambda-selenium/java-tutorial.html

rprusia commented 4 years ago

I am also facing this problem and I just downloaded the latest version.... Can you please provide some incite on what might be my issue. Thanks, Ray