{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/urho/issues/157","repository_url":"https://api.github.com/repos/xamarin/urho","labels_url":"https://api.github.com/repos/xamarin/urho/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/urho/issues/157/comments","events_url":"https://api.github.com/repos/xamarin/urho/issues/157/events","html_url":"https://github.com/xamarin/urho/issues/157","id":181286045,"number":157,"title":"iOS - System.InvalidOperationException: The application is not configured yet","user":{"login":"manuelcosta74","id":7656557,"avatar_url":"https://avatars.githubusercontent.com/u/7656557?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelcosta74","html_url":"https://github.com/manuelcosta74","followers_url":"https://api.github.com/users/manuelcosta74/followers","following_url":"https://api.github.com/users/manuelcosta74/following{/other_user}","gists_url":"https://api.github.com/users/manuelcosta74/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelcosta74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelcosta74/subscriptions","organizations_url":"https://api.github.com/users/manuelcosta74/orgs","repos_url":"https://api.github.com/users/manuelcosta74/repos","events_url":"https://api.github.com/users/manuelcosta74/events{/privacy}","received_events_url":"https://api.github.com/users/manuelcosta74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-05T22:55:17Z","updated_at":"2016-10-05T23:32:08Z","closed_at":null,"body":"@EgorBo , in iOS, if we put a break point after creating an instance of an application we will always end up with the following crash when Run is called\r\n\r\nSystem.InvalidOperationException: The application is not configured yet\r\n  at Urho.Application.get_Current () [0x00010] in <a6902141f5044aee89324c2daf528fc1>:0 \r\n  at Urho.Application.InvokeOnMain (System.Action action) [0x00000] in <a6902141f5044aee89324c2daf528fc1>:0 \r\n  at Urho.RefCounted.Finalize () [0x00027] in <a6902141f5044aee89324c2daf528fc1>:0 \r\n\r\nThis looks like a RefCounted object being GC collected after an Application instance creation.\r\n \r\nThis is possible to reproduce in FeatureSample\r\n\r\nvar application = Urho.Application.CreateInstance(type, new ApplicationOptions(\"Data\"));\r\n//Put a breakpoint in run\r\napplication.Run();\r\n\r\ncheers\r\nManuel"},"comment":{"url":"https://api.github.com/repos/xamarin/urho/issues/comments/251829262","html_url":"https://github.com/xamarin/urho/issues/157#issuecomment-251829262","issue_url":"https://api.github.com/repos/xamarin/urho/issues/157","id":251829262,"user":{"login":"EgorBo","id":523221,"avatar_url":"https://avatars.githubusercontent.com/u/523221?v=3","gravatar_id":"","url":"https://api.github.com/users/EgorBo","html_url":"https://github.com/EgorBo","followers_url":"https://api.github.com/users/EgorBo/followers","following_url":"https://api.github.com/users/EgorBo/following{/other_user}","gists_url":"https://api.github.com/users/EgorBo/gists{/gist_id}","starred_url":"https://api.github.com/users/EgorBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EgorBo/subscriptions","organizations_url":"https://api.github.com/users/EgorBo/orgs","repos_url":"https://api.github.com/users/EgorBo/repos","events_url":"https://api.github.com/users/EgorBo/events{/privacy}","received_events_url":"https://api.github.com/users/EgorBo/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T23:32:08Z","updated_at":"2016-10-05T23:32:08Z","body":"@manuelcosta74 \r\nnew Context() invokes RegisterObject (so it will be added to a globale cache as a weakref).\r\nusually, AddRef() leads to a native-to-managed callback that will promote an object in the cache to a strong reference."}}
{"actor":{"display_login":"EgorBo"}}