CAMEL-7025 fixed the NPE of StaxConverter
CAMEL-7025 revert the change of StaxConverterTest which should not be committed yet