Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.2
-
Fix Version/s: 5.0.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any, Viewer RI
-
Salesforce Case Reference:
Description
Since the 5.0 release there has been very rare issue where some pages are rendered blank. A scale change will show the the page contents. While working through PDF-627 the blank page issue became more prevalent. The reason for this is because the Page object are now getting carbage collected more quickly.
The PageViewComponentImpl gets an instance of the corresponding Page and two threads are used to initialize and paint the page. The Page reference in this case can be collected by the garbage collector between initialization and paint and thus paint has nothing to paint.
The PageViewComponentImpl gets an instance of the corresponding Page and two threads are used to initialize and paint the page. The Page reference in this case can be collected by the garbage collector between initialization and paint and thus paint has nothing to paint.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Updated the PageViewComponent and greatly lessened the chance that Page object can be garbage collected between initialization and painting.