Bug #207
Deconnection ... reconnection automatique
Added by Vincent Véronis about 15 years ago. Updated about 15 years ago.
100%
Description
Changer de status -> Deconnecter.
On se deconnecte bien mais derriere on lance l'activite Login qui se reconnecte automatiquement. Si on veut se deconnecter c'est pour stopper Beem... need solution =)
Updated by Vincent Véronis about 15 years ago
- Estimated time changed from 1.00 h to 3.00 h
Lors de la reconnection automatique. Si on fait la "fleche retour" pour annuler la connection automatique. Celle ci s'arrete bien en revanche lorsqu'on refait un coup de retour. On se retrouve sur la contact list, il y a segfault quand on refait un retour sur la contactlist...
10-22 14:41:14.223: ERROR/AndroidRuntime(747): Uncaught handler: thread Thread-34 exiting due to uncaught exception
10-22 14:41:14.323: ERROR/AndroidRuntime(747): java.lang.IllegalArgumentException: Service not registered: com.beem.project.beem.ui.Login$BeemServiceConnection@437ba150
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at android.app.ActivityThread$PackageInfo.forgetServiceDispatcher(ActivityThread.java:880)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at android.app.ApplicationContext.unbindService(ApplicationContext.java:865)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at android.content.ContextWrapper.unbindService(ContextWrapper.java:324)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at com.beem.project.beem.ui.Login$BeemConnectionListener.connectionFailed(Login.java:185)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at com.beem.project.beem.service.XmppConnectionAdapter$ConnexionListenerAdapter.connectionFailed(XmppConnectionAdapter.java:310)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at com.beem.project.beem.service.XmppConnectionAdapter.connectSync(XmppConnectionAdapter.java:153)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at com.beem.project.beem.service.XmppConnectionAdapter$1.run(XmppConnectionAdapter.java:116)
10-22 14:41:14.323: ERROR/AndroidRuntime(747): at java.lang.Thread.run(Thread.java:1060)
Jai eu un segfault aussi lors de la connection automatique ou j'ai annule la connection....
10-22 14:42:55.383: ERROR/AndroidRuntime(808): java.lang.IllegalArgumentException: Comparison method violates its general contract!
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.mergeHi(TimSort.java:864)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.mergeAt(TimSort.java:481)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.mergeCollapse(TimSort.java:404)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.sort(TimSort.java:210)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.sort(TimSort.java:169)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.Arrays.sort(Arrays.java:2489)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.Collections.sort(Collections.java:1940)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.beem.project.beem.ui.ContactList.sortBeemContactList(ContactList.java:313)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.beem.project.beem.ui.ContactList.access$4(ContactList.java:312)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.beem.project.beem.ui.ContactList$BeemRosterListener$RunnableChange.run(ContactList.java:343)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.os.Handler.handleCallback(Handler.java:587)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.os.Handler.dispatchMessage(Handler.java:92)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.os.Looper.loop(Looper.java:123)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.app.ActivityThread.main(ActivityThread.java:4203)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.lang.reflect.Method.invokeNative(Native Method)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.lang.reflect.Method.invoke(Method.java:521)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at dalvik.system.NativeStart.main(Native Method)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): java.lang.IllegalArgumentException: Comparison method violates its general contract!
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.mergeHi(TimSort.java:864)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.mergeAt(TimSort.java:481)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.mergeCollapse(TimSort.java:404)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.sort(TimSort.java:210)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.TimSort.sort(TimSort.java:169)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.Arrays.sort(Arrays.java:2489)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.util.Collections.sort(Collections.java:1940)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.beem.project.beem.ui.ContactList.sortBeemContactList(ContactList.java:313)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.beem.project.beem.ui.ContactList.access$4(ContactList.java:312)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.beem.project.beem.ui.ContactList$BeemRosterListener$RunnableChange.run(ContactList.java:343)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.os.Handler.handleCallback(Handler.java:587)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.os.Handler.dispatchMessage(Handler.java:92)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.os.Looper.loop(Looper.java:123)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at android.app.ActivityThread.main(ActivityThread.java:4203)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.lang.reflect.Method.invokeNative(Native Method)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at java.lang.reflect.Method.invoke(Method.java:521)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
10-22 14:42:55.383: ERROR/AndroidRuntime(808): at dalvik.system.NativeStart.main(Native Method)
Pas mal de probleme a se niveau la ...
Updated by Frédéric Barthéléry about 15 years ago
Quand on appuie sur la fleche de retour on ne fait que fermer la fenetre de progression. il me semble qu'il n'y a rien qui annule la connexion.
Je pense qu'il vaut mieux s'attarder sur le truc qui a ete changer et qui fait une reconnection automatique alors qu'avant non.
Updated by Frédéric Barthéléry about 15 years ago
- Status changed from New to Assigned
- Assignee set to Frédéric Barthéléry
Je m'en charge on va gerer ca bien
Updated by Frédéric Barthéléry about 15 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r472.