Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8749] Android: app crashes when logging out

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-04-18T17:27:30.000+0000
Affected Version/sRelease 1.8.2, Release 2.0.1
Fix Version/sRelease 2.0.2, Release 2.1.0, Sprint 2012-08
ComponentsAndroid
LabelsSupportTeam, api, regression
ReporterFederico Casali
AssigneeHieu Pham
Created2012-04-16T17:37:54.000+0000
Updated2012-05-08T18:10:45.000+0000

Description

Problem description

App crashes after logging out from the application.

Steps to reproduce

1. Login and, from the home screen, press the logout button Result: user is logged out but after a few seconds the app crashes with the classic 'Force close' error message. 2. The issue seems to be related to the usage of the activityIndicator.show() and activityIndicator.hide() methods as commenting them the logout works just fine. It is not reproducible on 1.7.6 also including activityIndicator.show/hide Attaching log

Attachments

FileDateSize
logoutCrashLog.txt2012-04-16T17:37:54.000+000018730

Comments

  1. Hieu Pham 2012-04-18

    This crash is caused when attempting to dismiss a dialog whose activity is finishing or already finished. PR pending.
  2. Mauro Parra-Miranda 2012-05-08

    Tested with 2.1CI 2.0.2CI with the client's code. Working fine. Closing as per Alan's request.

JSON Source