Details
Description
A community member has pointed out that when build the viewer component example and manual set the PropertiesManager.PROPERTY_SHOW_UTILITYPANE_ANNOTATION they are getting a null pointer exception.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.3.1 [ 13113 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52319 | Fri Feb 16 12:23:04 MST 2018 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/SwingController.java
|
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
The error is coming from an incorrectly protect call to annotationPanelisVisible(). in the isAnnotationUtilityPaneVisible() method. Once this it is properly protected the viewer loads.
I think the likely cause was that the annotation was set into invisible via the properties which get the swingController in the state that causes the null pointer.