ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 7] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at umbraco.controls.ContentTypeControlNew.Page_Load(Object sender, EventArgs e)
at Umbraco.Web.UI.Umbraco.Controls.ContentTypeControlNew.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.<LoadRecursiveAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
at System.Web.UI.Page.<ProcessRequestMainAsync>d__14.MoveNext()
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.<ProcessRequestMainAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.UI.Page.<ProcessRequestAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.UI.Page.<ProcessRequestAsync>d__2c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
at ASP.umbraco_members_editmembertype_aspx.EndProcessRequest(IAsyncResult ar) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\38d969d2\29e3a0d\App_Web_editmembertype.aspx.590a8cbd.h79umsjg.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I hope it works for some of you! or it helps to get closer to the solution.
here I've got the same issue once we updated the version to the 7.2.1.
The thing is that it works for two of my colleagues but it doesn't work on my localhost nor production evironment. But... good news! my boss got it to work in production. What did he do?
Steps to follow:
Exit IIS Express (just in case you are doing it in localhost)
Go to the project folder ..\App_Data\TEMP\ExamineIndexes and delete the three folders inside it (External, Internal, Internalmember), this will be recreated once you run the app again. After doing this you have to run the app and enter in the backend and republish the entire site again. (Content->do something else -> Republish entire site. It worked in production, I'm still struggling... so i don't know if there is anything else I'm missing in my localhost.
Don't know if it helps anyone but this happened to me after I installed uIconsy. This package replaces the file /umbraco/controls/ContentTypeControlNew.ascx and it was this that was causing the NullReferenceException.
You can do one of two things. You could re-add the following code at around line 90 (before the closing asp:panel tag) and this should fix the error:
However, this isn't great since we're losing many of the updates that have been made to the core file, so it may be safer to just revert to the original file and add the following code to the bottom, which I think is the only change uIconsy really needs to make to this file:
<script>
// this is a ui hack to show the image icon on the doctype.
$(function(){
// get icon
var icon = $('.umbIconDropdownList i');
var cssClass = icon.attr('class');
if (cssClass.indexOf('.') == -1){
// icon not a file, so do nothing
return;
}
// icon is a file, so let's show it!
//background-image:url(' + path + ');padding-left:20px;background-repeat:no-repeat;
var path = '/umbraco/images/umbraco/' + cssClass;
icon.css('background-image', 'url('+ path +')');
icon.css('background-repeat', 'no-repeat');
icon.css('padding-left', '20px');
});
</script>
Error when opening doc types after upgrade to 7.2
Hi!
I just upgraded to V7.2 and when I try to open a document type in the back office a I get this error:
When i upgrades (using nuget) I got this error:
& : File D:\.....\Development\src\packages\UmbracoCms.7.2.0\tools\install.ps1 cannot be loaded because running scripts is disabled on this system.
For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ & 'D:\.....Development\src\packages\UmbracoCms.7.2.0\tools\instal ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Anyone seen this or have any idea on what could be the problem?
Probably something went wrong during my update (as the error from the console indicats). I just ran an
update-package UmbracoCms -reinstall
To reinstall the package. I also followed this thread (errors when having resharper installed) https://youtrack.jetbrains.com/issue/RSRP-405915 which helped.
Now its working =D
Hi,
We have the same issue.
Thanks
Same issue after upgrade... works fine in a local environment, but broken when deployed.
Issue occures when requesting /umbraco/settings/editNodeTypeNew.aspx
We have just upgraded and face the same issue.
I'm afraid the exception doesn't provide too much detail that allows us to make some changes on our own.
I have raised the bug here: http://issues.umbraco.org/issue/U4-6084
Hello all,
(POSSIBLE SOLUTION)
I hope it works for some of you! or it helps to get closer to the solution.
here I've got the same issue once we updated the version to the 7.2.1.
The thing is that it works for two of my colleagues but it doesn't work on my localhost nor production evironment. But... good news! my boss got it to work in production. What did he do?
Steps to follow:
Exit IIS Express (just in case you are doing it in localhost)
Go to the project folder ..\App_Data\TEMP\ExamineIndexes and delete the three folders inside it (External, Internal, Internalmember), this will be recreated once you run the app again. After doing this you have to run the app and enter in the backend and republish the entire site again. (Content->do something else -> Republish entire site. It worked in production, I'm still struggling... so i don't know if there is anything else I'm missing in my localhost.
At least it's worth to try!
Good luck! and keep me updated!
Regards,
Aixa
Don't know if it helps anyone but this happened to me after I installed uIconsy. This package replaces the file /umbraco/controls/ContentTypeControlNew.ascx and it was this that was causing the NullReferenceException.
You can do one of two things. You could re-add the following code at around line 90 (before the closing asp:panel tag) and this should fix the error:
However, this isn't great since we're losing many of the updates that have been made to the core file, so it may be safer to just revert to the original file and add the following code to the bottom, which I think is the only change uIconsy really needs to make to this file:
Yessss! Kieron!! thank you very much!!
Adding this to my code as you suggested it's finally working!
My pleasure!
Grab the code from the 7.2.1 tag: https://github.com/umbraco/Umbraco-CMS/blob/release-7.2.1/src/Umbraco.Web.UI/umbraco/controls/ContentTypeControlNew.ascx
And add the script from my previous comment at the bottom. This will give you all the drag and drop features in the frame.
is working on a reply...