uzh / signal-collect

A framework for scalable graph computing.
www.signalcollect.com
Apache License 2.0
148 stars 32 forks source link

A Null Pointer Exception in DeafultCoordinator #80

Closed samira-t closed 11 years ago

samira-t commented 11 years ago

I am developing a testing framework for testing actor systems. I ran my tool on Signal Collect and I noticed there is a bug in DefaultCoordinator. In fact, when the workers are created, they may receive a TimeoutMessage and call sendStatusToCoordinator. Upon calling that, the coordinator send Heartbeat messages to workers. However, if the workers has not been initialized in coordinator, there would be a null pointer exception.

pstutz commented 11 years ago

Hi Samira, thank you very much for finding and reporting these bugs!

Fixed with https://github.com/uzh/signal-collect/commit/3b47048ceda6af9bf8f2a57a7d9136ea71a618f6 and https://github.com/uzh/signal-collect/commit/198505bf5bbcbdea5e412688430e1d89640cbf4c .