Eclipse +++ LOG: Entry Corrupt Or Truncated

When developing in Eclipse you might run into this error when using logging. In this case Java while developing for Andorid.

“+++ LOG: entry corrupt or truncated”

First thing to test is if you're running

First thing to test is if you’re using a variable that might contain to much data.

Log.e("#", myVar);

Try using a fix string like this:

Log.e("#", "Testing Log");

Second thing to test is if the variable does not contain anything, “” or is null. E.g. you can replicate the problem by setting the second string attribute to nothing.

Log.e("#", "");

In this case it actually tries to print the previous log tag in the logcat. Make sure it’s either not to long or does not contain anything.

 

Posted in Android, ErrorFix Tagged with: , , ,