There is a bug in the Android libraries in the w3c DOM Node object, where getNextSibling() will sometimes throw an exception instead of returning null when moving past the last sibling node. This is causing problems in the JaxpParser on some UPnP replies. See this Android bug report:
Attached is a patch that uses the simple workaround in the bug report -- catching the IndexOutOfBounds exception and treating it as if getNextSibling returned null.
Log in to post a comment.