diff --git a/52n-wps-algorithm/src/main/java/org/n52/wps/server/ProcessDescription.java b/52n-wps-algorithm/src/main/java/org/n52/wps/server/ProcessDescription.java index 61551e60b..3898f019c 100644 --- a/52n-wps-algorithm/src/main/java/org/n52/wps/server/ProcessDescription.java +++ b/52n-wps-algorithm/src/main/java/org/n52/wps/server/ProcessDescription.java @@ -119,7 +119,11 @@ public static ProcessOffering createProcessDescriptionV200fromV100(ProcessDescri processDescription.addNewAbstract().setStringValue(processDescriptionV100.getAbstract().getStringValue()); } - InputDescriptionType[] inputDescriptionTypes = processDescriptionV100.getDataInputs().getInputArray(); + InputDescriptionType[] inputDescriptionTypes = new InputDescriptionType[]{}; + + if(processDescriptionV100.getDataInputs() != null){ + inputDescriptionTypes = processDescriptionV100.getDataInputs().getInputArray(); + } for (InputDescriptionType inputDescriptionType : inputDescriptionTypes) {