hazelcast / hazelcast/hazelcast-nodejs-client
.getDistributedObjects call results in exception (under hzStarter) [API-1596]
- Dominant language
- TypeScript
- Stars
- 152
- Forks
- 64
- Avg merge
- 46m
- Merged PRs (30d)
- 3
Description
.getDistributedObjects call throws the following exception **when my cluster is hzStarter** (this is our internal utility in MC team; it fires up a 3 member cluster and utilizes the data structures.)
note that the same code works fine if my cluster is an IMDG instance started via bin/start.sh.
(tested in IMDG 4.2 and latest hazelcast-nodejs-client.)
ps. ping me at will; i can show this live.
```
[DefaultLogger] INFO at LifecycleService: HazelcastClient is STARTING
Lifecycle Event >>> STARTING
[DefaultLogger] INFO at LifecycleService: HazelcastClient is STARTED
Lifecycle Event >>> STARTED
[DefaultLogger] INFO at ConnectionManager: Trying to connect to 127.0.0.1:5701
[DefaultLogger] INFO at LifecycleService: HazelcastClient is CONNECTED
Lifecycle Event >>> CONNECTED
[DefaultLogger] INFO at ConnectionManager: Authenticated with server 127.0.0.1:5701:c642044f-a973-442f-8a2f-7755bb55374b, server version: 4.2, local address: 127.0.0.1:62314
[DefaultLogger] INFO at ClusterService:
Members [3] {
Member [127.0.0.1]:5701 - c642044f-a973-442f-8a2f-7755bb55374b
Member [127.0.0.1]:5703 - dd79a716-4a18-4c22-b630-7b6a3ccd0572 lite
Member [127.0.0.1]:5702 - 055dcf8d-2a63-4558-9d14-57b81aea63ed
}
[DefaultLogger] INFO at ConnectionManager: Authenticated with server 127.0.0.1:5703:dd79a716-4a18-4c22-b630-7b6a3ccd0572, server version: 4.2, local address: 127.0.0.1:62315
[DefaultLogger] INFO at ConnectionManager: Authenticated with server 127.0.0.1:5702:055dcf8d-2a63-4558-9d14-57b81aea63ed, server version: 4.2, local address: 127.0.0.1:62316
hz.client_0
/Users/utku/dev/hz/hazelcast-explorer/node_modules/hazelcast-client/lib/proxy/ProxyManager.js:191
localProxy = new this.service[serviceName](serviceName, name, this, this.partitionService, this.invocationService, this.serializationService, this.listenerService, this.clusterService, this.connectionRegistry);
^
TypeError: this.service[serviceName] is not a constructor
at ProxyManager.initializeLocalProxy (/Users/utku/dev/hz/hazelcast-explorer/node_modules/hazelcast-client/lib/proxy/ProxyManager.js:191:26)
at /Users/utku/dev/hz/hazelcast-explorer/node_modules/hazelcast-client/lib/proxy/ProxyManager.js:87:25
```
Contributor guide
Assessment
This issue has not been assessed yet.