Copied to clipboard

Flag this post as spam?

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


  • Anton Oosthuizen 206 posts 486 karma points
    Jul 25, 2012 @ 15:51
    Anton Oosthuizen
    0

    Object reference not set to an instance of an object. nForum 1.5

    on trying to acess forum.aspx with 1 catagory loaded

    aspx.pageBegin Load0.08520763620521470.000010 Unhandled Execution Error
    Object reference not set to an instance of an object.
      at nForum.BusinessLogic.Data.ForumFactory.ReturnAllCategories(Boolean useNodeFactory)
      at nForum.usercontrols.nForum.ForumMainList.CreateMainForumList()
      at nForum.usercontrols.nForum.ForumMainList.Page_Load(Object sender, EventArgs e)
      at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  • Ryan 1 post 21 karma points
    Aug 08, 2012 @ 16:41
    Ryan
    0

    I am having a similar issue. I just installed nforum, following the video instructions at http://vimeo.com/34945384. The login and registration pages load properly, but when I try to access forum.aspx I get the following error:

    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:

    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.]
       nForum.BusinessLogic.Data.ForumFactory.ReturnAllCategories(Boolean useNodeFactory) +143
       nForum.usercontrols.nForum.ForumMainList.CreateMainForumList() +97
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24
       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3047
    

  • Anton Oosthuizen 206 posts 486 karma points
    Aug 12, 2012 @ 11:56
    Anton Oosthuizen
    0

    Hi

    Adding the catagory fixed my problem.Be sure to add Forum Category as a child node to Form Master.

     

    Form Master

    |

    | ---------------------- Forum Category

     

    Cheers

     

     

  • Lee 1130 posts 3088 karma points
    Aug 22, 2012 @ 11:07
    Lee
    0

    If you are using Umbraco v4.8 then you need to use the latest version of nforum (1.6) which was released today. 

    Also when you install, create a category and make sure you fill in the settings tab on the category (Karma amounts allowed etc...)

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Aug 22, 2012 @ 11:34
    Scott Hugh Alexandar Petersen
    0

    Hi Lee,

    I get this error:

    Error creating control (usercontrols/nForum/ForumMainList.ascx).
    Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!

    Trace says:

    macro Error creating usercontrol (usercontrols/nForum/ForumMainList.ascx)
    Could not load file or assembly 'Examine, Version=0.1.42.2941, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
      at nForum.BusinessLogic.Data.ForumFactory.ReturnRootForumId()
      at nForum.BusinessLogic.Data.ForumFactory..ctor()
      at __ASP.FastObjectFactory_app_web_forummainlist_ascx_15a5d03a_wfb48th3.Create_ASP_usercontrols_nforum_forummainlist_ascx()
      at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters)
      at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
      at umbraco.macro.loadUserControl(String fileName, MacroModel model, Hashtable pageElements)

    I uninstalled v.1.5 and reinstalled v.1.6 and it removed the Examine.dll and when I put it back from v.1.5. then it gave me this message:

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: Could not load file or assembly 'UmbracoExamine' or one of its dependencies. The system cannot find the file specified.

    Source Error: 

    Line 12:  <providers>
    Line 13:        <add name="nForumEntryIndexer" 
    Line 14: type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine" Line 15:          dataService="UmbracoExamine.DataServices.UmbracoDataService, UmbracoExamine" 
    Line 16:            indexSet="nForumEntrySet" 

    Then I put Examine.dll and UmbracoExamine.dll from the CMS but no luck.

    And finally I put in Examine.dll and UmbracoExamine.dll from the nForum v.1.6 and then it gave me a lucene error and then I added the Lucene.Net.dll from v.1.5 and then this happened:

    Unhandled Execution Error
    Object reference not set to an instance of an object.
      at nForum.BusinessLogic.Data.ForumFactory.ReturnAllCategories(Boolean useNodeFactory)
      at nForum.usercontrols.nForum.ForumMainList.CreateMainForumList()
      at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Now I have uninstalled v.1.6. and reinstalled v.1.5. and installed v.1.6 ontop and the result is.....IT WORKED!!!!!!

    Thank you.

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Aug 22, 2012 @ 11:46
    Scott Hugh Alexandar Petersen
    0

    However, now accessing the top category gives this error:

    Unhandled Execution Error
    Object reference not set to an instance of an object.
      at nForum.BusinessLogic.Models.Forum.MapForumNodeToModel(INode forumRoot)
      at nForum.BusinessLogic.Helpers.MainForumSettings()
      at nForum.usercontrols.nForum.ForumTopics.GetTopicsFromCategory()
      at nForum.usercontrols.nForum.ForumTopics.Page_Load(Object sender, EventArgs e)
      at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

  • Lee 1130 posts 3088 karma points
    Aug 22, 2012 @ 11:57
    Lee
    0

    The examinesetting config is malformed, best best is top grab a new umbraco 4.8 copy, get it up and running with SQLCE quickly, install nforum 1.6 then copy the examine configs to your existing project.

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Aug 22, 2012 @ 12:32
    Scott Hugh Alexandar Petersen
    0

    Okay, but should I then install 1.5. on this new installation or just 1.6?

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Aug 22, 2012 @ 12:52
    Scott Hugh Alexandar Petersen
    0

    For some reason it still says:

    [NullReferenceException: Object reference not set to an instance of an object.]
       nForum.BusinessLogic.Models.Forum.MapForumNodeToModel(INode forumRoot) +317
       nForum.BusinessLogic.Helpers.MainForumSettings() +166
       nForum.usercontrols.nForum.ForumTopics.GetTopicsFromCategory() +996
       nForum.usercontrols.nForum.ForumTopics.Page_Load(Object sender, EventArgs e) +62
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24
       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063
  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Aug 22, 2012 @ 12:55
    Scott Hugh Alexandar Petersen
    0

    I have the forum in the root node just below Content

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Aug 22, 2012 @ 13:02
    Scott Hugh Alexandar Petersen
    0

    Uninstalled and removed ANY trace of nForum.... and you know what... it worked like a charm :)

    Cause I reinstalled and voila!

  • Anton Oosthuizen 206 posts 486 karma points
    Sep 19, 2012 @ 10:38
    Anton Oosthuizen
    0

    Hi All 

    Upgraded to Umbraco 4.9 and nForum 1.6 and received the same problem again.  I had to amend Examine config files.

    Later

     

     

Please Sign in or register to post replies

Write your reply to:

Draft