{"action":"closed","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5621","labels_url":"https://api.github.com/repos/appium/appium/issues/5621/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5621/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5621/events","html_url":"https://github.com/appium/appium/issues/5621","id":107168327,"number":5621,"title":"TypeError: Cannot read property 'toLowerCase' of null","user":{"login":"Simon-Kaz","id":4739214,"avatar_url":"https://avatars.githubusercontent.com/u/4739214?v=3","gravatar_id":"","url":"https://api.github.com/users/Simon-Kaz","html_url":"https://github.com/Simon-Kaz","followers_url":"https://api.github.com/users/Simon-Kaz/followers","following_url":"https://api.github.com/users/Simon-Kaz/following{/other_user}","gists_url":"https://api.github.com/users/Simon-Kaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Simon-Kaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simon-Kaz/subscriptions","organizations_url":"https://api.github.com/users/Simon-Kaz/orgs","repos_url":"https://api.github.com/users/Simon-Kaz/repos","events_url":"https://api.github.com/users/Simon-Kaz/events{/privacy}","received_events_url":"https://api.github.com/users/Simon-Kaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/1.5-beta","name":"1.5-beta","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/appium/appium/milestones/20","html_url":"https://github.com/appium/appium/milestones/Appium%201.5","labels_url":"https://api.github.com/repos/appium/appium/milestones/20/labels","id":1077728,"number":20,"title":"Appium 1.5","description":"","creator":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":3,"state":"open","created_at":"2015-04-21T19:22:07Z","updated_at":"2015-09-18T21:05:21Z","due_on":"2016-05-31T07:00:00Z","closed_at":null},"comments":0,"created_at":"2015-09-18T09:36:22Z","updated_at":"2015-09-18T21:05:21Z","closed_at":"2015-09-18T21:05:21Z","body":"Following error pops up when creating a new session.  I'm on node v0.12.2 and using the latest beta v1.5.0-beta4\r\n\r\nI'm on slack if you need more information, it's currently blocking me from trying out the beta :(\r\n\r\n\r\n``` \r\ninfo: [HTTP] --> POST /wd/hub/session {\"desiredCapabilities\":{\"app\":\"test.app\",\"sendKeyStrategy\":\"setValue\",\"newCommandTimeout\":180,\"platformVersion\":\"9.0\",\"bundleId\":\"com.test.test\",\"platformName\":\"iOS\",\"udid\":\"hereGoesMyUdidNumber\",\"deviceName\":\"iPhone 6 Plus\",\"fullReset\":true,\"autoAcceptAlerts\":true}}\r\ninfo: [MJSONWP] Calling AppiumDriver.createSession() with args: [{\"app\":\"test.app\",\"sendKeyStrategy\":\"setValue\",\"newCommandTimeout\":180,\"platformV...\r\ninfo: [Appium] Creating new IosDriver session\r\ninfo: [BaseDriver] Session created with session id: fc0fc482-bb64-4032-9596-60998f7ffafd\r\nerror: [MJSONWP] Encountered internal error running command: TypeError: Cannot read property 'toLowerCase' of null\r\n    at Object.prepareIosOpts (lib/utils.js:39:23)\r\n    at IosDriver.createSession$ (lib/driver.js:105:11)\r\n    at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n    at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n    at run (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:89:39)\r\n    at /usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:100:28\r\n    at flush (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:17:13)\r\n    at process._tickCallback (node.js:355:11)\r\ninfo: [HTTP] <-- POST /wd/hub/session 500 10.963 ms - 179\r\n\r\n````"}}