<div dir="ltr">I've got an odd problem I'm wondering if anyone has seen or might have some thoughts on. I'm building an STS running on the AWS API Gateway that I want to parse and verify a SAML2 response. I'm using OpenSAML 3 since I'm already very use to it. When I run my code locally on my mac running Java 1.8 it works great, but when I deploy to Lambda I get a null pointer exception when running:<div><br></div><div>XMLObjectSupport<span class="inbox-inbox-s1">.</span><span class="inbox-inbox-s2">getUnmarshaller</span><span class="inbox-inbox-s3">(</span><span class="inbox-inbox-s4">root</span><span class="inbox-inbox-s3">).unmarshall(root)</span></div><div><span class="inbox-inbox-s3"><br></span></div><div><span class="inbox-inbox-s3">I have tried both running </span>InitializationService<span class="inbox-inbox-s1">.</span><span class="inbox-inbox-s2">initialize</span><span class="inbox-inbox-s3">()</span><span class="inbox-inbox-s1">; statically AND immediately before the above method is run, I see the initialization and I don't see any errors but getUnmarshaller is returning null. According to amazon there are no endorsed packages.</span></div><div><span class="inbox-inbox-s1"><br></span></div><div><span class="inbox-inbox-s1">Does this symptom set off any flags?</span></div><div><span class="inbox-inbox-s1"><br></span></div><div><span class="inbox-inbox-s1">Thanks</span></div><div>Marc</div>
</div>