错误:显示java.lang.NullPointerException在机器人机器人、错误、lang、java

由网友(不愿将就)分享简介:[2011-02-18 23点41分十六秒 - DDMS]空[2011-02-18 23:41:16 - ddms]null显示java.lang.NullPointerException java.lang.NullPointerExceptionat com.android.ddmlib.Client....

[2011-02-18 23点41分十六秒 - DDMS]空

[2011-02-18 23:41:16 - ddms]null

显示java.lang.NullPointerException

java.lang.NullPointerException

at com.android.ddmlib.Client.sendAndConsume(Client.java:571)
at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
at com.android.ddmlib.Client.getJdwpPacket(Client.java:670)
at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

什么样的​​错误是this..All XML文件有错误突然像下面。

What kind of error is this..All xml files are having error suddenly like below..

Multiple annotations found at this line:
- Premature end of file.
- error: Error parsing XML: no 
 element found

感谢您,

推荐答案

第一类错误通常意味着有一个在DDMS,并已解雇了仿真器之间的通信有问题。我发现这些错误是一般是无害的。

The first group of errors generally mean that there's a problem in the communication between ddms and the emulator you have fired up. I've found those errors to be generally harmless.

中的XML错误听起来像是你应该重新启动Eclipse(如果你使用的是什么),否则清除项目。得到的东西不同步。 (如果问题仍然存在,张贴的发电错误的XML的例子。)

The XML errors sound like you should restart Eclipse (if that's what you're using), or else clean your project. Something got out of sync. (If the problem persists, post an example of the XML that's generating the errors.)

阅读全文

相关推荐

最新文章