aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xml/XmlReader.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-03 22:53:18 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-03 22:53:18 +0200
commitf33d2497f85581b6b7e13fa1f3e088520227b346 (patch)
tree7a728b19ff63b01780695cfbdfdfdc40af609516 /src/eu/siacs/conversations/xml/XmlReader.java
parent38e2110aa4832aa9ed19569af7d9762d401d2012 (diff)
more xmlpullparser fixes
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/xml/XmlReader.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java
index 98bee3ee..10b2fb06 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;
}