dmitry-lt / wp-geocaching

Automatically exported from code.google.com/p/wp-geocaching
0 stars 0 forks source link

Ошибка при загрузке фотографии (DivideByZeroException) #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
LoadFullSizePhoto

index = index % photoNames.Count;

System.DivideByZeroException was unhandled
  Message=DivideByZeroException
  StackTrace:
       at WP_Geocaching.Model.GeocahingSuApiManager.LoadFullSizePhoto(Action`1 process, Int32 index)
       at WP_Geocaching.ViewModel.PhotoGalleryPageViewModel.LoadFullsizePhoto(Int32 index)
       at WP_Geocaching.View.Info.PhotoGalleryPage.OnNavigatedTo(NavigationEventArgs e)
       at Microsoft.Phone.Controls.PhoneApplicationPage.InternalOnNavigatedTo(NavigationEventArgs e)
       at System.Windows.Navigation.NavigationService.RaiseNavigated(Object content, Uri uri, NavigationMode mode, Boolean isNavigationInitiator, PhoneApplicationPage existingContentPage, PhoneApplicationPage newContentPage)
       at System.Windows.Navigation.NavigationService.CompleteNavigation(DependencyObject content, NavigationMode mode)
       at System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)
       at System.Windows.Navigation.PageResourceContentLoader.BeginLoad_OnUIThread(AsyncCallback userCallback, PageResourceContentLoaderAsyncResult result)
       at System.Windows.Navigation.PageResourceContentLoader.<>c__DisplayClass4.<BeginLoad>b__0(Object args)
       at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
       at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, StackCrawlMark& stackMark)
       at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
       at System.Delegate.DynamicInvokeOne(Object[] args)
       at System.MulticastDelegate.DynamicInvokeImpl(Object[] args)
       at System.Delegate.DynamicInvoke(Object[] args)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.Dispatch(DispatcherPriority priority)
       at System.Windows.Threading.Dispatcher.OnInvoke(Object context)
       at System.Windows.Hosting.CallbackCookie.Invoke(Object[] args)
       at System.Windows.Hosting.DelegateWrapper.InternalInvoke(Object[] args)
       at System.Windows.RuntimeHost.ManagedHost.InvokeDelegate(IntPtr pHandle, Int32 nParamCount, ScriptParam[] pParams, ScriptParam& pResult)

Original issue reported on code.google.com by dmitry.k...@gmail.com on 16 Jul 2012 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by dmitry.k...@gmail.com on 16 Jul 2012 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by Vita.Loginova on 17 Jul 2012 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by dmitry.k...@gmail.com on 18 Jul 2012 at 12:57