简体   繁体   中英

java io exception Broken Pipe

I am writing an Android application in Eclipse and have had some issues between git(SourceCode) and eclipse. After resolving one such issue which is essentially that every time i pull from git eclipse loses the libraries, this error began to occur. It still lets me run all of the android applications without crashing but it makes debugging my applications almost impossible as it is constantly popping up this text (about every 2-3 seconds while running an app). I do not know what other information would be helpful to provide. I read another thread about this possibly resulting from infinite recursion but since the applications are running perfectly I don't think that it is an issue I am equipped to fix.

Below is the output from the console:

[2013-05-22 15:32:19 - ddmlib] Broken pipe
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
at sun.nio.ch.IOUtil.write(IOUtil.java:40)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:336)
at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
at com.android.ddmlib.Client.sendAndConsume(Client.java:607)
at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)
at com.android.ddmlib.Client.requestAllocationStatus(Client.java:453)
at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:835)
at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:803)
at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:763)
at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:652)
at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)
at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:580)

使用adb kill-server命令可以为我解决问题。

从github重新启动,重新制作和重新组合后,错误最终消失了……可以肯定的是,这是一个日食问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM