Got rid of NullpointerExceptions releated to message initialization when run on Distributed infrastructure (kraken)