fix null pointer for pdf view.
Merge remote-tracking branch 'origin/master'