NullReference exception on umbraco.controls.ContentTypeControlNew.IconClassToIconFileName()
I have just started getting NullReference exeptions from all the Document Type screens in the Umbraco v6.1.1:
NullReferenceException: Object reference not set to an instance of an object.]
umbraco.controls.ContentTypeControlNew.IconClassToIconFileName(String iconClass) +4
System.Linq.WhereSelectListIterator`2.MoveNext() +99
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +460
System.Linq.Enumerable.ToList(IEnumerable`1 source) +54
umbraco.controls.ContentTypeControlNew.SetupInfoPane() +628
umbraco.controls.ContentTypeControlNew.OnInit(EventArgs e) +31
System.Web.UI.Control.InitRecursive(Control namingContainer) +380
System.Web.UI.Control.InitRecursive(Control namingContainer) +183
System.Web.UI.Control.InitRecursive(Control namingContainer) +183
System.Web.UI.Control.InitRecursive(Control namingContainer) +183
System.Web.UI.Control.InitRecursive(Control namingContainer) +183
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1621
I have installed FamFamFam icons, and initially everything worked initially. It seems that assigning a particular icon has caused this, although I couldn't which, maybe sitemap.png
Yes, that's how I resolved it too, but I'm concerned that it should be an issue in the first place. In a live environment I couldn't just restart the application pool as a solution :)
I ran into same error when trying to create my very first document type (exciting stuff!). Restarting IIS Express worked for me too. Im also running Web Matrix, so I restarted the website in that as well.
NullReference exception on umbraco.controls.ContentTypeControlNew.IconClassToIconFileName()
I have just started getting NullReference exeptions from all the Document Type screens in the Umbraco v6.1.1:
I have installed FamFamFam icons, and initially everything worked initially. It seems that assigning a particular icon has caused this, although I couldn't which, maybe sitemap.png
Any ideas?
I restarted IIS (or in my case, IIS Express) and it worked for me.
Jason
Yes, that's how I resolved it too, but I'm concerned that it should be an issue in the first place. In a live environment I couldn't just restart the application pool as a solution :)
I just came across this error too, restarting IIS also fixed this for me.
(Umbraco 4.11.7) + FamFamFam icon package installed.
IIS 7.5 is the Web Server (IIS)
I ran into same error when trying to create my very first document type (exciting stuff!). Restarting IIS Express worked for me too. Im also running Web Matrix, so I restarted the website in that as well.
is working on a reply...