diff --git a/Classes/ConfigurationObjectMapper.php b/Classes/ConfigurationObjectMapper.php index 3547e72..4929fc5 100644 --- a/Classes/ConfigurationObjectMapper.php +++ b/Classes/ConfigurationObjectMapper.php @@ -136,7 +136,9 @@ protected function doMapping($source, $targetType, PropertyMappingConfigurationI if (null === $this->configurationObjectConversionDTO->getResult()) { $result = $typeConverter->convertFrom($source, $targetType, $convertedChildProperties); - $this->configurationObjectConversionDTO->setResult($result); + if (null !== $this->configurationObjectConversionDTO) { + $this->configurationObjectConversionDTO->setResult($result); + } } $this->serviceFactory->runServicesFromEvent(ObjectConversionAfterServiceEventInterface::class, 'objectConversionAfter', $this->configurationObjectConversionDTO);