prevent possible null pointers if message with invalid content type is received
prevent possible null pointers if message with invalid content type is received

agentcontest/massim,agentcontest/massim,agentcontest/massim,agentcontest/massim