|
|
@@ -38,7 +38,9 @@ public class EvpsServiceManagerService {
|
|
|
serviceMap.forEach((key, service) -> {
|
|
|
String serviceId = service.getServiceId();
|
|
|
EvpsCenter center = (EvpsCenter)service.getCenterObj();
|
|
|
-
|
|
|
+ if (center == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
long lastCommTime = service.getLastCommTime() / 1000L;
|
|
|
if (currentTimeSeconds - lastCommTime >= timeoutMilliSeconds) {
|
|
|
// log.warn("[{}]. checkServiceTimeout: Service Id: {}, Last Comm Timeout: {} seconds.", center.getLogKey(), serviceId, (currentTimeSeconds - lastCommTime));
|
|
|
@@ -59,6 +61,9 @@ public class EvpsServiceManagerService {
|
|
|
}
|
|
|
|
|
|
EvpsCenter center = (EvpsCenter)service.getCenterObj();
|
|
|
+ if (center == null) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
|
|
|
log.warn("[{}]. checkServiceTimeout: Service Id: {}, Service Auto Timeout: ClctDt: {}.", center.getLogKey(), serviceId, service.getClctDt());
|
|
|
|