if(!thisAddress.equals(owner))

Will protect you against NPE.