diff --git a/Entity/UploadedFile.php b/Entity/UploadedFile.php
index e59246b74c07a78e5698f2fac0b4d0e6d38f599a..27dfa2d8400660f9d117812dab2c36125ad7b49b 100644
--- a/Entity/UploadedFile.php
+++ b/Entity/UploadedFile.php
@@ -49,19 +49,19 @@ class UploadedFile implements UploadedFileInterface
      * @ORM\Column(type="string", length=255, nullable=true)
      * @var string
      */
-    private $mimeType;
+    private $mimeType = null;
 
     /**
      * @ORM\Column(type="integer", nullable=true)
      * @var int
      */
-    private $size;
+    private $size = null;
 
     /**
      * @ORM\Column(type="string", length=64, nullable=true)
      * @var string
      */
-    private $checksum;
+    private $checksum = null;
 
     /**
      * @ORM\Column(type="string", length=10)
@@ -79,7 +79,8 @@ class UploadedFile implements UploadedFileInterface
      * @ORM\Column(type="json_array", nullable=true)
      * @var array
      */
-    private $metadata;
+    private $metadata = null;
+
     /**
      * @ORM\Column(type="string", length=256, nullable=true)
      * @var string
@@ -587,7 +588,6 @@ class UploadedFile implements UploadedFileInterface
             'icon'        => MimeTypeIcon::getMimeTypeIcon($this->getMimeType())
         ];
     }
-    private $localTempPath = null;
 
     public function getLocalPath()
     {