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
    Aug 14, 2015 @ 13:54
    Simon
    0

    Logs - continuous Error

    Hi,

    I am using Umbraco 7.2.6 and I have noticed that in my AppData/Logs/UmbracoTraceLog.txt, I have a continuous error:

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

    And website is running ok.

    Any help please?

    Thank you.

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Aug 14, 2015 @ 14:01
    Dave Woestenborghs
    0

    Can you place the entire stacktrace of the error here. Will give some more information.

    Dave

  • Simon 692 posts 1068 karma points
    Aug 14, 2015 @ 15:29
    Simon
    0

    2015-08-14 09:34:25,053 [19] ERROR umbraco.library - [T45/D3] Could not retrieve current xml node System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.library.GetXmlNodeCurrent()

  • Simon 692 posts 1068 karma points
    Aug 14, 2015 @ 15:30
    Simon
    0
    2015-08-14 09:34:25,053 [19] ERROR umbraco.library - [T45/D3] Could not retrieve current xml node
    System.NullReferenceException: Object reference not set to an instance of an object.
       at umbraco.library.GetXmlNodeCurrent()
    
  • Simon 692 posts 1068 karma points
    Aug 15, 2015 @ 12:54
    Simon
    0

    Any ideas please about this error?

    Thank you.

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Aug 16, 2015 @ 15:00
    Dave Woestenborghs
    0

    Do you use this code in your own views ?

    Dave

  • Simon 692 posts 1068 karma points
    Aug 16, 2015 @ 18:38
    Simon
    0

    No, I am not using the umbraco.library and not even the method .GetXmlNodeCurrent.

  • Simon 692 posts 1068 karma points
    Aug 26, 2015 @ 06:37
    Simon
    0

    Hi,

    I have now deployed to a server... and there such error ocurring:

    1. First, when trying to access the Developers section in the hosted website, the Message "Server error: Contact administrator, see log for full details. Failed to retrieve indexer details". The same details as mentioned above are there in the log file.

    This is the error in detail from the NEtwork tab from dev-tools:

        exceptionMessage: "The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'."
        exceptionType: "System.InvalidOperationException"
        innerException: {message: "An error has occurred.", exceptionMessage: "Array dimensions exceeded supported range.",…}
        message: "An error has occurred."
        stackTrace: null
    
    Also, only in the deployed Site, where I have nuPickers using Lucene, this error is occuring:
    
    ExceptionMessage: "Array dimensions exceeded supported range."
    ExceptionType: "System.OutOfMemoryException"
    Message: "An error has occurred."
    StackTrace: " at Lucene.Net.Index.SegmentInfo..ctor(Directory dir, Int32 format, IndexInput input)
    ↵ at Lucene.Net.Index.SegmentInfos.Read(Directory directory, String segmentFileName)
    ↵ at Lucene.Net.Index.DirectoryReader.AnonymousClassFindSegmentsFile.DoBody(String segmentFileName)
    ↵ at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
    ↵ at Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor)
    ↵ at Lucene.Net.Index.IndexReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, Boolean readOnly)
    ↵ at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)
    ↵ at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()
    ↵ at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)
    ↵ at nuPickers.Shared.LuceneDataSource.LuceneDataSource.GetEditorDataItems(Int32 contextId)
    ↵ at nuPickers.Shared.LuceneDataSource.LuceneDataSourceApiController.GetEditorDataItems(Int32 contextId, String propertyAlias, Object data)
    ↵ at lambda_method(Closure , Object , Object[] )
    ↵ at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
    ↵ at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
    ↵ at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"
    

    Any help is much appreciated.

    Thank you.

  • Simon 692 posts 1068 karma points
    Aug 28, 2015 @ 07:31
    Simon
    0

    Related to the error above, as explained here:

    Exceptions are expensive when it comes to memory. When an exception is thrown, not only does the GC allocate memory for the exception itself, the message of the exception (a string), and the stack trace, but also memory needed to store any inner exceptions and the corresponding objects associated with that exception. If your application is throwing a lot of exceptions, you can end up with a high memory situation quite easily.

    these exceptions are causing problems to memory on the hosted server.

    Have somebody has any idea why this error is being thrown: Could not retrieve current xml node

    System.NullReferenceException: Object reference not set to an instance of an object.
    
       at umbraco.library.GetXmlNodeCurrent()
    

    Any help please?

    Kind Regards

Please Sign in or register to post replies

Write your reply to:

Draft