-
Notifications
You must be signed in to change notification settings - Fork 66
NullPointerException #113
Copy link
Copy link
Open
Labels
feedback-neededThe author needs to provide feedback because it's not clear what to do or how to reproduce the bug.The author needs to provide feedback because it's not clear what to do or how to reproduce the bug.
Description
Metadata
Metadata
Assignees
Labels
feedback-neededThe author needs to provide feedback because it's not clear what to do or how to reproduce the bug.The author needs to provide feedback because it's not clear what to do or how to reproduce the bug.
Steps to reproduce
unknown, happens randomly (only very sporadic)
Expected behavior
no crash
Actual behavior
<2019-04-02 13:14:52.640> Thread([28]) - AppDelegate.LogUnhandledException(Exception) (exception=System.Exception: CurrentDomainOnUnhandledException ---> System.NullReferenceException: Object reference not set to an instance of an object
at Plugin.DownloadManager.UrlSessionDownloadDelegate.DidCompleteWithError (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSError error) <0x1053747b0 + 0x00028> in <4827c03515ed4a5dbd19c33d9b81f2a1#079ea52387256c0e69a46aa087d77b95>:0
--- End of inner exception stack trace ---).
Looking at the code there probably should be null pointer check for task and error objects in all methods of UrlSessionDelegate in order to prevent nullReferenceExceptions (or try/catch/ignore wrappers).
Configuration
Platform:
iOS, develop branch
Device:
Real device (iPad Pro 3 12.9in (J321AP), iOS 12.1.4)