Erhalte follgenden fehler (nicht nur bei mir) Server Error in '/' 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 649:
Line 650: sbPost.Append("Abfahrtszeit_" + intCount + "=" + HttpUtility.UrlEncode(ti.LegData.Date.Add(l.From.DepartureDateTime).ToString("HHmm")) + "&");
Line 651: sbPost.Append("Abfahrtsgleis_" + intCount + "=" + HttpUtility.UrlEncode((l.From.DeparturePlatform.Trim().Length != 0 ? l.From.DeparturePlatform.Trim() : "0")) + "&");Line 652: sbPost.Append("AbfahrtsortCode_" + intCount + "=" + l.From.ExternalID + "&");
Line 653: sbPost.Append("AbfahrtsortName_" + intCount + "=" + HttpUtility.UrlEncode(l.From.HafasName.Trim()) + "&"); Source File: d:\Hosting\sbb-gruppentool.mxm.ch\App_Code\GruppentoolStuff\Objects\Plabe.cs Line: 651 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.]
MXM.ERAW.GT.Plabe.Dossier.PostGRRToPlabe(Guid guid, Boolean _isDirectBooking) in d:\Hosting\sbb-gruppentool.mxm.ch\App_Code\GruppentoolStuff\Objects\Plabe.cs:651
MXM.ERAW.GT.Page.wizard_step8.OnLoad() in d:\Hosting\sbb-gruppentool.mxm.ch\gruppentool\step8.aspx.cs:46
MXM.ERAW.Page.PageBase.OnBaseLoad() in d:\Hosting\sbb-gruppentool.mxm.ch\App_Code\PageBase.cs:153
MXM.Core.Base.Page`1.Page_Load(Object sender, EventArgs e) in C:\VSS_Projects\MXM_Core\MXM_Core\MXM.Core.Base\Page.cs:129
System.Web.UI.Control.OnLoad(EventArgs e) +105
System.Web.UI.Control.LoadRecursive() +67
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3163.0
... Mehr anzeigen