Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientEngineImpl::getConnectedClientStats re-uses an operation #8628

jerrinot opened this issue Jul 31, 2016 · 0 comments


None yet
1 participant
Copy link

commented Jul 31, 2016

I've got this error shortly after a member started:

Exception in thread "hz._hzInstance_1_dev.cached.thread-3" java.lang.IllegalStateException: An operation[com.hazelcast.client.impl.operations.GetConnectedClientsOperation{serviceName='hz:core:clientEngine', identityHash=1178814838, partitionId=-1, replicaIndex=0, callId=3, invocationTime=1469980997245 (2016-07-31 19:03:17.245), waitTimeout=-1, callTimeout=60000}] can not be used for multiple invocations!
    at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke0(
    at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke(
    at com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.invokeOnTarget(
    at com.hazelcast.client.impl.ClientEngineImpl.getConnectedClientStats(
    at com.hazelcast.util.PhoneHome.phoneHome(
    at com.hazelcast.util.PhoneHome$
    at com.hazelcast.util.executor.CachedExecutorServiceDelegate$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
    at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(
Jul 31, 2016 7:03:17 PM com.hazelcast.core.LifecycleService

The problem is the GetConnectedClientsOperation is re-used for multiple invocations. This is not allowed - a new operation should be created of each invocation.

@jerrinot jerrinot added this to the 3.7.1 milestone Jul 31, 2016

@jerrinot jerrinot changed the title `ClientEngineImpl::getConnectedClientStats` re-uses an operation ClientEngineImpl::getConnectedClientStats re-uses an operation Jul 31, 2016

jerrinot added a commit to jerrinot/hazelcast that referenced this issue Aug 1, 2016

@jerrinot jerrinot modified the milestones: 3.7, 3.7.1 Aug 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.