As documented in this forum post, the pdf-viewer-plugin does not work at all, if there is no Config (an ugly NullPointerException is thrown):
https://sourceforge.net/projects/pdfviewer/forums/forum/866211/topic/3481661/index/page/1
A NullPointerException (without any message) is not helpful. Thus, if the Config is really absolutely required, there should be a nicer exception telling the developer that he must call Config.createSharedInstance(...) before. But IMHO, the Config is only used for the DocumentPrinter-configuration and therefore not necessary for viewing PDF files. Therefore, the Config should be optional and there should be a warning logged (with detailed information about Config.createSharedInstance(...) and what consequences it has to not call it - i.e. what features are not available). The functionality that absolutely requires the config (probably the print action only) should either be disabled or better invisible when there is no Config existing.