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

Free Support Forum - aspose.com

System.IndexOutOfRangeException in Aspose.OCR.dll

While doing OCR I’m getting sometimes the following uncatched exception. As it is totally uncatched I can 't catch it and it will break my application.

I will try to figure out the corresponding image and upload it later.

Here is a Screenshot of the Stacktrace:

2022-10-19 09_52_00-anzen (Debugging) - Microsoft Visual Studio.png (90.3 KB)

Version is Aspose.OCR for .NET 22.9.0.

I could find the causing image and can reproduce the exception with it.
The file ist here: DebugOCR.png (20.7 KB)

The original image is embedded within an PDF. I’m extracting all images from this and try to OCR them.

@HauptlorenzAG

An issue as OCRNET-595 has been logged in our issue tracking system to address this case. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

I will wait but I can’t buy your product if this bug is not fixed.

@HauptlorenzAG

Your concerns have been recorded and we will surely inform you via this forum thread once the ticket is resolved. Please spare us some time. We are sorry for the inconvenience.

@HauptlorenzAG

The issue will be fixed in release 22.10 (which will be released by the end of the month).

I will test it as soon as it is available. Thanks.

The issues you have found earlier (filed as OCRNET-595) have been fixed in this update. This message was posted using Bugs notification tool by anna.pylaieva