ERROR Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating)
Hello.
using Umbraco version 7.5.4 and uCommerce version 7.5.0.17040 and Newsletter Studio version 2.1.5.
In one of our webapplications we are getting this error, and it shut down the application.
[P4828/D2/T2] ERROR Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating)
System.NullReferenceException: Object reference not set to an instance of an object.
at log4net.Appender.RollingFileAppender.AdjustFileBeforeAppend()
at Umbraco.Core.Logging.AsynchronousRollingFileAppender.OnClose()
at log4net.Appender.AppenderSkeleton.Close()
at log4net.Appender.AppenderSkeleton.Finalize()
I don't see anything wrong with the file, but I am no log4net expert. Have you tried replacing the file with the one provided in the umbraco package? Maybe this way you can track down the error.
I get this exact error in my log as well. And an error in backoffice - though i'm not sure they are related (api error 404)
i've recently upgraded to 7.6.1 where there are changes in the log4net version. So thought that was why I see this error. Guess it's not since you see this on 7.5.4 as well
I'm hoping you find the answer, as I would like to know as well :)
I too saw the error in my log during a time where the Backoffice was unresponsive. Cycling the app pool and site did not restore service, however, stopping then restarting the site did. This is the only error I found in the log for that day and nothing else in the Event Viewer.
Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating)
Lucene.Net.Index.MergePolicy+MergeException: Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown. ---> System.IO.IOException: read past EOF
at Lucene.Net.Index.IndexWriter.HandleMergeException(Exception t, OneMerge merge)
at Lucene.Net.Index.IndexWriter.Merge(OneMerge merge)
at Lucene.Net.Index.ConcurrentMergeScheduler.DoMerge(OneMerge merge)
at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run()
--- End of inner exception stack trace ---
at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(Exception exc)
at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
In our case I delete an image and it is successful but after redirecting to the starting page it is when the error happens:
ERROR Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating)
Hello.
using Umbraco version 7.5.4 and uCommerce version 7.5.0.17040 and Newsletter Studio version 2.1.5.
In one of our webapplications we are getting this error, and it shut down the application.
Maybe its related to this? -> https://our.umbraco.org/forum/using-umbraco-and-getting-started//85278-error-umbracocoredynamicsextensionmethodfinder-failed-to-get-types
I have started 2 threads because i think its 2 different problems.
This looks to me like a problem with your log4net config file. Could you post the contents of
config/log4net.config
?Hi Sven.
Thanks for your reply.
Here is our log4net.config we use for this webapplication. Some names are changed for security reasons. :)
Sorry for the late reply
I don't see anything wrong with the file, but I am no log4net expert. Have you tried replacing the file with the one provided in the umbraco package? Maybe this way you can track down the error.
We use this in a lot of projects and only one has this error.
After some search the explanation might be that an earlier error prevent log4net access to write about the error occurring.
But i get back when i know more.
Hi Bo,
I get this exact error in my log as well. And an error in backoffice - though i'm not sure they are related (api error 404)
i've recently upgraded to 7.6.1 where there are changes in the log4net version. So thought that was why I see this error. Guess it's not since you see this on 7.5.4 as well
I'm hoping you find the answer, as I would like to know as well :)
Was anyone able to find a cause for this error?
I too saw the error in my log during a time where the Backoffice was unresponsive. Cycling the app pool and site did not restore service, however, stopping then restarting the site did. This is the only error I found in the log for that day and nothing else in the Event Viewer.
Did you solve it Bo?
We have something similar:
In our case I delete an image and it is successful but after redirecting to the starting page it is when the error happens:
It's not related to any special character for sure because there is none.
Hi ewuski.
To be honest, i can't even remember what project this was on.
And i cannot remember if we got it solved. My guess is that we did not got it solved, because i tend to report back my findings :)
Ok, thanks for replying anyway
is working on a reply...