windows-runtime windows-phone-8.1 hockeyapp

windows runtime - HockeyApp se bloquea al presionar el botón Atrás en Windows Phone



windows-runtime windows-phone-8.1 (1)

HockeyApp se bloquea al presionar el botón Atrás cuando se solicita el lanzamiento de la aplicación y solicita el envío / eliminación de registros de bloqueo. Una NullReferenceException ocurre dentro de HockeyApp; el stacktrace está adjunto.

La plataforma es Windows Phone 8.1 RT y la versión de HockeyApp es 2.2.2

¿Cómo puedo solucionar este problema en mi aplicación?

Stacktrace:

{ "contact": null, "description": null, "log": "Package: BuggyApp/nVersion: 1.1.0.0/nOS: Windows Phone/nWindows Phone: 8.1/nManufacturer: Microsoft/nModel: Virtual/nDate: 2015-09-07T10:29:41.6261178Z/nProduct-ID: 00000000-0000-0000-0000-000000000000 System.NullReferenceException: Object reference not set to an instance of an object. at HockeyApp.CrashHandler.<AskUserForAgreementAsync>d__c.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at HockeyApp.CrashHandler.<HandleCrashesAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at HockeyApp.HockeyClientExtensionsWinUniversal.<SendCrashesAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at BuggyApp.App.<OnLaunched>d__e.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__3(Object state) at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()", "sdk": "HockeySDKWP81", "sdk_version": "2.2.2", "userID": null }


Es un error en el sdk de HockeyApp . Fue arreglado hace dos meses con este compromiso . Pero la última versión de sdk (2.2.2) compilada hace 8 meses.

Por lo tanto, debe envolver la invocación SendCrashesAsync con try { //... } catch (NullReferenceException) { } y esperar la nueva compilación del sdk.