[guardian-dev] Bugs

Roy Teeuwen roy at teeuwen.be
Wed Jul 4 08:36:03 EDT 2012


This is the error I logged for the second problem:

I/ActivityManager( 1740): Starting: Intent { 
act=android.intent.action.INSERT_OR
_EDIT 
dat=content://info.guardianproject.otr.app.im.provider.Imps/providers/1 fl
g=0x10000000 cmp=info.guardianproject.otr.app.im/.app.AccountActivity } 
from pid
  3529
D/AndroidRuntime( 3529): Shutting down VM
W/dalvikvm( 3529): threadid=1: thread exiting with uncaught exception 
(group=0x4
001d578)
E/AndroidRuntime( 3529): FATAL EXCEPTION: main
E/AndroidRuntime( 3529): java.lang.RuntimeException: Unable to start 
activity Co
mponentInfo{info.guardianproject.otr.app.im/info.guardianproject.otr.app.im.app.
AccountActivity}: java.lang.NullPointerException
E/AndroidRuntime( 3529):        at 
android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1659)
E/AndroidRuntime( 3529):        at 
android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:1675)
E/AndroidRuntime( 3529):        at 
android.app.ActivityThread.access$1500(Activi
tyThread.java:121)
E/AndroidRuntime( 3529):        at 
android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:943)
E/AndroidRuntime( 3529):        at 
android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3529):        at android.os.Looper.loop(Looper.java:138)
E/AndroidRuntime( 3529):        at 
android.app.ActivityThread.main(ActivityThrea
d.java:3701)
E/AndroidRuntime( 3529):        at 
java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3529):        at 
java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime( 3529):        at 
com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:878)
E/AndroidRuntime( 3529):        at 
com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:636)
E/AndroidRuntime( 3529):        at dalvik.system.NativeStart.main(Native 
Method)

E/AndroidRuntime( 3529): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 3529):        at 
info.guardianproject.otr.app.im.app.AccountAc
tivity.onCreate(AccountActivity.java:178)
E/AndroidRuntime( 3529):        at 
android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 3529):        at 
android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1623)
E/AndroidRuntime( 3529):        ... 11 more
W/ActivityManager( 1740):   Force finishing activity 
info.guardianproject.otr.ap
p.im/.app.AccountActivity

Op 2/07/2012 18:28, Miron (devrandom) schreef:
> The log is kept for awhile, depending on how many other things are happening on the phone.  Somewhere between 1 and 6 hours.  So you can do the adb thing later.  Another, easier way, is to install alogcat.  alogcat can save a snapshot of your log file anytime, so you can just launch it and do Menu => Save after you notice the issue.  Then you can copy the log file from your alogcat directory on your sdcard.
>
> You do have to run the `adb shell setprop` command.  You can either run it from the PC, assuming you have adb installed and the debug mode on your phone.  You can also run just the setprop part in an Android terminal emulator, but getting all the typing right (upper/lowercase matters) can be tricky.
>
> Hope this helps.
>
> ----- Original Message -----
>> From: "Roy Teeuwen" <roy at teeuwen.be>
>> Cc: guardian-dev at lists.mayfirst.org
>> Sent: Sunday, 1 July, 2012 6:55:18 PM
>> Subject: Re: [guardian-dev] Bugs
>> How do i do this? I connect the phone to the pc and do it on there and
>> keep it connected until it occurs? or where do i type this adb
>>
>> Op 29/06/2012 4:37, Miron schreef:
>>
>>
>> On 27/06/12 10:43, Roy Teeuwen wrote:
>>
>>
>> Is there any fix coming for this? Is there a way to make sure the
>> message got through?
>>
>>
>> A couple of notes about delivery receipts and about logging/debugging.
>>
>> There's an implementation of XEP-0184 - delivery receipts in the
>> latest version on the Store (I assume you are on that version). If you
>> talk to another Gibberbot of recent version, you should see an icon in
>> the top-right that looks like an envelope with a checkmark. This
>> signals that delivery receipts are active. If a message doesn't go
>> through within 10 seconds, an envelope with a red X will appear by the
>> message. Let me know if you are not seeing these.
>>
>> I wasn't able to replicate the missing message issue on my phones.
>>
>> You can turn on debug logging with:
>>
>> adb shell setprop log.tag.GB.XmppConnection DEBUG
>>
>> and watch the log:
>>
>> adb logcat
>>
>> It will log "D/GB.XmppConnection( 6414): 1 : receive message" when a
>> message is received on the wire. It would be good to know if these
>> messages are received but not displayed, or if they are not
>> received/sent at all.
>>
>> Lastly, it would be good to know if this is OTR related - does it ever
>> happen with OTR off?
>> --
>> Miron http://hyper.to/blog/
>>
>>
>> _______________________________________________
>> Guardian-dev mailing list
>>
>> Post: Guardian-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>
>> To Unsubscribe
>> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
>> Or visit:
>> https://lists.mayfirst.org/mailman/options/guardian-dev/c1.android%40niftybox.net
>>
>> You are subscribed as: c1.android at niftybox.net




More information about the Guardian-dev mailing list