Hi,

I have a problem with my application. Sometimes, it closes after about
seven hours run because of an exception. I can really not figure out
why this exception is thrown, and I cannot have the device connected
to my computer for debugging in seven hours. However, I've used the
Thread.setDefaultUncaughtExceptionHandler() method to catch the
exception. When the exception is catched, the application writes a log
file to the SD-card with info about this.
The strange thing about this is, that the application calls this
method every single minute, but an exception is only thrown after
about seven hours. Do anyone have an idea about this, or are there any
tool I can use to discover what is wrong?

I have written this log file (method name - class name - line
number)  :

Error receiving broadcast Intent
{ action=android.intent.action.TIME_TICK flags=0x40000004 (has
extras) } in org.kaloersoftware.kaloerclock.nightcloc...@435b39c0

------------

run-android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args -
675
handleCallback-android.os.Handler - 587
dispatchMessage-android.os.Handler - 92
loop-android.os.Looper - 123
main-android.app.ActivityThread - 3948
invokeNative-java.lang.reflect.Method - -2
invoke-java.lang.reflect.Method - 521
run-com.android.internal.os.ZygoteInit$MethodAndArgsCaller - 782
main-com.android.internal.os.ZygoteInit - 540
main-dalvik.system.NativeStart - -2

----------------

Cause

---------------

checkSMS-org.kaloersoftware.kaloerclock.NightClock - 395
updateSmsIcon-org.kaloersoftware.kaloerclock.NightClock - 635
access$6-org.kaloersoftware.kaloerclock.NightClock - 633
onReceive-org.kaloersoftware.kaloerclock.NightClock$6 - 314
run-android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args -
664
handleCallback-android.os.Handler - 587
dispatchMessage-android.os.Handler - 92
loop-android.os.Looper - 123
main-android.app.ActivityThread - 3948
invokeNative-java.lang.reflect.Method - -2
invoke-java.lang.reflect.Method - 521
run-com.android.internal.os.ZygoteInit$MethodAndArgsCaller - 782
main-com.android.internal.os.ZygoteInit - 540
main-dalvik.system.NativeStart - -2


Thank you very much!

//Kaloer

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to