Server Error in '/' Application.

Error on load contribution: Error loading random contribution: 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: U8.Exc.U8Exception: Error on load contribution: Error loading random contribution: Object reference not set to an instance of an object.

Source Error:


Line 808:            End If
Line 809:        Catch ex As Exception
Line 810:            Throw New U8Exception("Error on load contribution: " + ex.Message)
Line 811:        End Try
Line 812:        mysql.close()

Source File: C:\inetpub\wwwroot\u8.smalltalking.net\App_Code\U8Contribution.vb    Line: 810

Stack Trace:


[U8Exception: Error on load contribution: Error loading random contribution: Object reference not set to an instance of an object.]
   U8Contribution.withContributionId(String contributionId) in C:\inetpub\wwwroot\u8.smalltalking.net\App_Code\U8Contribution.vb:810
   contribution.loadContribution(String pContributionId) in C:\inetpub\wwwroot\u8.smalltalking.net\contribution.aspx.vb:335
   contribution.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\u8.smalltalking.net\contribution.aspx.vb:33
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0