Try at fixing "Plugin cannot be null" + Add a catch to it

Signed-off-by: Andre Schweiger <andre.spiele@yahoo.de>