I've upgraded Umbraco from version 7.4.3 to version 7.11.1. Everything works but:
when I try to save and publish I get this long exception:
An error occured
One or more errors occurred.
Exception Details
System.AggregateException: One or more errors occurred.
Stacktrace
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Umbraco.Web.WebApi.Binders.ContentItemBaseBinder`2.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)
at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)
at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
Inner Exception
System.AggregateException: One or more errors occurred.
at Umbraco.Web.WebApi.Binders.ContentItemBaseBinder`2.<>c__DisplayClass5_0.<BindModel>b__1(Task`1 x)
at System.Threading.Tasks.Task.Execute()
Inner Exception
AutoMapper.AutoMapperMappingException:
Mapping types:
Property -> ContentPropertyDto
Umbraco.Core.Models.Property -> Umbraco.Web.Models.ContentEditing.ContentPropertyDto
Destination path:
ContentItemDto`1.Properties.Properties.Properties31[31]
Source value:
Umbraco.Core.Models.Property
at Umbraco.Web.WebApi.Binders.ContentItemBaseBinder`2.<GetModelAsync>d__7.MoveNext()
Inner Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at SEOChecker.Core.Helpers.ContextHelper.get_Services()
at SEOChecker.Core.Extensions.UmbracoExtensions.ContentTypeExtensions.(IContentType , ICollection`1 )
at SEOChecker.DataTypes.Extensions.PropertyTypeExtensions..(IContentType )
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at SEOChecker.DataTypes.PropertyEditors.PropertyEditorWrappers.XMLSitemapPropertyWrapper.ConvertDbToEditor(Property property, PropertyType propertyType, IDataTypeService dataTypeService)
at Umbraco.Web.Models.Mapping.ContentPropertyBasicConverter`1.Convert(ResolutionContext context)
at Umbraco.Web.Models.Mapping.ContentPropertyDtoConverter.Convert(ResolutionContext context)
at AutoMapper.MappingExpression`2.<>c__DisplayClass23.<ConvertUsing>b__22(ResolutionContext context) in c:\dev\AutoMapper\src\AutoMapper\Internal\MappingExpression.cs:line 469
at AutoMapper.Mappers.TypeMapMapper.Map(ResolutionContext context, IMappingEngineRunner mapper) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapMapper.cs:line 22
at AutoMapper.MappingEngine.AutoMapper.IMappingEngineRunner.Map(ResolutionContext context) in c:\dev\AutoMapper\src\AutoMapper\MappingEngine.cs:line 246
I think this might be the root of all evil, as it appears in my log for almost every action I perform:
2018-08-08 11:15:35,000 [P9288/D11/T208] ERROR SEOChecker.HttpModules.ValidationqueueModule - SEOChecker: SEOChecker: Error running scheduled task
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at SEOChecker.Core.Helpers.Request.ParseUrl(String url, Boolean allowRedirect, String method, Int32 timeOut)
at SEOChecker.HttpModules.ValidationqueueModule.TimerCallback(Object sender)
an update: When removing SEO checker 2.0.1 the error goes away.
Thing is, I require SEO chceker, so I don't really understand what does it has to do with saving content.
I literally just ran into this as well.. It's definitely SEO Checker. Have been battling it for a few days now, but today we just realized that SEO Checker has killed all our Croppers. Not sure how best to handle. Rotem, have you found a solution?
I am also seeing a lot of this in our logs
Umbraco.Core.Models.Property ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SEOChecker.Core.Helpers.ContextHelper.get_Services()
at SEOChecker.Core.Extensions.UmbracoExtensions.ContentTypeExtensions.(IContentType , ICollection`1 )
at SEOChecker.DataTypes.Extensions.PropertyTypeExtensions..(IContentType )
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at SEOChecker.DataTypes.Extensions.PropertyTypeExtensions.GetContentType(PropertyType propertyType)
at SEOChecker.DataTypes.PropertyEditors.PropertyEditorWrappers.RobotsTxtPropertyWrapper.ConvertDbToEditor(Property property, PropertyType propertyType, IDataTypeService dataTypeService)
at Umbraco.Web.Models.Mapping.ContentPropertyBasicConverter`1.Convert(ResolutionContext context)
at Umbraco.Web.Models.Mapping.ContentPropertyDtoConverter.Convert(ResolutionContext context)
at AutoMapper.MappingExpression`2.<>c__DisplayClass23.<ConvertUsing>b__22(ResolutionContext context) in c:\dev\AutoMapper\src\AutoMapper\Internal\MappingExpression.cs:line 469
at AutoMapper.Mappers.TypeMapObjectMapperRegistry.CustomMapperStrategy.Map(ResolutionContext context, IMappingEngineRunner mapper) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapObjectMapperRegistry.cs:line 27
at AutoMapper.Mappers.TypeMapMapper.Map(ResolutionContext context, IMappingEngineRunner mapper) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapMapper.cs:line 22
at AutoMapper.MappingEngine.AutoMapper.IMappingEngineRunner.Map(ResolutionContext context) in c:\dev\AutoMapper\src\AutoMapper\MappingEngine.cs:line 246
--- End of inner exception stack trace ---
Hi M N.
I'm waiting for Richard Soetman to create version 2.0.2 since I cannot seem to install the patch manually.
Did u succeed in installing the patch?
Richard Van der Meel - Thank you for all the help :)
Just got the patch from Richard van der Meel - seems to be working, but I'm waiting to confirm if my approach has any foreseeable issues.
Specifically, i changed the extension on the nuget to .zip (since they are just zip files) and then manually grabbed the binaries out of the lib folder and dumped them in my /bin
I removed SEO Checker out of my NuGet for now, just wanted a quick'n dirty test until Richard S has an official fix.
Waiting to hear from Richard van der Meel on whether the exact fix for this issue was purely backend code (binary).
Hi @M N . So u had the exact error? Since I tried installing the patch manually, and still same error (Please email me so we can talk)
[email protected]
Still doesn't work for me. I downgraded for 1.0 for now, cause it seems that it works like that, and i'm waiting for Richrad to release a new version to address this issue. Thanks anyway :)
I was mistaken, that other patch did not work sadly.
However, Richard sent me a 2.0.2 that definitely does work. At least from what we can tell. I haven't really stress tested it or regressed any of the main features, but our content manager was able to upload Image Cropper images after I swapped out the binaries.
I am sure he will expound on this in the near future and officially push out the update, but if you want I can send you a link to grab the binaries?
I am running into a similar issue with SEOChecker v2.1.0 and v2.2. On a clean empty or starter kit site, it works fine. Below is the error I am getting. The site I am running have macros, custom editors and data types.
2018-10-12 08:46:37,704 [P16692/D2/T9] ERROR Umbraco.Web.Editors.SectionController - Unhandled controller exception occurred
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromControllerTree(ApplicationTree appTree, String id, FormDataCollection formCollection, HttpControllerContext controllerContext)
at Umbraco.Web.Trees.ApplicationTreeController.<GetRootForSingleAppTree>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Umbraco.Web.Trees.ApplicationTreeController.<GetApplicationTrees>d__0.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Umbraco.Web.Editors.SectionController.GetSections()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was
Umbraco aggregate exception
Hi.
I've upgraded Umbraco from version 7.4.3 to version 7.11.1. Everything works but: when I try to save and publish I get this long exception:
I'm clueless.
Please help, Rotem
Hi Rotem,
the error states something about SeoChecker? Have you checked if your version is compatible with the umbraco version?
Just guessing...
Regards David
Hi David. SEO Checker 2.0.1 is indeed compatible with Umbraco 7.11.1
I think this might be the root of all evil, as it appears in my log for almost every action I perform:
Hi Rotem,
I would post this issue in the SeoChecker forum. Or contact Richard directly. Seems to be related with the package, I think.
Regards David
Thanks, I did. Waiting for an answer from him. Will update this post if I have any new insights.
an update: When removing SEO checker 2.0.1 the error goes away. Thing is, I require SEO chceker, so I don't really understand what does it has to do with saving content.
I literally just ran into this as well.. It's definitely SEO Checker. Have been battling it for a few days now, but today we just realized that SEO Checker has killed all our Croppers. Not sure how best to handle. Rotem, have you found a solution?
I am also seeing a lot of this in our logs
We had the same issue. It is a bug in v2.0.0. It should have been fixed in v2.0.1 but it seems it did not do the trick.
Richard Soeteman is currently unavailable (holliday). I have a patched version, so if someone has an problems contact me ([email protected]).
Hi M N. I'm waiting for Richard Soetman to create version 2.0.2 since I cannot seem to install the patch manually. Did u succeed in installing the patch? Richard Van der Meel - Thank you for all the help :)
I Hi Rotem, I have not attempted this yet.
But I will let you know when I have it.
Richard van der Meel - thank you for your kind offer!
Just got the patch from Richard van der Meel - seems to be working, but I'm waiting to confirm if my approach has any foreseeable issues.
Specifically, i changed the extension on the nuget to .zip (since they are just zip files) and then manually grabbed the binaries out of the lib folder and dumped them in my /bin
I removed SEO Checker out of my NuGet for now, just wanted a quick'n dirty test until Richard S has an official fix.
Waiting to hear from Richard van der Meel on whether the exact fix for this issue was purely backend code (binary).
Hope that helps.
Hi @M N . So u had the exact error? Since I tried installing the patch manually, and still same error (Please email me so we can talk) [email protected]
Still doesn't work for me. I downgraded for 1.0 for now, cause it seems that it works like that, and i'm waiting for Richrad to release a new version to address this issue. Thanks anyway :)
Sorry for the delay Rotem,
I was mistaken, that other patch did not work sadly.
However, Richard sent me a 2.0.2 that definitely does work. At least from what we can tell. I haven't really stress tested it or regressed any of the main features, but our content manager was able to upload Image Cropper images after I swapped out the binaries.
I am sure he will expound on this in the near future and officially push out the update, but if you want I can send you a link to grab the binaries?
Shoot me an email mnd3unh (gmail)
-Marc
Thanks Marc,
I already got the files from Richard.
Let's hope that this post will help others in the future.
Rotem
Hi,
I am running into a similar issue with SEOChecker v2.1.0 and v2.2. On a clean empty or starter kit site, it works fine. Below is the error I am getting. The site I am running have macros, custom editors and data types.
Thanks in advance.
Hi. The only viable solution is to upgrade seochecker to latest package via nuget
Hi Rotem,
Thanks. I have resolved it 5 months ago and cannot remember what I did.
is working on a reply...