From 8840d082bae00fde2f053b77368677b203598629 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Sat, 30 Aug 2014 08:31:05 +0200 Subject: [PATCH] brought npe catcher back for kxml parser --- src/eu/siacs/conversations/xml/XmlReader.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java index 1c7e94e66..cf6b8c73a 100644 --- a/src/eu/siacs/conversations/xml/XmlReader.java +++ b/src/eu/siacs/conversations/xml/XmlReader.java @@ -90,6 +90,10 @@ public class XmlReader { throw new IOException("xml parser mishandled ArrayIndexOufOfBounds", e); } catch (StringIndexOutOfBoundsException e) { throw new IOException("xml parser mishandled StringIndexOufOfBounds", e); + } catch (NullPointerException e) { + throw new IOException("xml parser mishandled NullPointerException", e); + } catch (IndexOutOfBoundsException e) { + throw new IOException("xml parser mishandled IndexOutOfBound", e); } return null; }