Re: System.NullReferenceException error with CuteEditor

  •  05-13-2010, 9:46 PM

    Re: System.NullReferenceException error with CuteEditor

    piyushvarma:
    I also get similar following error:
     
    System.NullReferenceException: Object reference not set to an instance of an object.
    The Stck Trace is:
     
    [NullReferenceException: Object reference not set to an instance of an object.]
                aa..ctor(Type type, String key)
                v.a(Type A_0, String A_1)
                CuteEditor.a.i(HtmlTextWriter A_0)
                CuteEditor.Editor.Render(HtmlTextWriter writer)
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
                System.Web.UI.Control.Render(HtmlTextWriter writer) +7
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
                System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
                System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
                System.Web.UI.Control.Render(HtmlTextWriter writer) +7
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
                System.Web.UI.Page.ProcessRequestMain() +1926
                

    The aspx code is below (HTML view):
       
    How can I correct it please? I am using CE*.dll version 1.x in .Net FW 1.1
     
    Hi piyushvarma,
     
    Please create a simple page like below and test on your site.
     
    1. <%@ Page Language="C#" ValidateRequest="false" Debug="true" %>   
    2.   
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>   
    4. <html>   
    5. <head>   
    6. </head>   
    7. <body>   
    8.     <form id="Form1" runat="server">   
    9.         <CE:Editor ID="editor1" runat="server">   
    10.         </CE:Editor>   
    11.     </form>   
    12. </body>   
    13. </html>  
    If you still get this issue on the above page, please send the full information to Kenneth@CuteSoft.net.
     

    Regards,
     
    ken
View Complete Thread