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

MultiTask operation returns Constants$Object$6 instead of a Map #392

joncrlsn opened this issue Jan 4, 2013 · 1 comment


None yet
3 participants
Copy link

commented Jan 4, 2013

Hazelcast Version: 2.4

We upgraded to Hazelcast 2.4 recently. When doing a MultiTask operation we sometimes get a com.hazelcast.impl.Constants$Objects$6 back instead of a Map as expected.

Here's an example of what we are doing:

MultiTask<Map> task = new MultiTask<Map>(callable, this.hzInstance.getCluster().getMembers());
Collection<Map> results = task.get();

for (Map m : results) { // ClassCastException here
  // Do something

java.lang.ClassCastException: com.hazelcast.impl.Constants$Objects$6 cannot be cast to java.util.Map

One team member suspected this is being returned instead of a TimeoutException being thrown.

Is this a new way of handling timeouts or is this possibly a bug?

Thank you in advance for your help,

  • Jon

This comment has been minimized.

Copy link

commented Jan 8, 2013

FYI, we are also experiencing this issue with DistributedTask using Hazelcast 2.4.1. It appears that the task.get() method is returning OBJECT_REDO rather than the expected task execution result. Please advise ... and thanks.

-- Tom

@ghost ghost assigned mdogan Jan 8, 2013

@mdogan mdogan closed this in 1e1f8e0 Jan 8, 2013

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.