Server Error in '/ypan' 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:


Line 40: 	{
Line 41: 		this.Page.Title = "Υπουργείο Περιβάλλοντος και Ενέργειας";
Line 42: 		reqParams = Controller.formRequest(Session, Request);
Line 43: 		reqParams.CurrSession.CultureIndicator = System.Threading.Thread.CurrentThread.CurrentUICulture;
Line 44: 

Source File: c:\Inetpub\wwwroot\ypan\MasterHome.master.cs    Line: 42

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   BusinessLogic.ComplexData.FolderItemLight.loadSelectedFolderItemOfFolder(RequestParameters req, Folders fldr) +95

[BusinessLogicException: FolderItemLight Class : loadFolderItemById method failed]
   BusinessLogic.ComplexData.FolderItemLight.loadSelectedFolderItemOfFolder(RequestParameters req, Folders fldr) +434
   BusinessLogic.Session.SessionObject.startRequest(RequestParameters param) +646
   BusinessLogic.Session.RequestParameters.OpenRequest() +48
   BusinessLogic.Session.Controller.formRequest(String sessionID, HttpRequest byRequest) +218
   BusinessLogic.Session.Controller.formRequest(HttpSessionState atSession, HttpRequest byRequest) +128
   MasterHome.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\ypan\MasterHome.master.cs:42
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053