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()
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()
I have now deployed to a server... and there such error ocurring:
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)"
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()
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:
And website is running ok.
Any help please?
Thank you.
Can you place the entire stacktrace of the error here. Will give some more information.
Dave
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()
Any ideas please about this error?
Thank you.
Do you use this code in your own views ?
Dave
No, I am not using the umbraco.library and not even the method .GetXmlNodeCurrent.
Hi,
I have now deployed to a server... and there such error ocurring:
This is the error in detail from the NEtwork tab from dev-tools:
Any help is much appreciated.
Thank you.
Related to the error above, as explained here:
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
Any help please?
Kind Regards
is working on a reply...