jaysh / xposed-whatsapp

Add functional improvements to the mainstream WhatsApp Android application.
MIT License
40 stars 13 forks source link

Contact List #23

Closed ghost closed 9 years ago

ghost commented 9 years ago

Keep contact list in history has stopped working with the latest Whatsapp versions. Kindly have a look

jaysh commented 9 years ago

Hi Arjerine,

Thanks for the report. Which version of WhatsApp are you having difficulty with? I'm running the latest version I can find on their website (http://www.whatsapp.com/android/) which is 2.11.395 and it still works for me.

Please let me know which version is buggy for you and I will investigate.

Thanks, Jay

ghost commented 9 years ago

I'm using the same version. Whenever I click on a contact, it takes me back to the chat list. It works fine when I disable the option. Are you not experiencing the same?

jaysh commented 9 years ago

No - I had one other identical report but they didn't assist me in trying to find the root cause. There seems to be something you two must share that would mean this doesn't work at all for you. Can you turn on debugging mode from the settings email me your Xposed error.log to e+whatsapp@jay.sh or paste it here please?

ghost commented 9 years ago

Oct 13, 2014 11:32:29 PM: Start of finish callback Oct 13, 2014 11:32:29 PM: Ignoring call from com.whatsapp.Main Oct 13, 2014 11:32:30 PM: Start of startActivityForResult callback Oct 13, 2014 11:32:30 PM: Updated intent to contain: com.whatsapp.via.main.conversations.list Oct 13, 2014 11:32:30 PM: End of startActivityForResult callback Oct 13, 2014 11:32:31 PM: Start of setResult callback Oct 13, 2014 11:32:31 PM: Contact is: 9---------48@s.whatsapp.net Oct 13, 2014 11:32:31 PM: End of setResult callback Oct 13, 2014 11:32:31 PM: Start of finish callback Oct 13, 2014 11:32:31 PM: Failed to start activity for the new conversation Oct 13, 2014 11:32:31 PM: End of finish callback Oct 13, 2014 11:32:32 PM: Start of finish callback Oct 13, 2014 11:32:32 PM: Ignoring call from com.whatsapp.Conversations

jaysh commented 9 years ago

Thanks for the log. There's nothing unusual there. Are there any errors surrounding it? (perhaps in adb logcat too).

Also, are all the -'s in 9---------48@s.whatsapp.net numbers, or did they have some other characters in there too? They should all be numbers.

ghost commented 9 years ago

Yea I masked the number.

Will try adb logcat now

ghost commented 9 years ago

Nope adb doesn't catch any error Xposed log says “Failed to start activity for the new conversation” so I guess something's not right?

ghost commented 9 years ago

Not sure if relevant but DDMS logged the following

10-14 19:16:25.666: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: Start of setResult callback 10-14 19:16:25.666: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: Contact is: @s.whatsapp.net 10-14 19:16:25.666: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: End of setResult callback 10-14 19:16:25.676: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: Start of finish callback 10-14 19:16:25.686: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: Failed to start activity for the new conversation 10-14 19:16:25.686: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: End of finish callback 10-14 19:16:25.786: I/Timeline(20720): Timeline: Activity_idle id: android.os.BinderProxy@428b4a18 time:4057700 10-14 19:16:25.826: W/System.err(1047): org.json.JSONException: Value 1234567890 of type java.lang.Integer cannot be converted to JSONObject 10-14 19:16:25.836: W/System.err(1047): at org.json.JSON.typeMismatch(JSON.java:111) 10-14 19:16:25.836: W/System.err(1047): at org.json.JSONObject.(JSONObject.java:159) 10-14 19:16:25.836: W/System.err(1047): at org.json.JSONObject.(JSONObject.java:172) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.L$JSON.p1(L.java:493) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.L$JSON.access$2(L.java:486) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.L.ldiy(L.java:2778) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.L.ulabc(L.java:2241) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.L.ll(L.java:1534) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.L.ul(L.java:2145) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.I.osi(I.java:422) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.I.access$1(I.java:375) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.I$T.osi1(I.java:3424) 10-14 19:16:25.836: W/System.err(1047): at kl.ime.oh.I.onStartInput(I.java:368) 10-14 19:16:25.836: W/System.err(1047): at android.inputmethodservice.InputMethodService.doStartInput(InputMethodService.java:1600) 10-14 19:16:25.836: W/System.err(1047): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method) 10-14 19:16:25.836: W/System.err(1047): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631) 10-14 19:16:25.836: W/System.err(1047): at android.inputmethodservice.InputMethodService.doStartInput(Native Method) 10-14 19:16:25.836: W/System.err(1047): at android.inputmethodservice.InputMethodService$InputMethodImpl.startInput(InputMethodService.java:405) 10-14 19:16:25.836: W/System.err(1047): at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:171) 10-14 19:16:25.836: W/System.err(1047): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:40) 10-14 19:16:25.836: W/System.err(1047): at android.os.Handler.dispatchMessage(Handler.java:102) 10-14 19:16:25.836: W/System.err(1047): at android.os.Looper.loop(Looper.java:136) 10-14 19:16:25.836: W/System.err(1047): at android.app.ActivityThread.main(ActivityThread.java:5153) 10-14 19:16:25.836: W/System.err(1047): at java.lang.reflect.Method.invokeNative(Native Method) 10-14 19:16:25.836: W/System.err(1047): at java.lang.reflect.Method.invoke(Method.java:515) 10-14 19:16:25.836: W/System.err(1047): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796) 10-14 19:16:25.836: W/System.err(1047): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612) 10-14 19:16:25.836: W/System.err(1047): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) 10-14 19:16:25.836: W/System.err(1047): at dalvik.system.NativeStart.main(Native Method) 10-14 19:16:26.046: I/Timeline(628): Timeline: Activity_windows_visible id: ActivityRecord{42fbb2f8 u0 com.whatsapp/.Conversations t61} time:4057957

jaysh commented 9 years ago

That is interesting. This is even worse:

10-14 19:16:25.666: I/Xposed(20720): Oct 14, 2014 7:16:25 PM: Contact is: @s.whatsapp.net

The contact that was pulled doesn't even have an identifier (or did you mask it differently for this one?).

10-14 19:16:25.826: W/System.err(1047): org.json.JSONException: Value 1234567890 of type java.lang.Integer cannot be converted to JSONObject

This seems awfully suspicious. What keyboard are you using? Is it one that has custom features, like Emoji?

ghost commented 9 years ago

Yea nothing wrong there.. I removed the number sorry xD

And yes you're right. I'm using Multiling keyboard which has custom features like emoji

jaysh commented 9 years ago

That's fine :)

Could you try with the stock keyboard to see if that makes any difference? Even if not, can I get the logs for that not working? I'd like to eliminate the custom keyboard if possible.

ghost commented 9 years ago

Hey there. Sorry for the really late reply.. The github app just refused to work and I couldn't access the PC. You may close both the issues as it was my ROMs fault and after a recent update everything works fine. Sorry about that. I really appreciate the time you put in to have a look

jaysh commented 9 years ago

That's okay - thanks for the update! That's good to know, I'll keep this in the back of my mind for further reports.