My company's Xamarin forms app is giving us a lot of HockeyApp reports about a crash in IOS that we cannot locally replicate. The managed trace is:
System.IO.FileNotFoundException: Could not find file "[Unknown]"
File name: '[Unknown]'
System.IO.FileStream.Dispose(bool)
System.IO.IsolatedStorage.IsolatedStorageFileStream.Dispose(bool)
System.IO.Stream.Close()
System.IO.Stream.Dispose()
Xamarin.Forms.Platform.iOS.Deserializer.<>c__DisplayClass2_0.b__0()
System.Threading.Tasks.Task.InnerInvoke()
System.Threading.Tasks.Task.Execute()
Xamarin.Forms.Application.d__74.MoveNext()
Xamarin.Forms.Application.d__51.MoveNext()
Xamarin.Forms.Platform.iOS.FormsApplicationDelegate.d__8.MoveNext()
UIKit.UIKitSynchronizationContext.c__AnonStorey0.<>m__0()
Foundation.NSAsyncActionDispatcher.Apply()
UIKit.UIApplication.UIApplicationMain(int, string[], intptr, intptr)(wrapper managed-to-native)
UIKit.UIApplication.Main(string[], IntPtr, IntPtr)
UIKit.UIApplication.Main(string[], string, string)
DM.iOS.Application.Main(string[] args) [This is our application's main method]
Our app does include the ability to load saved files, but I don't think that is what is happening here (due to the 'File Name Unknown' part). It is also happening more often than I think a glitch with loading files would.
Does anyone have any advice on what this issue might be caused by, and how we might make it stop happening?
-Walter Langendorf
DYMO Software