NPE in DeploymentsService while scaling out

Description

020-08-04 09:50:46,607 REST SEVERE [com.gigaspaces.newwebui.websockets.handlers.WebSocketSessionHandler] - Failed to retrieve service instances due java.lang.NullPointerException; Caused by: java.lang.NullPointerException
at com.gigaspaces.manager.rest.service.DeploymentsService.createProcessingUnitInstanceUtilization(DeploymentsService.scala:1955)
at com.gigaspaces.manager.rest.service.DeploymentsService$$anonfun$96.apply(DeploymentsService.scala:1946)
at com.gigaspaces.manager.rest.service.DeploymentsService$$anonfun$96.apply(DeploymentsService.scala:1946)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
at com.gigaspaces.manager.rest.service.DeploymentsService.getPuInstancesUtilization(DeploymentsService.scala:1946)
at com.gigaspaces.manager.rest.util.RestApiProvider.getServiceInstancesUtilizationFromRest(RestApiProvider.scala:48)
at com.gigaspaces.newwebui.websockets.handlers.WebSocketSessionHandler.retrieveServiceInstancesAndSendEvents(WebSocketSessionHandler.java:1655)
at com.gigaspaces.newwebui.websockets.handlers.WebSocketSessionHandler.lambda$retrieveServicesMetricsAndSendEventPeriodically$2(WebSocketSessionHandler.java:1249)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Workaround

None

Acceptance Test

manual

Assignee

Evgeny Fisher

Reporter

Evgeny Fisher

Labels

None

Priority

Medium

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Open Source

Platform

All
Configure