[TIMOB-19416] Windows: Classic app throws application error "error while require(/app)" when cloud module 3.2.9 is used
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-27T16:08:27.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | Windows |
Labels | qe-5.0.0, regression |
Reporter | Lokesh Choudhary |
Assignee | Kota Iguchi |
Created | 2015-08-27T00:34:16.000+0000 |
Updated | 2016-03-09T10:34:02.000+0000 |
Description
*Note: This is a regression. This issue is not seen with cloud module 3.2.8.*
Steps To Reproduce:
1. Create a default classic app. 2. Build for windows device/emulator with cloud module 3.2.9. 3. Let the app launch.Actual Results:
1. We get application error:
-- Start application log -----------------------------------------------------
[ERROR] : Application Error: {
[ERROR] : "line": 2,
[ERROR] : "column": 10,
[ERROR] : "message": "Error while require(/app) null is not an object",
[ERROR] : "native_stack": [
[ERROR] : "JSExportClass<class Titanium::GlobalObject>::CallNamedFunction"
[ERROR] : ]
[ERROR] : }
[INFO] : Finished launching the application
[INFO] : Waiting for app to connect to log relay
2. Removing the ACS injected code while creation, we don't see this issue.
3. Might be this caused this issue: https://github.com/appcelerator-modules/ti.cloud/commit/19977e7570cbf50a27a679d3711c026f15d8825f
https://github.com/appcelerator/titanium_mobile_windows/pull/420
Verified using: Windows 8.1 Appc CLI Core: 5.0.0-33 Appc CLI NPM: 4.2.0-1 Titanium SDK: 5.0.0.v20150902095518 Nokia Lumia 930 8.1 When setting securityManager to null the app no longer crashes. Closing ticket
Hi I seem to have the same problem running latest module 2.9.10 ?? If I include some API calls which actually do not call the cloud but just http / https then I get this error, do I need to set the security manager some how ? Thanks