Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.4
-
Fix Version/s: 6.2.5
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
Support Case References:Support Case 14162:- https://icesoft.my.salesforce.com/5000g00001laLsH
Description
The PDF in question renders partially missing any text and images. Enabling finest logging seems to point to an issue with page resource loading as a null pointer is found and no font or image data can be found.
The document contains a single page object that has no resource reference. However it does have a reference to the parent /pages object which has as /resources entry. This is a fairly common resource allocation as can make it easy for pages to share resources. We have code that handles this.
The issue here is that the referencing resource object is of the wrong type. The reference object is labeled as as /Pages object and thus our resource loading code skips it. It's pretty easy to check for this and make sure we try harder to grab the dictionary entries regardless of type.