From f33d2497f85581b6b7e13fa1f3e088520227b346 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Thu, 3 Jul 2014 22:53:18 +0200 Subject: [PATCH] more xmlpullparser fixes --- src/eu/siacs/conversations/xml/XmlReader.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java index 98bee3eef..10b2fb065 100644 --- a/src/eu/siacs/conversations/xml/XmlReader.java +++ b/src/eu/siacs/conversations/xml/XmlReader.java @@ -81,6 +81,8 @@ 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("null pointer in xml parser"); } return null; }