2015-09-07 1 views
3

HockeyApp se bloque lorsque vous appuyez sur le bouton de retour lorsque vous êtes invité au lancement de l'application et demande l'envoi/la suppression des journaux de plantage. Un NullReferenceException se produit dans HockeyApp; la piletrace est attachée.HockeyApp se bloque en appuyant sur le bouton Précédent sur Windows Phone

La plate-forme est Windows Phone version 8.1 RT et HockeyApp est 2.2.2

Comment puis-je résoudre ce problème dans mon application?

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 
} 

Répondre

3

Il est bug in the HockeyApp sdk. Il a été corrigé il y a deux mois avec this commit. Mais la dernière version du sdk (2.2.2) a été construite il y a 8 mois.

Vous devriez donc utiliser l'invocation SendCrashesAsync avec try { //... } catch (NullReferenceException) { } et attendre la nouvelle version de sdk.

+0

Merci pour le heads up - nous préparons une version de correction d'erreur du WP SDK. –

+0

@MatthiasWenz Quand peut-on espérer une sortie? – Flipper

+2

Nous y travaillons, mais je n'ai pas de calendrier précis. Merci d'être patient. –