You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Omar Mefire (JIRA)" <ji...@apache.org> on 2016/05/03 17:38:12 UTC
[jira] [Resolved] (CB-11135) cordova-ios build failure: "TypeError:
Cannot read property 'trim' of undefined"
[ https://issues.apache.org/jira/browse/CB-11135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Omar Mefire resolved CB-11135.
------------------------------
Resolution: Fixed
> cordova-ios build failure: "TypeError: Cannot read property 'trim' of undefined"
> --------------------------------------------------------------------------------
>
> Key: CB-11135
> URL: https://issues.apache.org/jira/browse/CB-11135
> Project: Apache Cordova
> Issue Type: Test
> Components: Medic
> Environment: OSX
> Reporter: Omar Mefire
> Assignee: Omar Mefire
> Priority: Minor
> Labels: found-by-ci, ios, triaged
>
> Logs: (https://ci.apache.org/builders/cordova-ios/builds/2375/steps/running-tests/logs/stdio)
> ===
> {noformat}
> MEDIC LOG Thu, 21 Apr 2016 18:00:11 GMT] cordova run --list --emulator | grep ^iPhone | tail -n1
> /Users/buildbot/slaves/apache/cordova-ios/cordova-medic/lib/util.js:102
> var version = split[1].trim();
> ^
> TypeError: Cannot read property 'trim' of undefined
> at Object.getSimId (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/lib/util.js:102:31)
> at MedicIOSPermissions.updatePermissions (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/lib/medicIOSPermissions.js:18:35)
> at iOSSpecificPreparation (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/medic/medic-run.js:263:20)
> at /Users/buildbot/slaves/apache/cordova-ios/cordova-medic/medic/medic-run.js:394:28
> at Request._callback (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/medic/medic-run.js:309:13)
> at Request.self.callback (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/node_modules/request/request.js:368:22)
> at Request.emit (events.js:110:17)
> at Request.<anonymous> (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/node_modules/request/request.js:1219:14)
> at Request.emit (events.js:129:20)
> at IncomingMessage.<anonymous> (/Users/buildbot/slaves/apache/cordova-ios/cordova-medic/node_modules/request/request.js:1167:12)
> program finished with exit code 1
> elapsedTime=2.282192
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org