Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15466] Apps crash after enabling LiveView

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2013-12-05T05:09:53.000+0000
Affected Version/sRelease 3.1.3
Fix Version/s2013 Sprint 25, 2013 Sprint 25 Tooling
ComponentsLiveView
Labelsn/a
ReporterDaniel Fortner
AssigneeChristian Sullivan
Created2013-10-11T23:16:03.000+0000
Updated2015-08-13T10:46:41.000+0000

Description

After on-boarding two separate enterprise customers (SMC Treviso and HD Supply GSC) to AppceleratorStudio and Platform, LiveView does not work. On both occasions, we confirmed the build and ran on emulator. After enabling LiveView, the build fails and will not run. You can instantly fix the issue by disabling LiveView. Here is the log file of the error: [ERROR] : TypeError: 'undefined' is not an object (evaluating 'Alloy.CFG') [ERROR] : File: app.js [ERROR] : Line: 16 [ERROR] : SourceId: 292427296 [ERROR] : Backtrace: [ERROR] : #0 () at :130 [ERROR] : #1 initializeList() at :8 [ERROR] : #2 Controller() at :89 [ERROR] : #3 () at :214 [ERROR] : #4 Controller() at :51 [ERROR] : #5 () at :214 [ERROR] : #6 anonymous() at :22 [ERROR] : #7 () at file:///Users/vamsi.vidala/Library/Application%20Support/iPhone%20Simulator/7.0/Applications/2BCED025-11A5-4C86-8731-1BDE0AE424BB/FRProto.app/app.js:628 [ERROR] : #8 () at file:///Users/vamsi.vidala/Library/Application%20Support/iPhone%20Simulator/7.0/Applications/2BCED025-11A5-4C86-8731-1BDE0AE424BB/FRProto.app/app.js:493 [ERROR] : #9 () at file:///Users/vamsi.vidala/Library/Application%20Support/iPhone%20Simulator/7.0/Applications/2BCED025-11A5-4C86-8731-1BDE0AE424BB/FRProto.app/app.js:460 [ERROR] : #10 () at file:///Users/vamsi.vidala/Library/Application%20Support/iPhone%20Simulator/7.0/Applications/2BCED025-11A5-4C86-8731-1BDE0AE424BB/FRProto.app/app.js:392 [ERROR] : #11 () at file:///Users/vamsi.vidala/Library/Application%20Support/iPhone%20Simulator/7.0/Applications/2BCED025-11A5-4C86-8731-1BDE0AE424BB/FRProto.app/app.js:663 [ERROR] : [LiveView] The operation couldn’t be completed. Socket is not connected

Attachments

FileDateSize
diagnostic log 2.rtf2013-12-05T00:21:33.000+00003970
Screen Shot 2013-12-04 at 4.13.48 PM.png2013-12-05T00:21:33.000+0000554955
Screen Shot 2013-12-04 at 4.13.57 PM.png2013-12-05T00:21:33.000+0000479669
studio log 2.rtf2013-12-05T00:21:33.000+00002395733

Comments

  1. Michael Xia 2013-10-12

    Hi Daniel, Could you attach the console log as well as a screenshot of the app crashing? That would be helpful for us to debug the issue. Thanks.
  2. Daniel Fortner 2013-10-17

    I have obtained a sample log from one of the three customers that was unable to activate this feature, I have added it to the description. But I hope this is enough info for you.
  3. Michael Xia 2013-10-18

    This should be fixed by the commit in TIMOB-15009. It's available in the latest Studio 3.2.0 nightly build.
  4. Daniel Fortner 2013-12-05

    [~CSullivan], [~Mxia] wanted me to give you the "studio log 2", "diagnostic log 2", the project source code, and the screen shots, which are all attached. And the source code is located here: https://www.dropbox.com/s/3cugh7z0zf0jmw8/21stAndroid%202.zip
  5. Christian Sullivan 2013-12-05

    [~mxia] [~dfortner] The problem is caused by the corrupted .DS_Store file. I just deleted it and the app runs fine for me with liveview.
       $ rm -rf 21stAndroid/i18n/.DS_Store
       
    When reviewing the code I found merge conflict notations in the Readme.md so they might want to also review thier code to ensure there are no others. To help avoid some issues they should add .DS_Store and all other system generated none project files to their .gitignore
  6. Christian Sullivan 2013-12-05

    Caused by corrupt .DS_Store possible from merge conflict
  7. Daniel Fortner 2013-12-05

    Thanks Christian. I will confirm this on the client's machine and let you know how it goes.

JSON Source