I think you have an issue when you try to pass in a null String into the Integer() constructor.

// Json