Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Error Message
abrentnall
#1 Posted : Thursday, 29 September 2011 8:56:38 PM(UTC)
abrentnall

Rank: Member

Joined: 18/09/2011(UTC)
Posts: 15
Location: Columbia, SC

I get this error message alot. Any idea what it could be?

Exception Type
System.InvalidOperationException

Message
Failed to compare two elements in the array.

Source
mscorlib

Target Site
Void Sort(T[], Int32, Int32, System.Collections.Generic.IComparer`1[T])

Stack Trace
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.List`1.Sort(Int32 index, Int32 count, IComparer`1 comparer)
at GalleryServerPro.Business.GalleryObjectCollection.Sort()
at GalleryServerPro.Business.Album.GetChildGalleryObjects(Boolean sortBySequence, Boolean excludePrivateObjects)
at GalleryServerPro.Web.Controls.thumbnailview.BindData()
at GalleryServerPro.Web.Controls.thumbnailview.Page_PreRender(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Inner Ex Type
System.InvalidOperationException

Inner Ex Message
This gallery object is already inflated. It cannot be inflated again.

Inner Ex Source
GalleryServerPro.Business

Inner Ex Target Site
Void set_IsInflated(Boolean)

Inner Ex Stack Trace
at GalleryServerPro.Business.GalleryObject.set_IsInflated(Boolean value)
at GalleryServerPro.Business.Factory.LoadAlbumInstance(IAlbum album, Boolean inflateChildMediaObjects)
at GalleryServerPro.Business.Album.Inflate(Boolean inflateChildMediaObjects)
at GalleryServerPro.Business.Album.Inflate()
at GalleryServerPro.Business.GalleryObject.VerifyObjectIsInflated(Int32 propertyValue)
at GalleryServerPro.Business.GalleryObject.CompareTo(Object other)
at System.Collections.Comparer.Compare(Object a, Object b)
at System.Collections.Generic.ObjectComparer`1.Compare(T x, T y)
at System.Collections.Generic.ArraySortHelper`1.QuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)


Roger Martin
#2 Posted : Friday, 30 September 2011 7:11:46 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

That is a bug that I occasionally see, but I haven't been able to nail down the root cause. Was it a one-time event or has it happened more than once?

If you can consistently reproduce it, I would be very interested in the repro steps.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
abrentnall
#3 Posted : Saturday, 1 October 2011 12:23:25 PM(UTC)
abrentnall

Rank: Member

Joined: 18/09/2011(UTC)
Posts: 15
Location: Columbia, SC

I have not been able to reproduce it consistently yet. I am trying to though and once I have move information I will post it for you. I have seen it pop up more frequently on larger albums.
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.