diff --git a/main/src/com/google/refine/commands/history/ApplyOperationsCommand.java b/main/src/com/google/refine/commands/history/ApplyOperationsCommand.java index 2ed9298be..df93d964f 100644 --- a/main/src/com/google/refine/commands/history/ApplyOperationsCommand.java +++ b/main/src/com/google/refine/commands/history/ApplyOperationsCommand.java @@ -45,6 +45,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.refine.commands.Command; import com.google.refine.model.AbstractOperation; import com.google.refine.model.Project; +import com.google.refine.operations.UnknownOperation; import com.google.refine.process.Process; import com.google.refine.util.ParsingUtilities; @@ -79,7 +80,7 @@ public class ApplyOperationsCommand extends Command { protected void reconstructOperation(Project project, ObjectNode obj) throws IOException { AbstractOperation operation = ParsingUtilities.mapper.convertValue(obj, AbstractOperation.class); - if (operation != null) { + if (operation != null && !(operation instanceof UnknownOperation)) { try { Process process = operation.createProcess(project, new Properties());