Object reference not set to an instance of an object.

Last post 04-22-2010, 11:22 AM by Corobori. 3 replies.
Sort Posts: Previous Next
  •  03-24-2009, 7:57 PM 50241

    Object reference not set to an instance of an object.

    Using v6.3 and suddenly getting this error when I try to add it to even the most basic page.
     
    Does the full message below indicate where I should look to fix things up.
     
    My page is as simple as this:
    ****************************************
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="testEditor2.aspx.vb" Inherits="testEditor2" %>

    <%@ Register assembly="CuteEditor, Version=6.3.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a" namespace="CuteEditor" tagprefix="CE" %>


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
        Editor here....
        
            <CE:Editor ID="Editor1" runat="server">
            </CE:Editor>
        
        </div>
        </form>
    </body>
    </html>
    ****************************************
     
    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:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    CuteEditor.Impl.b..ctor(Type type, String key) +74
    CuteEditor.a.i(HtmlTextWriter A_0) +145
    CuteEditor.Editor.Render(HtmlTextWriter writer) +46
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
    System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
    System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
    System.Web.UI.Page.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
  •  03-25-2009, 2:08 PM 50277 in reply to 50241

    Re: Object reference not set to an instance of an object.

    I got this same error when I re-deployed and my license file did not get copied over.  The error when away after I copied the license file over again.
  •  03-26-2009, 7:42 AM 50302 in reply to 50277

    Re: Object reference not set to an instance of an object.

    Yes I reckon that and maybe some of the other Cute .dll might need to have been refreshed in the bin directory.
     
    I got it going thanks!
  •  04-22-2010, 11:22 AM 60315 in reply to 50302

    Re: Object reference not set to an instance of an object.

    Thanks for the tip. Indeed .lic file missing in bin directory
View as RSS news feed in XML