mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 12:42:16 -05:00
fixed another null pointer reported by he crash reporter. this thing is awesome
This commit is contained in:
parent
b966464324
commit
f457c629ee
@ -85,6 +85,9 @@ public class XmlReader {
|
|||||||
element.setContent(nextTag.getName());
|
element.setContent(nextTag.getName());
|
||||||
nextTag = this.readTag();
|
nextTag = this.readTag();
|
||||||
}
|
}
|
||||||
|
if (nextTag == null) {
|
||||||
|
throw new IOException("unterupted mid tag");
|
||||||
|
}
|
||||||
//Log.d(LOGTAG,"reading till the end of "+element.getName());
|
//Log.d(LOGTAG,"reading till the end of "+element.getName());
|
||||||
while(!nextTag.isEnd(element.getName())) {
|
while(!nextTag.isEnd(element.getName())) {
|
||||||
if (!nextTag.isNo()) {
|
if (!nextTag.isNo()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user