[NullReferenceException: Object reference not set to an instance of an object.]

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.]
PRT_SALEANDPROFITBYCARLINE.InputDataUnit(IWorksheet& sheet2) +46
PRT_SALEANDPROFITBYCARLINE.CheckTypeData(IWorksheet& sheet2) +72
PRT_SALEANDPROFITBYCARLINE.Writedata(IWorksheet sheet1, IWorksheet sheet2, IWorkbook workbook) +1671
PRT_SALEANDPROFITBYCARLINE.btnSubmit_Click(Object sender, EventArgs e) +841
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102



1 Reply

GM Geetha M Syncfusion Team June 24, 2009 01:05 PM UTC

Hi,

Thank you for your interest in Syncfusion products.

Could you please send me the code snippet that caused me this exception? This would help us to recreate and find the cause of the same.

Regards,
Geetha

Loader.
Up arrow icon