Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am getting the exception , i cant able to understand that,,I copied it from Event viewer.

XML
Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          4/23/2013 5:17:51 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      Waqar-PC
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/23/2013 5:17:51 PM
Event time (UTC): 4/23/2013 12:17:51 PM
Event ID: c7b2630f708e4278864d8ede90bb0ac5
Event sequence: 105
Event occurrence: 9
Event detail code: 0

Application information:
    Application domain: 3110f29a-4-130111920145830479
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\SigmaFlow Projects\BPI\MAIN\SigmaFlow.BPI.Web\
    Machine name: WAQAR-PC

Process information:
    Process ID: 6480
    Process name: WebDev.WebServer40.exe
    Account name: WAQAR-PC\Waqar Naeem

Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
   at DevExpress.Web.Data.WebDataCachedProvider.GetFieldTypeCore(String fieldName)
   at DevExpress.Web.Data.WebDataProviderBase.GetFieldType(String fieldName)
   at DevExpress.Web.ASPxGridView.GridViewDataColumn.GetDataType()
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridEditor(Int32 editingRowVisibleIndex, GridViewDataColumn column, Object value, EditorInplaceMode mode, Boolean isInternal)
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridDummyEditors(Control parent)
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateRootControls()
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateControlHierarchy()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.CreateChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControls()
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Page.FindControl(String id)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Request information:
    Request URL: http://localhost:3377/search/search.aspx?q=burton
    Request path: /search/search.aspx
    User host address: ::1
    User: TEST_administrator
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: WAQAR-PC\Waqar Naeem

Thread information:
    Thread ID: 5
    Thread account name: WAQAR-PC\Waqar Naeem
    Is impersonating: False
    Stack trace:    at DevExpress.Web.Data.WebDataCachedProvider.GetFieldTypeCore(String fieldName)
   at DevExpress.Web.Data.WebDataProviderBase.GetFieldType(String fieldName)
   at DevExpress.Web.ASPxGridView.GridViewDataColumn.GetDataType()
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridEditor(Int32 editingRowVisibleIndex, GridViewDataColumn column, Object value, EditorInplaceMode mode, Boolean isInternal)
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridDummyEditors(Control parent)
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateRootControls()
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateControlHierarchy()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.CreateChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControls()
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Page.FindControl(String id)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 4.0.30319.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-04-23T12:17:51.000000000Z" />
    <EventRecordID>31074</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Waqar-PC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>4/23/2013 5:17:51 PM</Data>
    <Data>4/23/2013 12:17:51 PM</Data>
    <Data>c7b2630f708e4278864d8ede90bb0ac5</Data>
    <Data>105</Data>
    <Data>9</Data>
    <Data>0</Data>
    <Data>3110f29a-4-130111920145830479</Data>
    <Data>Full</Data>
    <Data>/</Data>
    <Data>C:\SigmaFlow Projects\BPI\MAIN\SigmaFlow.BPI.Web\</Data>
    <Data>WAQAR-PC</Data>
    <Data>
    </Data>
    <Data>6480</Data>
    <Data>WebDev.WebServer40.exe</Data>
    <Data>WAQAR-PC\Waqar Naeem</Data>
    <Data>NullReferenceException</Data>
    <Data>Object reference not set to an instance of an object.
   at DevExpress.Web.Data.WebDataCachedProvider.GetFieldTypeCore(String fieldName)
   at DevExpress.Web.Data.WebDataProviderBase.GetFieldType(String fieldName)
   at DevExpress.Web.ASPxGridView.GridViewDataColumn.GetDataType()
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridEditor(Int32 editingRowVisibleIndex, GridViewDataColumn column, Object value, EditorInplaceMode mode, Boolean isInternal)
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridDummyEditors(Control parent)
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateRootControls()
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateControlHierarchy()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.CreateChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControls()
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Page.FindControl(String id)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

</Data>
    <Data>http://localhost:3377/search/search.aspx?q=burton</Data>
    <Data>/search/search.aspx</Data>
    <Data>::1</Data>
    <Data>TEST_administrator</Data>
    <Data>True</Data>
    <Data>Forms</Data>
    <Data>WAQAR-PC\Waqar Naeem</Data>
    <Data>5</Data>
    <Data>WAQAR-PC\Waqar Naeem</Data>
    <Data>False</Data>
    <Data>   at DevExpress.Web.Data.WebDataCachedProvider.GetFieldTypeCore(String fieldName)
   at DevExpress.Web.Data.WebDataProviderBase.GetFieldType(String fieldName)
   at DevExpress.Web.ASPxGridView.GridViewDataColumn.GetDataType()
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridEditor(Int32 editingRowVisibleIndex, GridViewDataColumn column, Object value, EditorInplaceMode mode, Boolean isInternal)
   at DevExpress.Web.ASPxGridView.Rendering.ASPxGridViewRenderHelper.CreateGridDummyEditors(Control parent)
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateRootControls()
   at DevExpress.Web.ASPxGridView.ASPxGridView.CreateControlHierarchy()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.CreateChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DevExpress.Web.ASPxClasses.ASPxWebControlBase.EnsureChildControls()
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Page.FindControl(String id)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
  </EventData>
</Event>
Posted
Comments
[no name] 23-Apr-13 8:46am    
What is it that you are unable to understand? "Object reference not set to an instance of an object", you are trying to use an object that is null. Make it not null before you try and use it.
Ali_100 23-Apr-13 9:41am    
I am not able to understand where is the issue ..... in the sstack it is showing that it is system.web.ui.page issue or
at DevExpress.Web.ASPxGridView.ASPxGridView.CreateRootControls()

but where is it? that is not traceable for me .
Marco Bertschi 23-Apr-13 11:56am    
Can you add the HTML code of the page you are trying to load?
Would make things a lot clearer.

Thanks & cheers
Marco

1 solution

 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900