Copied to clipboard

Flag this post as spam?

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


  • Carsten Fallesen 35 posts 154 karma points
    Nov 13, 2012 @ 10:53
    Carsten Fallesen
    0

    Trouble creating topics in live site

    Hi,

    I have a very strange problem with my nForum installation. Everything works perfectly in the dev and staging environment, but live behaves differently. In live I can create one topic after an app pool restart without problems, but he second topic fails when updating the document cache after creating the inital post. The exception I get is:

    <error><![CDATA[MESSAGE:
    Exception has been thrown by the target of an invocation.

    STACKTRACE:
    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at umbraco.presentation.umbracobase.requestModule.invokeMethod(restExtension myExtension, Object[] paras)

    INNEREXCEPTION:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: attribute
    at System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute)
    at UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type)
    at Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers)
    at umbraco.content.DocumentCacheEventHandler.Invoke(Document sender, DocumentCacheEventArgs e)
    at umbraco.content.UpdateDocumentCache(Document d)
    at umbraco.library.UpdateDocumentCache(Int32 DocumentId)
    at nForum.BusinessLogic.nForumBaseExtensions.NewForumTopic(String catId) in c:\Users\Carsten.VL\Documents\Projects\LederIndsigt\nForum.BusinessLogic\nForumBaseExtensions.cs:line 451]]></error>

    I have been checking the differences between live and dev numerous times and can't find any significant differences. I have also copied DB from live to dev. I have made a few modifications in the nForum code for customer specific features. Most significantly I have added one field in topic and post, but everything works in dev and staging.

    I am running umbraco 4.9.0 and nForum 1.6

    Any suggestions on how to proceed are very welcome

    /Carsten

  • Carsten Fallesen 35 posts 154 karma points
    Nov 15, 2012 @ 10:21
    Carsten Fallesen
    0

    For now the problem has been solved by inserting a small delay between creation of topic and initial post. Not a good solution though!

Please Sign in or register to post replies

Write your reply to:

Draft