Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    Oct 10, 2015 @ 13:21
    Simon
    0

    Continous Error in UmbracoTraceLog

    Hi Guys,

    Hope you are well.

    Although I am very happy that I am using Umbraco, I am experincing in Umbraco 7.2.6 an error which I could not find a way from where it is occuring.

    The error is very continous, every second, and it is being logged in UmbracoTraceLog

    The error is:

    Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    
    2015-10-10 14:12:49,743 [270] ERROR umbraco.library - [T197/D9] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2015-10-10 14:12:49,821 [270] ERROR umbraco.library - [T258/D9] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2015-10-10 14:12:49,837 [270] ERROR umbraco.library - [T236/D9] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2015-10-10 14:12:50,024 [270] ERROR umbraco.library - [T246/D9] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    

    That is the error, where you can see that there is no such information. I hae returned here because I need some help regarding this. Also, this error is not affecting the website at such point, because no error are being thrown in the GUI, or even on the CMS.

    Guys, I reallly apprecaite any help from you. Can somebody help me or have an idea about this?

    Thank you so much.

    Appreciated.

  • Simon 692 posts 1068 karma points
    Oct 11, 2015 @ 16:23
    Simon
    0

    Hi Guys,

    Does anybody have any clue?

    Thank yoou.

  • Dhanushka Kodituwakku 3 posts 73 karma points
    Jan 06, 2016 @ 05:54
    Dhanushka Kodituwakku
    0

    This is driving us crazy!

    ERROR umbraco.library [(null)] - [P6684/T7/D2] Could not retrieve current xml node System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.library.GetXmlNodeCurrent()

    We are continuously getting this error. Could use some help from the Umbraco team here.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jan 06, 2016 @ 07:18
    Dave Woestenborghs
    0

    Hi Simon,

    I suspect there is a node linked somewhere that isn't published or doesn't exist anymore.

    Can you see on which page this is ? Than you can check on the backoffice if all the links from that page are still published

    Dave

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Apr 28, 2017 @ 00:06
    Nicholas Westby
    0

    I am also seeing this in a site that I recently upgraded to Umbraco 6.2.6. It's not happening every second. I've only seen a few so far:

    2017-04-27 16:54:45,640 [24] ERROR umbraco.library - [Thread 50] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2017-04-27 16:55:10,553 [24] ERROR umbraco.library - [Thread 62] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2017-04-27 16:55:20,835 [24] ERROR umbraco.library - [Thread 45] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2017-04-27 16:55:23,721 [24] ERROR umbraco.library - [Thread 59] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2017-04-27 16:55:27,022 [24] ERROR umbraco.library - [Thread 62] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2017-04-27 16:55:27,875 [24] ERROR umbraco.library - [Thread 61] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    2017-04-27 16:55:34,215 [24] ERROR umbraco.library - [Thread 17] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    

    None of my code is directly calling GetXmlNodeCurrent, so my guess is this function is called by something I'm making use of (e.g., Contour). Curious if anybody has ideas for how to troubleshoot this.

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Apr 28, 2017 @ 00:16
    Nicholas Westby
    0

    Interestingly, it might actually be related to Contour: http://issues.umbraco.org/issue/CON-948

    That person noticed the same error, but it apparently happens when attempting to delete a form in their case. In my case, the error log entry seems to appear when I click on the "Entries" under a form:

    Entries

    I'm on an older version of Contour, but I'm not sure if it was ever fixed (that YouTrack ticket was not marked as resolved).

  • John 18 posts 74 karma points c-trib
    Jul 11, 2017 @ 13:00
    John
    0

    I can see the code causing the error here:

    https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.7/src/Umbraco.Web/umbraco.presentation/library.cs#L1390

    I suggest that either HttpContext.Current.Items["pageID"].ToString() is not set or the page Id cannot be found in the document.

    I have created a PR to add more null checking and a more useful error message.

    http://issues.umbraco.org/issue/U4-10143

    https://github.com/umbraco/Umbraco-CMS/pull/2041

  • John 18 posts 74 karma points c-trib
    Jul 12, 2017 @ 07:09
Please Sign in or register to post replies

Write your reply to:

Draft