brought npe catcher back for kxml parser