Parse Exception: At line 1, column 0: no element found

后端 未结 6 1712
半阙折子戏
半阙折子戏 2021-01-06 00:54

I have a weird issue. I receive the following error that causes a force-close:

org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0:

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-06 01:12

    I ran into the same problem and could make no sense of it because I was parsing directly from the InputSource. When I modified the code to pull the result into a string before the xml parse, I found out the problem was simply a mispelled web service method name and that the error message reported by that service was the killer.

提交回复
热议问题