Bug in Lobbies.aspx

Last post 09-20-2006, 2:29 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  09-18-2006, 11:08 AM 22802

    Bug in Lobbies.aspx

    Hi, I installed demo of Cutechat  a few days ago and sometimes I face strange problems.
    Sometimes when I enter some room and the new MSIE 6SP1 window is opened, it take too long to get hat chat page.
     
    But what is worse, when i try to add another room, mostly I could see error page like:
     
     
     

    Server Error in '/chat' 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 140:		return;
                Line 141:
                Line 142:	ChatApi.CreateLobby(ref lobby);
                Line 143:
                Line 144:	BindGrid();

    Source File: d:\CuteChat\Framework 2.0 Web\CuteSoft_Client\CuteChat\Admin\Lobbies.ascx    Line: 142

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
                CuteSoft.Chat.ChatDataManager.InsertLobby(CuteChatLobby lobby) +17
                CuteSoft.Chat.ChatApiImpl.DoCreateLobby(CuteChatLobby& lobby) +102
                CuteSoft.Chat.ChatApiImpl.CreateLobby(CuteChatLobby& lobby) +91
                ASP.cutesoft_client_cutechat_admin_lobbies_ascx.ButtonAddNew_Click(Object sender, EventArgs args) in d:\CuteChat\Framework 2.0 Web\CuteSoft_Client\CuteChat\Admin\Lobbies.ascx:142
                System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
                System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
                System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
                System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
                System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
                System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
                


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
     
     
     
    It makes me crazy as sometimes it works fine, but sometimes I could see such stupid message. It helps when I open and just save web.config as application restarts and work fine.
     
    I guess some kind of bug in this page.
  •  09-18-2006, 11:19 AM 22803 in reply to 22802

    Re: Bug in Lobbies.aspx

    Rosacek,
     
    We are investigating this issue and will post a solution as soon as possible.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-18-2006, 1:15 PM 22806 in reply to 22803

    Re: Bug in Lobbies.aspx

    OK, then you might also check this error appearing, when I tried enter the room from Chat.aspx
    Again, after save web.config it works fine again.
    Config Win2000 svr. EN all patches, default locale Central European Czech
    MSSQL2005 Express
    Client MSIE6 SP1 EN with all patches
    Folder with Cutechat has full access by Everyone.
     
     

    Server Error in '/chat' 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 37: 		</script>
                Line 38: 		<link rel="stylesheet" href="style.css">
                Line 39: 		<link rel="stylesheet" href="<%="Skins/"+ CuteSoft.Chat.ChatWebUtility.SkinName + "/style.css"%>" id="skincsslink">
                Line 40: 	</HEAD>
                Line 41: 	<body scroll="no" style="overflow:hidden">

    Source File: d:\CuteChat\Framework 2.0 Web\CuteSoft_Client\CuteChat\CH_MainForm.aspx    Line: 39

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
                CuteSoft.Chat.ChatDataManager.c(String A_0) +34
                CuteSoft.Chat.ChatDataManager.GetUser(String uniquename) +290
                CuteSoft.Chat.ChatApiImpl.DoGetUserSkinName(String uniquename) +152
                CuteSoft.Chat.ChatApiImpl.GetUserSkinName(String uniquename) +90
                CuteSoft.Chat.ChatWebUtility.get_SkinName() +30
                ASP.cutesoft_client_cutechat_ch_mainform_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in d:\CuteChat\Framework 2.0 Web\CuteSoft_Client\CuteChat\CH_MainForm.aspx:39
                System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2065883
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
                System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) +14
                System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
                System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
                ASP.cutesoft_client_cutechat_ch_mainform_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in App_Web_zsh5jd-s.1.cs:0
                System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2065883
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
                System.Web.UI.Page.Render(HtmlTextWriter writer) +26
                CuteSoft.Chat.UI.ChatPageBase.Render(HtmlTextWriter writer) +65
                System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
                System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896
                


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
  •  09-20-2006, 2:29 AM 22840 in reply to 22806

    Re: Bug in Lobbies.aspx

    Rosacek,
     
    Please download the latest build:
     
     
    Hope it will resolve the problem.
     
    Keep me posted.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML