Guest User

Untitled

a guest
Jun 25th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. Server Error in '/' Application.
  2.  
  3. Object reference not set to an instance of an object.
  4.  
  5. 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.
  6.  
  7. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
  8.  
  9. Source Error:
  10.  
  11.  
  12. Line 346: Dim bool As Boolean = False
  13. Line 347:
  14. Line 348: cardNumber = cardNumber.Replace(" ", "").Replace("-", "")
  15. Line 349: If cardNumber.Length >= 8 Then
  16. Line 350: cardNumber = cardNumber.Substring(0, 8)
  17.  
  18. Source File: C:\Inetpub\UAT_IRL\virtualcard\step2.aspx.vb Line: 348
  19.  
  20. Stack Trace:
  21.  
  22.  
  23. [NullReferenceException: Object reference not set to an instance of an object.]
  24. VirtualCard_step2.IsOne4All(String cardNumber) in C:\Inetpub\UAT_IRL\virtualcard\step2.aspx.vb:348
  25. VirtualCard_step2.ProcessPayment() in C:\Inetpub\UAT_IRL\virtualcard\step2.aspx.vb:119
  26. VirtualCard_step2.btnSubmit_Click(Object sender, EventArgs e) in C:\Inetpub\UAT_IRL\virtualcard\step2.aspx.vb:82
  27. System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
  28. System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
  29. System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
  30. System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
  31. System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
  32. System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
  33.  
  34. Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634
Add Comment
Please, Sign In to add comment