{"action":"closed","issue":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3446","repository_url":"https://api.github.com/repos/xamarin/xamarin-macios","labels_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3446/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3446/comments","events_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/3446/events","html_url":"https://github.com/xamarin/xamarin-macios/issues/3446","id":295885471,"number":3446,"title":"mlaunch may try to connect to devices over wifi even for devices where wireless debugging is disabled","user":{"login":"rolfbjarne","id":249268,"avatar_url":"https://avatars0.githubusercontent.com/u/249268?v=4","gravatar_id":"","url":"https://api.github.com/users/rolfbjarne","html_url":"https://github.com/rolfbjarne","followers_url":"https://api.github.com/users/rolfbjarne/followers","following_url":"https://api.github.com/users/rolfbjarne/following{/other_user}","gists_url":"https://api.github.com/users/rolfbjarne/gists{/gist_id}","starred_url":"https://api.github.com/users/rolfbjarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolfbjarne/subscriptions","organizations_url":"https://api.github.com/users/rolfbjarne/orgs","repos_url":"https://api.github.com/users/rolfbjarne/repos","events_url":"https://api.github.com/users/rolfbjarne/events{/privacy}","received_events_url":"https://api.github.com/users/rolfbjarne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/milestones/10","html_url":"https://github.com/xamarin/xamarin-macios/milestone/10","labels_url":"https://api.github.com/repos/xamarin/xamarin-macios/milestones/10/labels","id":3022193,"number":10,"title":"d15-7","description":"","creator":{"login":"rolfbjarne","id":249268,"avatar_url":"https://avatars0.githubusercontent.com/u/249268?v=4","gravatar_id":"","url":"https://api.github.com/users/rolfbjarne","html_url":"https://github.com/rolfbjarne","followers_url":"https://api.github.com/users/rolfbjarne/followers","following_url":"https://api.github.com/users/rolfbjarne/following{/other_user}","gists_url":"https://api.github.com/users/rolfbjarne/gists{/gist_id}","starred_url":"https://api.github.com/users/rolfbjarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolfbjarne/subscriptions","organizations_url":"https://api.github.com/users/rolfbjarne/orgs","repos_url":"https://api.github.com/users/rolfbjarne/repos","events_url":"https://api.github.com/users/rolfbjarne/events{/privacy}","received_events_url":"https://api.github.com/users/rolfbjarne/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":3,"state":"open","created_at":"2018-01-09T08:44:27Z","updated_at":"2018-02-14T22:02:13Z","due_on":"2018-02-15T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-02-09T14:18:06Z","updated_at":"2018-02-14T22:02:13Z","closed_at":"2018-02-14T22:02:13Z","author_association":"MEMBER","body":"### Steps to Reproduce\r\n\r\n1. Try to launch an app on a device with iOS 11+ or tvOS 11+ where wireless debugging is _not_ enabled.\r\n2. This may happen:\r\n\r\n        warning MT1043: Failed to launch the application using the instruments service. Will try launching the app using gdb service.\r\n        --- inner exception\r\n        error HE0032: Could not mount developer tools on 'iPadAir': Object reference not set to an instance of an object\r\n        ---\r\n        --- inner exception\r\n        System.NullReferenceException: Object reference not set to an instance of an object\r\n          at Xamarin.Hosting.RealDevice.ConnectToken () [0x0008a] in /work/maccore/master/maciostools/Xamarin.Hosting/Xamarin.Hosting/RealDevice.cs:100\r\n          at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2879\r\n          at System.Threading.Tasks.Task.Execute () [0x00010] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502\r\n        --- End of stack trace from previous location where exception was thrown ---\r\n          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152\r\n          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187\r\n          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156\r\n          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128\r\n          at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /work/maccore/master/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113\r\n          at Xamarin.Hosting.RealDevice+<MountDeveloperDiskImageAsync>d__125.MoveNext () [0x00054] in /work/maccore/master/maciostools/Xamarin.Hosting/Xamarin.Hosting/RealDevice.cs:623\r\n        ---\r\n        Launching 'com.xamarin.monotouch-test' on the device 'iPadAir'\r\n        error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com\r\n        error HE0032: Could not mount developer tools on 'iPadAir': Object reference not set to an instance of an object\r\n\r\nThis is a random issue, sometimes it works, sometimes it doesn't (in my experience it depends on the device: on one device it happens 100% of the time, on others never).\r\n\r\nWorkaround 1: enable wireless debugging on the device.\r\nWorkaround 2: cross your fingers and try again.\r\n"}}
{"actor":{"display_login":"rolfbjarne"}}