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

Notification

Icon
Error

Error trying to expand part of the album hierarchy in "manage roles"
Petercloet
#1 Posted : Wednesday, 18 May 2011 12:13:23 PM(UTC)
Rank: Advanced Member

Joined: 10/12/2007(UTC)
Posts: 34
Location: Belgium

Hi,

I have a curious problem when managing roles within site admin.

The error - as pasted below - occurs each time I go into site admin to edit a role in "manage roles" and then try and expand part of the album hierarchy.
Funny thing is, the error only occurs on a number of folders in the hierarchy.
I have the following hierarchy:
All Albums
--> 2007
-> subfolder
-> subfolder
--> 2008
-> subfolder
-> subfolder
--> 2009
-> subfolder
-> subfolder
--> 2010
-> subfolder
-> subfolder
Now, when I try to expand folders 2007, 2008 and 2009 it works fine and I get to see the subfolders. Howerver, when I try to expand folder 2010, I get the error message as listed below.

The underlying folder structure on the harddisk is exactly the same for all folders (incl. security settings).

Anyone have any clue what is causing this issue?

Regards,

Peter


Server Error in '/GalleryServerPro' Application.



Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:




An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:





[NullReferenceException: Object reference not set to an instance of an object.]
GalleryServerPro.Web.Util.GetHostUrl() +51
GalleryServerPro.Web.Controller.GalleryController.GetGpsMapUrl(IGalleryObject galleryObject, String latitude, String longitude, String gpsLocation) +257
GalleryServerPro.Web.Controller.GalleryController.AddGpsLocationWithMapLink(IGalleryObject galleryObject, IMetadataDefinitionCollection metadataDisplaySettings) +391
GalleryServerPro.Web.Controller.GalleryController.GalleryObjectMetadataLoaded(Object sender, EventArgs e) +97
GalleryServerPro.Business.GalleryObject.set_IsMetadataLoaded(Boolean value) +72
GalleryServerPro.Business.Factory.AddMediaObjectMetadata(IGalleryObject go) +711
GalleryServerPro.Business.Factory.LoadMediaObjectInstance(IDataRecord dr, IAlbum parentAlbum) +7887
GalleryServerPro.Business.Factory.AddChildObjects(IAlbum album) +458
GalleryServerPro.Business.Factory.LoadAlbumInstance(IAlbum album, Boolean inflateChildMediaObjects) +485
GalleryServerPro.Business.Album.GetChildGalleryObjects() +17
GalleryServerPro.Business.Album.GetChildGalleryObjects(Boolean sortBySequence, Boolean excludePrivateObjects) +32
GalleryServerPro.Business.Album.GetChildGalleryObjects(GalleryObjectType galleryObjectType, Boolean sortBySequence, Boolean excludePrivateObjects) +67
GalleryServerPro.Web.Handler.gettreeviewxml.GenerateTreeview() +1085
GalleryServerPro.Web.Handler.gettreeviewxml.ProcessRequest(HttpContext context) +83
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +598
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170




Version Information: Microsoft .NET Framework Version:2.0.50727.5444; ASP.NET Version:2.0.50727.5420
Roger Martin
#2 Posted : Wednesday, 18 May 2011 12:17:29 PM(UTC)
Roger Martin

Rank: Administration

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

What version are you using? That looks like a bug that was fixed in 2.4.7.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Petercloet
#3 Posted : Wednesday, 18 May 2011 12:21:49 PM(UTC)
Rank: Advanced Member

Joined: 10/12/2007(UTC)
Posts: 34
Location: Belgium

Roger Martin;7159 wrote:
What version are you using? That looks like a bug that was fixed in 2.4.7.


Oops, I'm still on v2.4.6 :-0
I'll upgrade and check again.

Thanks for the quick response.

Peter
Petercloet
#4 Posted : Thursday, 19 May 2011 12:57:33 AM(UTC)
Rank: Advanced Member

Joined: 10/12/2007(UTC)
Posts: 34
Location: Belgium

Petercloet;7160 wrote:
Roger Martin;7159 wrote:
What version are you using? That looks like a bug that was fixed in 2.4.7.


Oops, I'm still on v2.4.6 :-0
I'll upgrade and check again.

Thanks for the quick response.

Peter


Hi Roger, I performed the upgrade and it solved the problem.
Thanks a lot for the help!

Regards,

Peter
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.