Open mjfara opened 9 years ago
Unfortunately, I am not developing for Windows Phone for a long time (about year), so I can not say what exactly wrong in work with IsolatedStorage
.
So if you will be able to fix this, please make a pull request, I'll merge it
I installed BugSense in my app and have been tracking my crashes. This image loader is the biggest culprit. Here is my stack trace, any ideas?
0System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.IO.IsolatedStorage.IsolatedStorageException: Operation not permitted on IsolatedStorageFileStream. 1 at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf) 2 at JetImageLoader.Cache.Storage.BaseStorageCache.d0.MoveNext()
3--- End of stack trace from previous location where exception was thrown ---
4 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
5 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
6 at JetImageLoader.Cache.Storage.CacheImpl.LimitedStorageCache.d 2.MoveNext()
7 --- End of inner exception stack trace ---
8---> (Inner Exception #0) System.IO.IsolatedStorage.IsolatedStorageException: Operation not permitted on IsolatedStorageFileStream.
9 at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
10 at JetImageLoader.Cache.Storage.BaseStorageCache.d0.MoveNext()
11--- End of stack trace from previous location where exception was thrown ---
12 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
13 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
14 at JetImageLoader.Cache.Storage.CacheImpl.LimitedStorageCache.d 2.MoveNext()<---
15
16--- Inner exception of type System.IO.IsolatedStorage.IsolatedStorageException start ---
17--- Message: Operation not permitted on IsolatedStorageFileStream. ---
18System.IO.IsolatedStorage.IsolatedStorageException: Operation not permitted on IsolatedStorageFileStream.
19 at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
20 at JetImageLoader.Cache.Storage.BaseStorageCache.d0.MoveNext()
21--- End of stack trace from previous location where exception was thrown ---
22 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
23 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
24 at JetImageLoader.Cache.Storage.CacheImpl.LimitedStorageCache.d 2.MoveNext()
25--- End of inner exception stack trace ---