PDF Page visit issue

When I try to visit a Page using ImagePlacementAbsorber

ImagePlacementAbsorber imagePlacementAbsorber = new ImagePlacementAbsorber();
imagePlacementAbsorber.visit(page);

I’m getting this error?

Exception: class com.aspose.pdf.internal.ms.System.lh: Invalid parameters count for m operator.
com.aspose.pdf.operators.MoveTo.(Unknown Source)
com.aspose.pdf.internal.l5v.ld.lI(Unknown Source)
com.aspose.pdf.Operator.lI(Unknown Source)
com.aspose.pdf.OperatorCollection.lb(Unknown Source)
com.aspose.pdf.OperatorCollection.ld(Unknown Source)
com.aspose.pdf.OperatorCollection.size(Unknown Source)
com.aspose.pdf.OperatorCollection$lI.hasNext(Unknown Source)
com.aspose.pdf.ImagePlacementAbsorber.lf(Unknown Source)
com.aspose.pdf.ImagePlacementAbsorber.lI(Unknown Source)
com.aspose.pdf.ImagePlacementAbsorber.visit(Unknown Source)

Could you clarify with it?

@Praveen1509

Can you please share your sample PDF document for our reference so that we can test the scenario in our environment and address it accordingly.

@Praveen1509

We tested using 24.8 version of the API and were unable to notice the issue that you have mentioned. Can you please make sure that you are using the latest version of the API and in case you still notice any issues, please let us know.

Currently we are using the version 24.6, do we need to upgrade to resolve the issue?

@Praveen1509

Yes, you need to upgrade to 24.8 version. If your current license doesn’t support it, you can use a 30-days free temporary license to test if everything is working fine and once its confirmed, you can finally upgrade your license.