Fixed the NPE error of CamelCallbackTest