diff --git a/rest_ocd_services/src/main/java/i5/las2peer/services/ocd/ServiceClass.java b/rest_ocd_services/src/main/java/i5/las2peer/services/ocd/ServiceClass.java index eb78ee77..bb022935 100644 --- a/rest_ocd_services/src/main/java/i5/las2peer/services/ocd/ServiceClass.java +++ b/rest_ocd_services/src/main/java/i5/las2peer/services/ocd/ServiceClass.java @@ -1166,7 +1166,7 @@ public Response runAlgorithm(@PathParam("graphId") String graphIdStr, Map parameters; try { parameters = requestHandler.parseParameters(content); - algorithm = algorithmFactory.getInstance(algorithmType, parameters); + algorithm = algorithmFactory.getInstance(algorithmType, new HashMap(parameters)); } catch (Exception e) { requestHandler.log(Level.WARNING, "user: " + username, e); return requestHandler.writeError(Error.PARAMETER_INVALID, "Parameters are not valid.");