recently we had a problem with several PDF document while trying to extract text from pages. We are using
Aspose.PDF Nuget package version : 19.1.0
Visual Studio 2022
.net framework 4.6.2
We have valid license until July 2024
While running thru pages we having Null reference exception on .Accept method.
@setvi
Could you try to reproduce issue on latest version which is currently 24.5?
Null references are usually quickly fixed and maybe it could be resolved by updating version of Aspose.PDF Nuget package
@setvi
For now I tried your code without fragments with await procedures, error wasn’t reproduced in such scenario so now I’ll try to check with original async version
As for Acrobat, it’s not unusual - Acrobat usually has more strict checks for documents when browsers focus mostly on showing file contents
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.