U4-11155 - Create membergroup results in error

Created by Dave Woestenborghs 27 Mar 2018, 14:04:36 Updated by Sebastiaan Janssen 09 Apr 2018, 10:15:53

What did you do? Tried to create a new member group

What did you expect to happen? I would see the create dialog

What actually happened? A error appeared (see screenshot)

Full error: Server Error in '/' Application. Value cannot be null. Parameter name: type Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: type

Source Error:

Line 87: var assembly = Assembly.LoadFrom(IOHelper.MapPath(SystemDirectories.Bin + "/" + taskAssembly + ".dll")); Line 88: var type = assembly.GetType(taskAssembly + "." + taskType); Line 89: var typeInstance = Activator.CreateInstance(type) as ITask; Line 90: if (typeInstance == null) Line 91: {

Source File: D:\Umbraco-CMS\src\Umbraco.Web\UI\LegacyDialogHandler.cs Line: 89

Stack Trace:

[ArgumentNullException: Value cannot be null. Parameter name: type] System.Activator.CreateInstance(Type type, Boolean nonPublic) +12532133 System.Activator.CreateInstance(Type type) +11 Umbraco.Web.UI.LegacyDialogHandler.GetTaskForOperation(HttpContextBase httpContext, User umbracoUser, Operation op, String nodeType) in D:\Umbraco-CMS\src\Umbraco.Web\UI\LegacyDialogHandler.cs:89 Umbraco.Web.UI.LegacyDialogHandler.UserHasCreateAccess(HttpContextBase httpContext, User umbracoUser, String nodeType) in D:\Umbraco-CMS\src\Umbraco.Web\UI\LegacyDialogHandler.cs:127 Umbraco.Web.UI.Umbraco.CreateDialog.SecurityCheck(String nodeTypeAlias) in D:\Umbraco-CMS\src\Umbraco.Web.UI\Umbraco\Create.aspx.cs:32 Umbraco.Web.UI.Umbraco.CreateDialog.OnLoad(EventArgs e) in D:\Umbraco-CMS\src\Umbraco.Web.UI\Umbraco\Create.aspx.cs:17 System.Web.UI.Control.LoadRecursive() +59 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

1 Attachments

Comments

Dave Woestenborghs 27 Mar 2018, 14:13:28

Created a PR for this one : https://github.com/umbraco/Umbraco-CMS/pull/2545


Dave Woestenborghs 29 Mar 2018, 07:03:34

This happens also in 7.9.3


Priority: Critical

Type: Bug

State: Fixed

Assignee:

Difficulty: Easy

Category: Editor

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.10.0, 7.9.3

Due in version: 7.10.2, 7.9.4

Sprint:

Story Points:

Cycle: