I am getting the exception mentioned in the title.
When throwing RuntimeException instead of UnmarshalException the problem gets solved, but
RuntimeException
UnmarshalException