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

Failed migrating from Member - NullPointerException #452

Closed
stodge opened this issue Apr 2, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@stodge
Copy link

commented Apr 2, 2013

I started two clients in Eclipse but needed to stop one before it was completely initialised. I realise this is kind of cheating, but I stopped the app using the "terminate" button in Eclipse. But I did and I got an exception:

Apr 1, 2013 8:31:25 PM com.hazelcast.impl.PartitionManager
WARNING: [192.168.1.109]:5701 [dev] Failed migrating from Member [192.168.1.109]:5701 this
java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at com.hazelcast.core.DistributedTask.get(DistributedTask.java:157)
    at com.hazelcast.impl.PartitionManager$Migrator.run(PartitionManager.java:934)
    at com.hazelcast.impl.PartitionManager$MigrationService.safeRun(PartitionManager.java:1064)
    at com.hazelcast.impl.PartitionManager$MigrationService.safeRunImmediate(PartitionManager.java:1072)
    at com.hazelcast.impl.PartitionManager$MigrationService.run(PartitionManager.java:1020)
Caused by: java.lang.NullPointerException
    at com.hazelcast.impl.partition.MigrationRequestTask.call(MigrationRequestTask.java:104)
    at com.hazelcast.impl.partition.MigrationRequestTask.call(MigrationRequestTask.java:37)
    at com.hazelcast.impl.ExecutorManager$RequestExecutor.run(ExecutorManager.java:247)
    at com.hazelcast.impl.executor.ParallelExecutorService$ParallelExecutorImpl$ExecutionSegment.run(ParallelExecutorService.java:212)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
    at com.hazelcast.impl.ExecutorThreadFactory$1.run(ExecutorThreadFactory.java:38)
Caused by: java.lang.NullPointerException
    ... 8 more
Apr 1, 2013 8:31:25 PM com.hazelcast.impl.PartitionManager
WARNING: [192.168.1.109]:5701 [dev] Migration task has failed => MigrationRequestTask{partitionId=131, from=Address[192.168.1.109]:5701, to=Address[192.168.1.109]:5702, replicaIndex=1, migration=false, diffOnly=false, selfCopyReplicaIndex=-1}
Apr 1, 2013 8:31:28 PM com.hazelcast.impl.PartitionManager
INFO: [192.168.1.109]:5701 [dev] Total 0 partition replica diffs have been processed.
Apr 1, 2013 8:31:28 PM com.hazelcast.impl.PartitionManager
INFO: [192.168.1.109]:5701 [dev] Re-partitioning cluster data... Immediate-Tasks: 0, Scheduled-Tasks: 0

@mdogan mdogan closed this in 9aa3020 Apr 19, 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.