Added debugging output for getRawObjects exception.