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 a new issue