Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10313] Android: A NetworkOnMainThreadException lead app to crash when FastDev is enabled

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-23T22:10:43.000+0000
Affected Version/sRelease 3.1.3
Fix Version/s2013 Sprint 22, 2013 Sprint 22 API, Release 3.2.0
ComponentsAndroid
LabelsSupportTeam, fastdev, parity
ReporterVarun Joshi
AssigneeHieu Pham
Created2012-08-03T21:58:12.000+0000
Updated2014-06-19T12:43:12.000+0000

Description

Attachments

FileDateSize
NetworkOnMainThreadException.jpg2013-10-01T22:25:48.000+000041064
NetworkOnMainThreadException.zip2013-10-01T22:30:05.000+00007717552

Comments

  1. Neeraj Gupta 2012-08-04

    We need a test case that can reproduce this issue.
  2. Stephen Feather 2013-01-04

    Hit this in 2.1.4 today. Had to downgrade from 3.0.0GA because of some issues with it. Turned off FASTDEV, app would launch. Turned FASTDEV on, and app launch hangs. Use case? not enough time available to type it up. Posting to support the original submitter so he doesn't think he is crazy or alone. Ticket should not have been flagged as 'resolved'. Status should be deferred, or on hold, but not resolved when no resolution has been made.
  3. Daniel Sefton 2013-04-07

    Hi Stephen, Thanks for the update. I've re-opened the issue. There's a test case at TC-1487. Cheers.
  4. Shyam Bhadauria 2013-04-13

    Tested with the given test case TC 1487. The issue is not reproducible.App is running fine on emulator. Environment details : SDK: 3.1.0.v20130412191547 Studio:3.1.0.201304121929 Android Runtime: V8 Machine OS : MAC 10.8 Device : Android emulator 2.2
  5. Ingo Muschenetz 2013-10-17

    We are deprecating FastDev in version 3.2.0, so marking this as "Won't Fix"
  6. Hieu Pham 2013-10-23

    master PR: https://github.com/appcelerator/titanium_mobile/pull/4835
  7. Lokesh Choudhary 2013-12-18

    Verified the fix with both fastdev enabled & disabled & counld not reproduce. Closing. Environment: Appcel Studio : 3.2.0.201312171913 Ti SDK : 3.2.0.v20131217190633 Mac OSX : 10.8.5 Alloy : 1.3.0-cr2 CLI - 3.2.0-cr3 android emulator 4.3

JSON Source