{"action":"opened","issue":{"url":"https://api.github.com/repos/aperritano/BeaconTerminal/issues/6","repository_url":"https://api.github.com/repos/aperritano/BeaconTerminal","labels_url":"https://api.github.com/repos/aperritano/BeaconTerminal/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/aperritano/BeaconTerminal/issues/6/comments","events_url":"https://api.github.com/repos/aperritano/BeaconTerminal/issues/6/events","html_url":"https://github.com/aperritano/BeaconTerminal/issues/6","id":185740760,"number":6,"title":"Fix NSInternalInconsistencyException in - [MQTTSession(Synchron) subscribeAndWaitToTopic:atLevel:timeout:], line 92","user":{"login":"aperritano","id":219031,"avatar_url":"https://avatars.githubusercontent.com/u/219031?v=3","gravatar_id":"","url":"https://api.github.com/users/aperritano","html_url":"https://github.com/aperritano","followers_url":"https://api.github.com/users/aperritano/followers","following_url":"https://api.github.com/users/aperritano/following{/other_user}","gists_url":"https://api.github.com/users/aperritano/gists{/gist_id}","starred_url":"https://api.github.com/users/aperritano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aperritano/subscriptions","organizations_url":"https://api.github.com/users/aperritano/orgs","repos_url":"https://api.github.com/users/aperritano/repos","events_url":"https://api.github.com/users/aperritano/events{/privacy}","received_events_url":"https://api.github.com/users/aperritano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T18:07:57Z","updated_at":"2016-10-27T18:07:57Z","closed_at":null,"body":"### Version: 2.27.0 (5.0) | ltg.evl.uic.edu.BeaconTerminal ###\n\n\n### Stacktrace ###\n\n<pre>MQTTSession(Synchron);subscribeAndWaitToTopic:atLevel:timeout:;MQTTSessionSynchron.m;92\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;124\n-;Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;0\n-;Nutella.NutellaNet.asyncRequest (Swift.String, message : Swift.AnyObject, requestName : Swift.String?) -> ();NutellaNet.swift;240\n-;function signature specialization <Arg[0] = Owned To Guaranteed> of BeaconTerminal.RealmDataController.(exportSpeciesObservation (speciesObservation : BeaconTerminal.SpeciesObservation) -> ()).(closure #1);RealmDataController.swift;1236\n-;partial apply forwarder for BeaconTerminal.RealmDataController.(exportSpeciesObservation (speciesObservation : BeaconTerminal.SpeciesObservation) -> ()).(closure #1);RealmDataController.swift;0\nMQTTSession(Synchron);subscribeAndWaitToTopic:atLevel:timeout:;MQTTSessionSynchron.m;92\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;124\n-;Nutella.SimpleMQTTClient.reconnect () -> ();SimpleMQTTClient.swift;0\n-;@objc Nutella.SimpleMQTTClient.reconnect (__ObjC.Timer) -> ();SimpleMQTTClient.swift;312\nMQTTSession(Synchron);subscribeAndWaitToTopic:atLevel:timeout:;MQTTSessionSynchron.m;92\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;124\n-;Nutella.SimpleMQTTClient.reconnect () -> ();SimpleMQTTClient.swift;0\n-;@objc Nutella.SimpleMQTTClient.reconnect (__ObjC.Timer) -> ();SimpleMQTTClient.swift;312\nMQTTSession(Synchron);subscribeAndWaitToTopic:atLevel:timeout:;MQTTSessionSynchron.m;92\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;124\n-;Nutella.SimpleMQTTClient.reconnect () -> ();SimpleMQTTClient.swift;0\n-;@objc Nutella.SimpleMQTTClient.reconnect (__ObjC.Timer) -> ();SimpleMQTTClient.swift;312\nMQTTSession(Synchron);subscribeAndWaitToTopic:atLevel:timeout:;MQTTSessionSynchron.m;92\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;124\n-;Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;0\n-;Nutella.NutellaNet.subscribe (Swift.String) -> ();NutellaNet.swift;90\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of BeaconTerminal.AppDelegate.setupConnection (withSectionName : Swift.String) -> ();AppDelegate.swift;777\n-;BeaconTerminal.AppDelegate.resetConnection () -> ();AppDelegate.swift;0\n-;@objc BeaconTerminal.AppDelegate.applicationDidBecomeActive (__ObjC.UIApplication) -> ();AppDelegate.swift;970\nMQTTSession(Synchron);subscribeAndWaitToTopic:atLevel:timeout:;MQTTSessionSynchron.m;92\n-;function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Nutella.SimpleMQTTClient.subscribe (Swift.String) -> ();SimpleMQTTClient.swift;124\n-;Nutella.SimpleMQTTClient.reconnect () -> ();SimpleMQTTClient.swift;0\n-;@objc Nutella.SimpleMQTTClient.reconnect (__ObjC.Timer) -> ();SimpleMQTTClient.swift;312</pre>\n\n\n### Reason ###\n\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'No view controller managing visible view <UIView: 0x107400350; frame = (0 0; 1366 1024); autoresize = W+H; layer = <CALayer: 0x17083b1a0>>'\n\n\n### Link to HockeyApp ###\n\n* [https://rink.hockeyapp.net/manage/apps/400418/crash_reasons/142412735](https://rink.hockeyapp.net/manage/apps/400418/crash_reasons/142412735)\n\n"}}
{"actor":{"display_login":"aperritano"}}