{"action":"created","issue":{"url":"https://api.github.com/repos/FokkeZB/UTiL/issues/42","repository_url":"https://api.github.com/repos/FokkeZB/UTiL","labels_url":"https://api.github.com/repos/FokkeZB/UTiL/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/FokkeZB/UTiL/issues/42/comments","events_url":"https://api.github.com/repos/FokkeZB/UTiL/issues/42/events","html_url":"https://github.com/FokkeZB/UTiL/issues/42","id":104295338,"number":42,"title":"*** -[NSURL initFileURLWithPath:]: nil string parameter","user":{"login":"fabdrol","id":123201,"avatar_url":"https://avatars.githubusercontent.com/u/123201?v=3","gravatar_id":"","url":"https://api.github.com/users/fabdrol","html_url":"https://github.com/fabdrol","followers_url":"https://api.github.com/users/fabdrol/followers","following_url":"https://api.github.com/users/fabdrol/following{/other_user}","gists_url":"https://api.github.com/users/fabdrol/gists{/gist_id}","starred_url":"https://api.github.com/users/fabdrol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabdrol/subscriptions","organizations_url":"https://api.github.com/users/fabdrol/orgs","repos_url":"https://api.github.com/users/fabdrol/repos","events_url":"https://api.github.com/users/fabdrol/events{/privacy}","received_events_url":"https://api.github.com/users/fabdrol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-09-01T15:45:41Z","updated_at":"2016-06-30T13:44:49Z","closed_at":null,"body":"I'm using the UI module in order to use `backgroundSize`. I'm getting a strange error though. Here's my alloy code and the error.\r\n\r\n`<View module=\"ui\" class=\"avatar-wrapper\" backgroundSize=\"cover\" width=\"96\" height=\"96\" backgroundImage=\"images/no-user.png\"></View>`\r\nI tried a `/` before `images` as well..\r\n\r\n```\r\n[ERROR] [iphone, 8.4, 192.168.1.6] {\r\n  \"message\": \"*** -[NSURL initFileURLWithPath:]: nil string parameter\",\r\n  \"line\": 38,\r\n  \"column\": 70,\r\n  \"stack\": \"_resizeBackgroundImage\\n_setBackgroundImage\\ncreateView\\nController\\ncreateController\\n\\nemit\\ndispatch\\nsetState\\n\\n\\nonload\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/FokkeZB/UTiL/issues/comments/229662280","html_url":"https://github.com/FokkeZB/UTiL/issues/42#issuecomment-229662280","issue_url":"https://api.github.com/repos/FokkeZB/UTiL/issues/42","id":229662280,"user":{"login":"botmaster","id":488208,"avatar_url":"https://avatars.githubusercontent.com/u/488208?v=3","gravatar_id":"","url":"https://api.github.com/users/botmaster","html_url":"https://github.com/botmaster","followers_url":"https://api.github.com/users/botmaster/followers","following_url":"https://api.github.com/users/botmaster/following{/other_user}","gists_url":"https://api.github.com/users/botmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/botmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botmaster/subscriptions","organizations_url":"https://api.github.com/users/botmaster/orgs","repos_url":"https://api.github.com/users/botmaster/repos","events_url":"https://api.github.com/users/botmaster/events{/privacy}","received_events_url":"https://api.github.com/users/botmaster/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T13:44:49Z","updated_at":"2016-06-30T13:44:49Z","body":"Ok I found a solution.\r\nTry to change the line 177 : `originalFile = Ti.Filesystem.getFile(originalPath);`\r\nTo : `originalFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, originalPath);`"}}
{"actor":{"display_login":"botmaster"}}