eclipse - Android Crash - how to debug this? -


i'm getting intermittent crashes in android app running on physical device. app has several screens buttons , listview. has 2 threads - main ui thread , worker thread receives information on wifi. worker thread never directly touches ui components. when gets information on wifi uses runonuithread call routine writes arraylist read ui.

in past when got crash in stack trace in debug tab of debug perspective , find of own code , clue bug was, stack dump has nothing of mine - it's internal. furthermore, says "runtime exception", not exception . . .

thread [<1> main] (suspended (exception runtimeexception))
activitythread.performstopactivityinner(activitythread$activityclientrecord, activitythread$stopinfo, boolean) line: 2434
activitythread.handlestopactivity(ibinder, boolean, int) line: 2479 activitythread.access$1800(activitythread, ibinder, boolean, int) line: 117 binderproxy(activitythread$h).handlemessage(message) line: 952 activitythread$h(handler).dispatchmessage(message) line: 99 looper.loop() line: 130 activitythread.main(string[]) line: 3687
method.invokenative(object, object[], class, class[], class, int, boolean) line: not available [native method] method.invoke(object, object...) line: 507 zygoteinit$methodandargscaller.run() line: 842
zygoteinit.main(string[]) line: 600 nativestart.main(string[]) line: not available [native method]

thread [<8> binder thread #2] (running)

thread [<7> binder thread #1] (running)

thread [<9>> thread-10] (running)

thread [<10> binder thread #3] (running)

another factor: crash happens sporadically, , there's no specific sequence reproduce - has doing - pressing button or receiving data - won't crash sitting on table doing nothing - it's not same thing reproduce it.

how figure out i'm going wrong?

this line gives me hunch:

method.invokenative(object, object[], class, class[], class, int, boolean) line: not available

the fact it's coming out of native api suggests may api version problem. check problems view (if you're using eclipse) , grep code @suppresslint annotations , make sure you're not ignoring or suppressing "new api" or "inlined api" compiler warnings.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -