License info can be null in Automation Lite in Cloud and lead to a NullPointerException

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 java.lang.NullPointerException at com.codebarrel.aws.lambda.automation.config.AutomationConfig.lambda$null$1(AutomationConfig.java:253) at java.util.Optional.map(Optional.java:215) at com.codebarrel.aws.lambda.automation.config.AutomationConfig.lambda$renderConfigForm$2(AutomationConfig.java:253) at com.codebarrel.automation.handler.SafeHtmlRenderer.render(SafeHtmlRenderer.java:28) at com.codebarrel.aws.lambda.automation.config.AutomationConfig.renderConfigForm(AutomationConfig.java:159) at com.codebarrel.aws.lambda.automation.Router.lambda$new$8(Router.java:50) at com.codebarrel.lambda.handler.LambdaRouter.route(LambdaRouter.java:72) at com.codebarrel.automation.handler.AbstractAutomationHandler.handleRequest(AbstractAutomationHandler.java:53) at lambdainternal.EventHandlerLoader$2.call(EventHandlerLoader.java:1139) at lambdainternal.AWSLambda.startRuntime(AWSLambda.java:279) at lambdainternal.AWSLambda.<clinit>(AWSLambda.java:62) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at lambdainternal.LambdaRTEntry.main(LambdaRTEntry.java:94)

Environment

None

Status

Assignee

Andreas Knecht

Reporter

Andreas Knecht

Labels

Links

1

Fix versions

Priority

Configure