mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix NPE
This commit is contained in:
parent
7e088ea747
commit
31dc6fc839
@ -408,7 +408,7 @@ public class OperationManagerImpl implements OperationManager {
|
||||
if (DeviceConfigurationManager.getInstance().getDeviceManagementConfig().
|
||||
getPushNotificationConfiguration().getSchedulerBatchSize() <= enrolments.size() &&
|
||||
notificationStrategy != null) {
|
||||
isScheduled = notificationStrategy.getConfig().isScheduled();
|
||||
isScheduled = notificationStrategy.getConfig() != null && notificationStrategy.getConfig().isScheduled();
|
||||
}
|
||||
int failAttempts = 0;
|
||||
while (true) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user