MULE-8112: ArrayIndexOutOfBoundsException when logging exceptions