diff --git a/src/Entity/EckEntity.php b/src/Entity/EckEntity.php
index cdce6d8..c201e87 100644
--- a/src/Entity/EckEntity.php
+++ b/src/Entity/EckEntity.php
@@ -29,7 +29,10 @@ class EckEntity extends ContentEntityBase implements EckEntityInterface {
    */
   public function getOwner() {
     if ($this->hasField('uid')) {
-      return $this->get('uid')->first()->entity;
+      $uid = $this->get('uid');
+      if ($uid->count() > 0) {
+        return  $uid->first()->entity;
+      }
     }
     return NULL;
   }
