Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7529] Android: Titanium.UI.TabGroup: addTab with Label argument crashes app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-02-07T16:45:42.000+0000
Affected Version/sRelease 1.8.0.1, Release 1.8.1
Fix Version/sn/a
ComponentsAndroid
Labelslook1
ReporterDustin Hyde
AssigneeHieu Pham
Created2012-02-02T17:09:11.000+0000
Updated2017-03-22T21:00:53.000+0000

Description

Attachments

FileDateSize
android log.txt2012-02-02T17:09:11.000+00007584

Comments

  1. Ivan Skugor 2012-02-04

    IMHO, "addTab" method should not accept Label as parameter, as it's name says it should accept Tab, so crash should be expected behavior.
  2. Nikolai Derzhak 2012-02-06

    This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.
  3. Josh Roesslein 2012-02-06

    We may want to look into why the Java exception wasn't caught and converted to a JS exception (and error dialog). The application shouldn't be crashing from Java exceptions thrown during a Kroll method call. Also adding proxy type validation (instanceof) in the Kroll layer may be worth looking into. This way the Java method is always called with the correct type and invalid types of objects are caught early while still in the Kroll layer.
  4. Opie Cyrus 2012-02-07

  5. Opie Cyrus 2012-02-07

    marking as wont fix since we are not going to put a fix in for this specific instance
  6. Neeraj Gupta 2012-02-07

    This is an application bug and not a platform issue.
  7. Lee Morris 2017-03-22

    Closing ticket as invalid with reference to the above comments.

JSON Source