[AC-1068] The CLI plist file failed to allow a valid compile
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2015-02-03T15:21:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI, Studio, Titanium SDK & CLI |
Labels | TCSupportTriage |
Reporter | Trevor Ward |
Assignee | Mauro Parra-Miranda |
Created | 2014-09-05T15:34:34.000+0000 |
Updated | 2016-03-08T07:37:25.000+0000 |
Description
in the
Library/Application Support/Titanium/mobilesdk/osx/3.3.0.GA/node_modules/node-appc/lib/plist.js
file there is a piece of code at line 127..
if (next.tagName == 'key') {
obj[key] = null;
node = next;
continue;
}
Our application fell over with a null exception.
Changed the code to
if (next && next.tagName == 'key') {
obj[key] = null;
node = next;
continue;
}
and all is working again.
This is only an issue in 3.3.0 SDK
Further info. We have identified the issue and it is to do with the tiapp.xml file, which has this code at the end.
OK have now gone through git, this code was inserted by enabling the Sensa automated testing. 1 line of code was removed below the last key at some point which was causing the issue.
[~thewarpedcoder]: From your last comment, is this still an issue? Best Regards!