Throws exception in sync loading method