Someone testing an Android app submitted a stack trace to us that looks like this:
Thread [<21> Thread-31] (Suspended (exception SQLiteException))
FooClass.bar(Foo2Class) line: 198
The line of code it points to is not related to SQLite (it's not an Android class, it's my code). If you want to know, the line of code it points to looks like this:
if (s_arrayList.contains(foo2))
so the only exception I could imagine happening here is a NullPointer... definitely not a SQLite exception.
My main question is: What does the "Suspended (exception X)" really mean? If the exception happened on a different thread, why is Android reporting this stack trace?
Update:
I think this issue has to do with Eclipse, which suspended the thread when it detected an exception. This still leaves the question unanswered for me, which is why Eclipse suspded the thread at precisely this place. I found a related question, which discusses this quirk of Eclipse. You can read more about it here:
Eclipse Android Debugger - Where in my code did I cause the exception?