Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1295] Windows: App crashes when calling fetch() method on a collection bound to a view

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-11-20T18:34:35.000+0000
Affected Version/sAlloy 1.7.1
Fix Version/sRelease 5.1.0
ComponentsModels
Labelsn/a
ReporterBenjamin Hatfield
AssigneeFeon Sua Xin Miao
Created2015-07-30T21:46:04.000+0000
Updated2015-11-20T18:35:12.000+0000

Description

REPRODUCTION: Create a new Alloy project and overwrite the files with the versions from the attachment. Run the project in the Windows emulator. RESULTS: The app crashes with the following error:
[INFO]  Installing and launching the application
[INFO]  Project built successfully in 20s 802ms

[INFO]  Connected to app
-- Start application log -----------------------------------------------------
[INFO]  Disconnected from app
-- End application log -------------------------------------------------------

[ERROR] The remote procedure call failed.
[ERROR] Error: The remote procedure call failed.
    at ChildProcess.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\5.1.0.v20151026164636\node_modules\windowslib\lib\emulator.js:287:15)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1008:16)
    at ChildProcess._handle.onexit (child_process.js:1080:5)
OTHER INFO: Comment out the Alloy.Collections.book.fetch() method in the app/controllers/index.js file and the application runs fine.

Attachments

FileDateSize
app.zip2015-07-30T21:45:47.000+00005919535

Comments

  1. Feon Sua Xin Miao 2015-11-20

    This should be resolved by TIMOB-19820.

JSON Source