RgbToDeviceGrayConversionStrategy: method not implemented

The following code produces a stack trace:

                        final var strategy = new RgbToDeviceGrayConversionStrategy();

                        strategy.convert(page);

Exception in thread “main” class com.aspose.pdf.internal.ms.System.l7n: The method or operation is not implemented
com.aspose.pdf.operators.SetColor.getColor(Unknown Source)
com.aspose.pdf.l19n.lI(Unknown Source)
com.aspose.pdf.l19n.lI(Unknown Source)
com.aspose.pdf.l19n.lI(Unknown Source)
com.aspose.pdf.RgbToDeviceGrayConversionStrategy.convert(Unknown Source)

What am I missing here?

@joparker62
Please attach the file with which this happens and a more complete version of used code.