diff --git a/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java b/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java
+++ b/molgenis-data-mapper/src/main/java/org/molgenis/data/algorithm/AlgorithmServiceImpl.java
@@ -80,9 +80,15 @@ public class AlgorithmServiceImpl implements AlgorithmService
 		{
 			return null;
 		}
-		Object value = ScriptEvaluator.eval(algorithm, sourceEntity);
-		return AlgorithmServiceImpl.convert(value, attributeMapping.getTargetAttributeMetaData().getDataType()
-				.getEnumType());
+		try
+		{
+			Object value = ScriptEvaluator.eval(algorithm, sourceEntity);
+			return convert(value, attributeMapping.getTargetAttributeMetaData().getDataType().getEnumType());
+		}
+		catch (RuntimeException e)
+		{
+			return null;
+		}
 	}
 
 	private static Object convert(Object value, FieldTypeEnum targetDataType)
Catch exception if script eval fails while creating integrated dataset