Fixed NPE issue

revert-dabc3590
harshanl 9 years ago
parent cb1c0c0439
commit 2397abaa6c

@ -93,7 +93,7 @@ public class MobileDeviceManagementDAOUtil {
public static void setupMobileDeviceManagementSchema(DataSource dataSource, String pluginType) throws MobileDeviceMgtPluginException { public static void setupMobileDeviceManagementSchema(DataSource dataSource, String pluginType) throws MobileDeviceMgtPluginException {
MobileDeviceManagementSchemaInitializer initializer = MobileDeviceManagementSchemaInitializer initializer =
new MobileDeviceManagementSchemaInitializer(dataSource, pluginType); new MobileDeviceManagementSchemaInitializer(dataSource, pluginType);
log.info("Initializing mobile device management repository database schema for " + dataSource); log.info("Initializing mobile device management repository database schema for : " + pluginType);
try { try {
initializer.createRegistryDatabase(); initializer.createRegistryDatabase();
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save