In the ResourceRegistryStandardImpl, the convert(SQLException,String) right now returns null. The return value is thrown as an exception and may produce NullPointerException.
This needs to be fixed and the respective exception needs to be thrown.