Strange Exceptions when deleting and reading contacts

by Samuh » Wed, 08 Sep 2010 19:29:56 GMT


Sponsored Links
 I am getting following exceptions when I try to read/delete contacts
from my application using Contacts Content Provider.
What does the following mean?

ERROR/IMemory(1349): binder=0x490f38 transaction failed
fd=-2147483647, size=0, err=-2147483646 (Unknown error: 2147483646)
ERROR/IMemory(1349): cannot dup fd=-2147483647, size=0,
err=-2147483646 (Bad file number)
ERROR/IMemory(1349): cannot map BpMemoryHeap (binder=0x490f38),
size=0, fd=-1 (Bad file number)
ERROR/JavaBinder(1349): *** Uncaught remote exception!  (Exceptions
are not yet supported across processes.)
ERROR/JavaBinder(1349): java.lang.RuntimeException: No memory in
memObj
ERROR/JavaBinder(1349):     at
android.database.CursorWindow.native_init(Native Method)
ERROR/JavaBinder(1349):     at
android.database.CursorWindow.<init>(CursorWindow.java:518)
ERROR/JavaBinder(1349):     at
android.database.CursorWindow.<init>(CursorWindow.java:27)
ERROR/JavaBinder(1349):     at android.database.CursorWindow
$1.createFromParcel(CursorWindow.java:493)
ERROR/JavaBinder(1349):     at android.database.CursorWindow
$1.createFromParcel(CursorWindow.java:496)
ERROR/JavaBinder(1349):     at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:
96)
ERROR/JavaBinder(1349):     at
android.os.Binder.execTransact(Binder.java:287)
ERROR/JavaBinder(1349):     at dalvik.system.NativeStart.run(Native
Method)

Thanks.

--



Strange Exceptions when deleting and reading contacts

by Arjun » Thu, 09 Sep 2010 08:24:35 GMT


 I guess you cannot delete contacts  either you can read or write
contacts but you cannot delete contacts.
might be the reason for transaction failure exceptions
Thanks,
Arjun.




--


Sponsored Links


Strange Exceptions when deleting and reading contacts

by William Ferguson » Thu, 09 Sep 2010 11:54:35 GMT


 I recall getting something similar when trying to retrieve too big a
dataset.
Ie I was trying to retrieve lots of columns. Reducing them to as small
a set as possible removed the error.

I put it down to some hard allocation llimit in the SqlLite DB that
didn't express it well.





--



Other Threads

1. Problem with Search By Voice on Motorola Milestone

I have just bought a Motorola Milestone (in Italy), and figured out
that Search By Voice is not there. In my Quick Search Box there is no
microphone button on the right and therefore I cannot use this
function. Could anyone explain what the problem could be and how to
solve it. The Android version is 2.0 (for Italy, if it matters). I
tried to find any appropriate update in Android Market but I failed.
It is even more strange since in the Italian manual the Quick Search
Box appears with the microphone button and thus (presumably) supports
search by voice. I've also contacted a Motorola Support service, but
they could not give me any reasonable and convincing answer. Any
ideas? Many thanks in advance...

--

2. How to Add Objects to Sqlite Database

i have a class like
class Mydata{
String name;
int data;
Location[] locarray;
}

List<Mydata> = new ArrayList<Mydata>( );

can anyone tell me how to add the object of Mydata class to Sqlite
Database column

Thanks in advance

-- 

3. how to fetch datas from database like mysql/sqlite

4. How to use do xml c14n in android?

5. Can recognizer use a file for audio input?

6. How to update G1 firmware version to 2.0?

7. Where can I catch a point that is assured to be called when a Service is destroied