If the bean gets serialized and then deserialized, this field will get nulled out and getMetrics() will return null. You should probably do something about that.