question

HimanshuGupta-9207 avatar image
0 Votes"
HimanshuGupta-9207 asked ·

Event code: 3005 An unhandled exception has occurred.

Hi all I keep getting a warning which I don't understand how to get rid off. The warning goes like this & frequently stop my website. Event code: 3005 Event message: An unhandled exception has occurred. Event time: 3/18/2021 3:40:11 PM Event time (UTC): 3/18/2021 11:40:11 AM Event ID: fc219919367049af841b29a36018f32c Event sequence: 63 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/3/ROOT-1-132605406261633193 Trust level: Full Application Virtual Path: / Application Path: D:\WEBSITE\newwebsite\ Machine name: UNIHOST Process information: Process ID: 3712 Process name: w3wp.exe Account name: UNIHOST\Administrator Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. at NEXOLIMS.GridViewModule.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: http://starmetropolislab.com/Secure/GridView.aspx Request path: /Secure/GridView.aspx User host address: 11.111.11.11 User: Is authenticated: False Authentication Type: Thread account name: UNIHOST\Administrator Thread information: Thread ID: 43 Thread account name: UNIHOST\Administrator Is impersonating: False Stack trace: at NEXOLIMS.GridViewModule.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:

dotnet-csharpwindows-server-2016dotnet-aspnet-core-webapidotnet-aspnet-webapi
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


It seems that there is a problem inside the GridViewModule class, Page_Load function. Probably a variable becomes null unexpectedly. Show some details about this function and try debugging the problem.

1 Vote 1 ·

@Viorel Thank you for reply.

I think error coming in each actions. see the below event

0 Votes 0 ·
HimanshuGupta-9207 avatar image
0 Votes"
HimanshuGupta-9207 answered ·

@Viorel Thank you for reply.

I think error coming in each actions. see the below event


Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/18/2021 4:14:36 PM
Event time (UTC): 3/18/2021 12:14:36 PM
Event ID: 755189f001cf4465b1cefd303155bc6b
Event sequence: 238
Event occurrence: 34
Event detail code: 0


Application information:
Application domain: /LM/W3SVC/3/ROOT-1-132605407362447750
Trust level: Full
Application Virtual Path: /
Application Path: D:\WEBSITE\newwebsite\
Machine name: UNIHOST


Process information:
Process ID: 2128
Process name: w3wp.exe
Account name: UNIHOST\Administrator


Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at clsGlobal.ResetPassword(String Login_Id)
at NEXOLIMS.Account.frmFrgetPsswrd.btnChngPwd_Click(Object sender, EventArgs e)
at DevExpress.Web.ASPxButton.OnClick(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Request information:
Request URL: http://starmetropolislab.com/Account/frmFrgetPsswrd.aspx
Request path: /Account/frmFrgetPsswrd.aspx
User host address: 11.111.11.111
User:
Is authenticated: False
Authentication Type:
Thread account name: UNIHOST\Administrator


Thread information:
Thread ID: 28
Thread account name: UNIHOST\Administrator
Is impersonating: False
Stack trace: at clsGlobal.ResetPassword(String Login_Id)
at NEXOLIMS.Account.frmFrgetPsswrd.btnChngPwd_Click(Object sender, EventArgs e)
at DevExpress.Web.ASPxButton.OnClick(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DuaneArnold-0443 avatar image
0 Votes"
DuaneArnold-0443 answered ·

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.

at clsGlobal.ResetPassword(String Login_Id)
at NEXOLIMS.Account.frmFrgetPsswrd.btnChngPwd_Click(Object sender, EventArgs e)
at DevExpress.Web.ASPxButton.OnClick(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

It's a common exception that means your code is trying to access/reference an object that has not been instanced, and it's a null object that doesn't exist in memory.

You are also being told where it is happening the exception. You need to use the debugger and set a breakpoint in the class method and single-step until it blows up and use Quickwatch to find out what object on the line that threw the exception is null. You find out why the object is null.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.