CAMEL-7025 fixed the NPE of StaxConverter