Aggregate causes a NPE when type definition is missing in one of the partitions

Description

2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor Caused by: java.lang.NullPointerException
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.client.spaceproxy.operations.AggregateEntriesSpaceOperationRequest.processPartitionResult(AggregateEntriesSpaceOperationRequest.java:111)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.client.spaceproxy.operations.AggregateEntriesSpaceOperationRequest.processPartitionResult(AggregateEntriesSpaceOperationRequest.java:49)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.remoting.routing.partitioned.BroadcastOperationFutureListener.onOperationResultArrival(BroadcastOperationFutureListener.java:50)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.remoting.RemoteOperationFutureListener.onOperationCompletion(RemoteOperationFutureListener.java:149)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.remoting.routing.clustered.ClusterRemoteOperationRouter$AsyncOperationExecutor.onOperationCompletion(ClusterRemoteOperationRouter.java:299)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.remoting.routing.clustered.ClusterRemoteOperationRouter$AsyncOperationExecutor.onResult(ClusterRemoteOperationRouter.java:283)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.lrmi.nio.async.LRMIFuture.sendEvent(LRMIFuture.java:252)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.lrmi.nio.async.LRMIFuture.setResultPacketInternal(LRMIFuture.java:230)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.lrmi.nio.async.LRMIFuture.setResultPacket(LRMIFuture.java:183)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.lrmi.nio.async.AsyncContext.finishExecution(AsyncContext.java:285)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.lrmi.nio.async.AsyncContext.access$1000(AsyncContext.java:71)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.lrmi.nio.async.AsyncContext$1.execute(AsyncContext.java:195)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at com.gigaspaces.internal.utils.concurrent.ContextClassLoaderRunnable.run(ContextClassLoaderRunnable.java:45)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2019-11-26T08:09:43.343+0200 ERROR LX-S-ROM-WAN-31/GSC/2 P26192/T312 SPACE/ps-conversation-history-service/2/inbound/InboundWorkerSupervisor ... 1 more

customer current workaround is that we do a "dummy" read query with the type in every partition during startup.

Attachments

1

Activity

Ester Atsmon 
April 27, 2022 at 6:14 AM

Way to reproduce: Initial load from a table that doesn't have data for all partitions and do aggregation

Michael Groys 
April 14, 2022 at 12:04 PM

Hi , Can you please provide details how to reproduce this issue. I would like to try to solve this bug.

Thanks

Ester Atsmon 
March 8, 2022 at 1:31 PM

see also if related to

Ester Atsmon 
March 7, 2022 at 2:33 PM

The customer ask to escalate since it still happens with 15.8 and the workaround can’t be applied

Fixed

Details

Assignee

Reporter

Labels

Participants of an issue

Ester Atsmon
Ester Atzmon
Michael Groys

Priority

SalesForce Case ID

Fix versions

Edition

Platform

All

Acceptance Test

pic

Affects versions

Freshdesk Support

Open Freshdesk Support
Created January 19, 2020 at 6:19 AM
Updated October 27, 2022 at 8:23 AM
Resolved October 20, 2022 at 11:30 AM
Freshdesk Support