{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/issues/557","labels_url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/issues/557/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/issues/557/events","html_url":"https://github.com/hazelcast/hazelcast-simulator/issues/557","id":62933678,"number":557,"title":"\"Hazelcast instance is not active!\" exception occurs and '<number of thread>.exception' file creates when terminating the run of test","user":{"login":"cherednichenko","id":7486878,"avatar_url":"https://avatars.githubusercontent.com/u/7486878?v=3","gravatar_id":"","url":"https://api.github.com/users/cherednichenko","html_url":"https://github.com/cherednichenko","followers_url":"https://api.github.com/users/cherednichenko/followers","following_url":"https://api.github.com/users/cherednichenko/following{/other_user}","gists_url":"https://api.github.com/users/cherednichenko/gists{/gist_id}","starred_url":"https://api.github.com/users/cherednichenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherednichenko/subscriptions","organizations_url":"https://api.github.com/users/cherednichenko/orgs","repos_url":"https://api.github.com/users/cherednichenko/repos","events_url":"https://api.github.com/users/cherednichenko/events{/privacy}","received_events_url":"https://api.github.com/users/cherednichenko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-19T09:51:42Z","updated_at":"2015-03-19T10:43:45Z","closed_at":"2015-03-19T09:56:01Z","body":"When you run test locally and then terminates it manually, the following exception occurs (it also creates a bunch of files equaled to 'public int threadCount = 10;'):\r\n\r\n```\r\nMar 19, 2015 11:31:50 AM com.hazelcast.stabilizer.worker.tasks.AbstractWorker\r\nINFO: Thread-4 At iteration: 210000\r\nException in thread \"main\" com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!\r\n\tat com.hazelcast.spi.AbstractDistributedObject.throwNotActiveException(AbstractDistributedObject.java:81)\r\n\tat com.hazelcast.spi.AbstractDistributedObject.lifecycleCheck(AbstractDistributedObject.java:76)\r\n\tat com.hazelcast.spi.AbstractDistributedObject.getNodeEngine(AbstractDistributedObject.java:70)\r\n\tat com.hazelcast.map.impl.proxy.MapProxySupport.size(MapProxySupport.java:616)\r\n\tat com.hazelcast.map.impl.proxy.MapProxyImpl.size(MapProxyImpl.java:72)\r\n\tat com.hazelcast.stabilizer.tests.map.GetAllMapTest.verify(GetAllMapTest.java:112)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat com.hazelcast.stabilizer.utils.ReflectionUtils.invokeMethod(ReflectionUtils.java:29)\r\n\tat com.hazelcast.stabilizer.worker.TestContainer.localVerify(TestContainer.java:180)\r\n\tat com.hazelcast.stabilizer.test.TestRunner.run(TestRunner.java:142)\r\n\tat com.hazelcast.stabilizer.tests.map.GetAllMapTest.main(GetAllMapTest.java:117)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)\r\n```\r\n\r\nfrom '1.exception' file:\r\n```\r\nfef24cec-f108-4735-911b-0a16cb9b8dd8\r\ncom.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!\r\n\tat com.hazelcast.spi.AbstractDistributedObject.throwNotActiveException(AbstractDistributedObject.java:81)\r\n\tat com.hazelcast.spi.AbstractDistributedObject.lifecycleCheck(AbstractDistributedObject.java:76)\r\n\tat com.hazelcast.spi.AbstractDistributedObject.getNodeEngine(AbstractDistributedObject.java:70)\r\n\tat com.hazelcast.map.impl.proxy.MapProxySupport.invokeOperation(MapProxySupport.java:391)\r\n\tat com.hazelcast.map.impl.proxy.MapProxySupport.putInternal(MapProxySupport.java:365)\r\n\tat com.hazelcast.map.impl.proxy.MapProxyImpl.put(MapProxyImpl.java:102)\r\n\tat com.hazelcast.map.impl.proxy.MapProxyImpl.put(MapProxyImpl.java:89)\r\n\tat com.hazelcast.stabilizer.tests.map.GetAllMapTest$WorkerTask.timeStep(GetAllMapTest.java:96)\r\n\tat com.hazelcast.stabilizer.tests.map.GetAllMapTest$WorkerTask.timeStep(GetAllMapTest.java:81)\r\n\tat com.hazelcast.stabilizer.worker.tasks.AbstractWorker.run(AbstractWorker.java:57)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\tat com.hazelcast.stabilizer.test.utils.ThreadSpawner$DefaultThread.run(ThreadSpawner.java:89)\r\n```\r\n\r\n![hazelcast_isnt_active_exception](https://cloud.githubusercontent.com/assets/7486878/6727882/276a74c6-ce2e-11e4-81b1-14a2189db0ea.png)"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/issues/comments/83499325","html_url":"https://github.com/hazelcast/hazelcast-simulator/issues/557#issuecomment-83499325","issue_url":"https://api.github.com/repos/hazelcast/hazelcast-simulator/issues/557","id":83499325,"user":{"login":"Donnerbart","id":4196298,"avatar_url":"https://avatars.githubusercontent.com/u/4196298?v=3","gravatar_id":"","url":"https://api.github.com/users/Donnerbart","html_url":"https://github.com/Donnerbart","followers_url":"https://api.github.com/users/Donnerbart/followers","following_url":"https://api.github.com/users/Donnerbart/following{/other_user}","gists_url":"https://api.github.com/users/Donnerbart/gists{/gist_id}","starred_url":"https://api.github.com/users/Donnerbart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Donnerbart/subscriptions","organizations_url":"https://api.github.com/users/Donnerbart/orgs","repos_url":"https://api.github.com/users/Donnerbart/repos","events_url":"https://api.github.com/users/Donnerbart/events{/privacy}","received_events_url":"https://api.github.com/users/Donnerbart/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T10:43:45Z","updated_at":"2015-03-19T10:43:45Z","body":"That's for sure. Nevertheless there may be another problem with multiple workers on the same machine, if one worker kills all Hazelcast instances on that machine (not just its own)."}}