Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADT get BufferOverflowException in DDMS

I'm using Eclipse Juno with ADT to develop android applications and eclipse is showing the following error every minute:

[2013-04-03 17:59:46 - ddms] null
java.nio.BufferOverflowException
    at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:182)
    at com.android.ddmlib.JdwpPacket.movePacket(JdwpPacket.java:235)
    at com.android.ddmlib.Debugger.sendAndConsume(Debugger.java:347)
    at com.android.ddmlib.Client.forwardPacketToDebugger(Client.java:628)
    at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:344)
    at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

When this message pops, eclipse open a terminal and it overlaps my available code edit area.

How to fix it? Stop eclipse to show this message is also useful.

like image 948
Plinio.Santos Avatar asked Apr 03 '13 21:04

Plinio.Santos


1 Answers

Does not really help without any code, but it could be related to exceeding the limits set on some kind of loop or data structure. I think you can use ctrl-x or ctrl-c to stop certain processes in eclipse. You can also make a setting in preferences to have the errors piped into a log file.

like image 84
Carl Carlson Avatar answered Oct 20 '22 14:10

Carl Carlson