Resolved NPE when owner is not null