Also other usages of potential NPE caused by InteralPartition.getOwner h...

...ave been checked