Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jan Fosgerau 65 posts 89 karma points
    Jun 28, 2010 @ 10:34
    Jan Fosgerau
    0

    Server Error in '/'. Object reference not set to an instance of an object.

    Hey i installed this poll today - i have put up the Polls/poll/answer - published it all

    i have addede the

            <asp:ScriptManager runat="server"/> with my form runat.

    i have also added the macro which looks like this.

    <umbraco:Macro PollNodeId="1325" DisplayOnly="0" SubmitOnSelect="0" HideSubmit="0" SortResults="1" WidthTotalVotes="1" HideQuestion="0" RandomPoll="0" Alias="Poll" runat="server"></umbraco:Macro>

    the pollnodeid is my masterpage. where the macro is located is this wrong ? .

    Also when debugging the page i see this error message.

    No member with loginname:  Exists

     is the poll dependent on members ??

    this is the general error i get.

    Server Error in '/'.
    Object reference not set to an instance of an object.
    Description: There was one exception which was not addressed, the execution of the current web request. See Stack trace for more information about the error and where it came from the code.

    Details exception: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    There was created an exception which was not addressed during the execution of the current web request. You can find information about the exemption of origin and location using the following stack trace of exceptions.

    Stakeholder Tracking:

    [NullReferenceException: Object reference not set to an instance of an object.]
       
    Nibble.Umb.Poll.Poll.RenderQuestion () +394
       
    Nibble.Umb.Poll.Poll.Page_Load (Object send, EventArgs e) +2128
       
    System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp; Object o, Object t, EventArgs e) +24
       
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback (Object sender, EventArgs e) +41
       
    System.Web.UI.Control.OnLoad (EventArgs e) +131
       
    System.Web.UI.Control.LoadRecursive () +65
       
    System.Web.UI.Control.LoadRecursive () +190
       
    System.Web.UI.Control.LoadRecursive () +190
       
    System.Web.UI.Control.LoadRecursive () +190
       
    System.Web.UI.Control.LoadRecursive () +190
       
    System.Web.UI.Control.LoadRecursive () +190
       
    System.Web.UI.Control.LoadRecursive () +190
       
    System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427


    Version Information: Microsoft. NET Framework Version: 2.0.50727.4200; ASP.NET Version: 2.0.50727.4205

  • Jan Fosgerau 65 posts 89 karma points
    Jun 28, 2010 @ 11:34
    Jan Fosgerau
    0

    Ok i solved my problem by pointing to the correct node

    Polls
        Poll <----- THIS IS THE ONE!
           Selection 1
           Selection 2

    Hope this helps anyone else that have same problem

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies