Catch null exception if there is a problem setting up the peer group.
Resource files are bundled with JAR so we must replcae methods which try to copy them from an IDE and development folder, which works fine in an IDE, but not when application is packaged for deployment.