Ciao a tutti, ultimamente mi capita piuttosto spesso che si verifichi questo errore:
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 2113:
Line 2114: Literal lit;
Line 2115: string[] Testi = ffzManagers.DMPost.StampaPost(PaginaFFZ.IDCOMUNITA, Post, PaginaFFZ.IstanzaCartellaForum, PaginaFFZ);
Line 2116:
Line 2117: if (Testi[0].Length > 0)
Source File: c:\Inetpub\wwwffz3\Control\Comunita\ListaMessaggiREP.ascx.cs Line: 2115
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
ffz.BLL.DataManagerPostComunita.StampaPost(Int32 IDCOMUNITA, PostComunita post, CartellaForum cartella, Utente AutoreFFZ, UtenteComunita Autore, FPage PaginaFFZ) in E:\Progetti\FreeForumZone\3.0\www\Progetto\FreeForumZone3\ffz\BLL\DataManagerPostComunita.cs:605
ffz.BLL.DataManagerPostComunita.StampaPost(Int32 IDCOMUNITA, PostComunita post, CartellaForum cartella, FPage PaginaFFZ) in E:\Progetti\FreeForumZone\3.0\www\Progetto\FreeForumZone3\ffz\BLL\DataManagerPostComunita.cs:881
Control_Comunita_ListaMessaggiREP.StampaMessaggio(HtmlControl obj) in c:\Inetpub\wwwffz3\Control\Comunita\ListaMessaggiREP.ascx.cs:2115
Control_Comunita_ListaMessaggiREP.StampaRigaPost(HtmlTableRow tr) in c:\Inetpub\wwwffz3\Control\Comunita\ListaMessaggiREP.ascx.cs:1036
Control_Comunita_ListaMessaggiREP.AssociaListaPost(List`1 Lista, FPage Pagina, Int32 p) in c:\Inetpub\wwwffz3\Control\Comunita\ListaMessaggiREP.ascx.cs:451
discussione.AssociaPost() in c:\Inetpub\wwwffz3\discussione.aspx.cs:553
discussione.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwffz3\discussione.aspx.cs:258
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +57
System.Web.UI.Control.OnLoad(EventArgs e) +126
System.Web.UI.Control.LoadRecursive() +100
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2587
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
é colpa mia o è dovuto a qualche errore vostro di qualche server o derivati? Se è un problema solo mio mi sapreste indirizzare verso una soluzione?
Grazie
--------------------------------------------------------------------------------------------------
Ero solito portare una pallottola nel taschino, all'altezza del cuore. Un giorno un tizio mi tirò addosso una Bibbia ma la pallottola mi salvò la vita.