Server Error in '/' Application.

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: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 113:
Line 114:                Dim uss As usuario = Usuario
Line 115:                nomeAgentePop.Text = Aglet.Text.Strings.ToMiddleCase(uss.Apelido)
Line 116:                telefoneAgentePop.Text = Formatos.exibirTelefone(uss.Telefone).Replace("55 ", "")
Line 117:                imgPop.ImageUrl = "http://cdn.lopesrj.com.br/perfil/imagemLocal.ashx?us=" & uss.usuarioid & "&wd=200&ht=200&m=crop"

Source File: D:\webApp\Consultor\FichaLan.aspx.vb    Line: 115

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   FichaLan.FichaLan_Load(Object sender, EventArgs e) in D:\webApp\Consultor\FichaLan.aspx.vb:115
   System.Web.UI.Control.OnLoad(EventArgs e) +98
   System.Web.UI.Control.LoadRecursive() +153
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4081


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