From 0ee66ba66a9ea84cd6f31589ce0b0192f24a6258 Mon Sep 17 00:00:00 2001 From: Alexander Marsalek Date: Fri, 16 Apr 2021 14:51:31 +0200 Subject: errorhandling --- .../gv/egiz/pdfas/web/servlets/JSONAPIServlet.java | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'pdf-as-web/src/main/java/at/gv') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/JSONAPIServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/JSONAPIServlet.java index 6a56c9dc..78bb3c69 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/JSONAPIServlet.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/JSONAPIServlet.java @@ -136,16 +136,21 @@ public class JSONAPIServlet extends HttpServlet { parameters.setProfile(profile); Map signatureBlockParametersMap = new HashMap<>(); - JSONArray jsonArray = jsonObject.getJSONArray(JSON_SBP); - for(int i=0; i