We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

‘System.NullReferenceException’ occurred in Aspose.OMR.dll

hello,
when using this template : test2.zip (256.9 KB)

in this line of code:
control.RecognizeImage();

the following exception will occur:

An unhandled exception of type ‘System.NullReferenceException’ occurred in Aspose.OMR.dll

I have designed template with 5 refrence points as you mentioned in your last documentation and the 5th refrence point have “ReferenceType”: “Rotation” in omr definition as you can see in my uploaded files …

@ydcnet

An issue as OMRNET-669 has been logged in our issue tracking system for further investigation. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us little time.

We are sorry for the inconvenience.

@ydcnet

Reason for this behavior is usage of non-standard paper-size. I have updated .omr file and picture dimensions accordingly. See Attachment. Please note that you need to use standardized approach while creating templates using Aspose.OMR as we already shared with you in your other similar queries. test2.7z (248.5 KB)
Screenshot_1.png (6.1 KB)