IVY-1641: fix NullPointerException if content type has no charset
3 files changed