Error using Aspose.PDF ExtractText on AWS Lambda

I am trying to extract text from PDF File on AWS Lambda, getting below error.
I am using license copy of Aspose.Total.

Below is error from log -

Error in ProcessPdfRequestLambda - Object reference not set to an instance of an object. - StackTrace - at .(Operator )
at .()
at .(BaseOperatorCollection , Resources , Page )
at .(BaseOperatorCollection , Resources )
at .()
at Aspose.Pdf.Text.TextAbsorber.Visit(Page page)
at Aspose.Pdf.Facades.PdfExtractor.ExtractText(Encoding encoding)

@dhanrajanip

Thanks for contacting support.

Would you please share a narrowed down sample application along with sample PDF document and environment details so that we may try to reproduce and investigate it further.