U4-4355 - Random lock ups of backend make editor almost impossible to use

Created by Harry Kakoulidis 07 Mar 2014, 10:24:24 Updated by Shannon Deminick 21 Jun 2017, 07:59:55

Relates to: U4-4182

Since upgrading to version 7, it's getting very hard to edit content from the backend. Very often after clicking the "Publish" button things like this happen

  • The publish button stays gray and I need to reload the page
  • Clicking any other node in the tree just locks up the editor
  • Clicking media section or any other section still has no response

When this happens, the only way to continue my work is to kill the application pool running umbraco. But still it is very hard to do any work, as this happens almost every 1 in 5 times I publish a modification.

I don't know if this has anything to do but I do see the following in the UmbracoTraceLog.txt

2014-03-07 12:12:37,322 [6] ERROR Umbraco.Core.PluginManager - [Thread 9] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter System.MissingMethodException: No parameterless constructor defined for this object. at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable`1 types, Boolean throwException)

Also I see many many errors like below (one after the other at the same miliseconds), I think for every node in the tree.

2014-03-07 12:13:39,140 [6] ERROR umbraco.presentation.nodeFactory.UmbracoSiteMapProvider - [Thread 18] Error adding node 2934 to SiteMapProvider in loadNodes() System.Web.HttpException (0x80004005): 'http://*/' is not a valid virtual path. at System.Web.Util.UrlPath.CheckValidVirtualPath(String path) at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode) at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode) 2014-03-07 12:14:24,502 [6] INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 9] Content '' with Id '2934' has been published. 2014-03-07 12:15:42,447 [6] INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 14] Content '' with Id '2934' has been published.

Please help me as I am ready to downgrade because these problems.

3 Attachments

Comments

Shannon Deminick 09 Mar 2014, 23:46:26

I'll see if i can replicate any of this.


Per Ploug 10 Mar 2014, 11:51:37

Could you also please tell us what browser you use, and if there are any exceptions in the browsers developer console


Harry Kakoulidis 10 Mar 2014, 12:01:25

Same behavior in both Firefox (v27.1) and Chrome (v33). I will check the developer console as soon as possible.


Shannon Deminick 11 Mar 2014, 06:00:22

I've fixed the issue with regards to the exception logged: Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter

I'll investigate the sitemap provider now.


Shannon Deminick 11 Mar 2014, 06:38:17

I cannot replicate the errors with the sitemap provider. Are you able to tell us what the value of this is? 'http://*******/'

or at least give us an idea? I'm wondering if for some reason the call to node.Url is returning an absolute path, perhaps @zpqrtbnk might know if in some circumstances that happens ?

Lastly, if you don't require the SiteMapProvider (most people dont) please remove that section from your web.config which will disable it all together and improve performance a little bit.

Let us know how you go with the developer console output and what happens when you remove the sitemapprovider from your config.


Harry Kakoulidis 11 Mar 2014, 08:39:18

It looks like: http://ppp-el.xxx.gr/internal/intcovers/

I am sending screenshots (see the 3 attached jpegs) of how Umbraco is set up here: There are two root nodes. It's interesting to note that when clicking publish while editing any node in the second root (like in the first screenshot the highlighted one), then in the log, I get the "ERROR umbraco.presentation.nodeFactory.UmbracoSiteMapProvider" for every node in the second root, but not from any node in the first root.

I also have

You'll also note that one of the hostnames has a .test tld - this I use internally for testing (by overriding the HOSTS file to point localhost to the .test domain).


Shannon Deminick 12 Mar 2014, 04:13:03

Hrm, I have a feeling that this particular error is due to full URLs getting returned for node's with domains assigned.

If you are not using the SitemapProvider - can you please remove it from the web.config and let us know if the problem goes away?


Shannon Deminick 21 Jun 2017, 07:59:55

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Bug

State: Closed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.3

Due in version:

Sprint:

Story Points:

Cycle: