U4-1442 - This must be a bug. 4.11.2.2 can't create Macro.

Created by esunxray 12 Jan 2013, 05:33:01 Updated by Sebastiaan Janssen 05 Jun 2015, 16:28:23

Is duplicated by: U4-1445

After I create a Macro. It will show YSOD.

Server Error in '/' Application.

Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.] Umbraco.Web.UI.Umbraco.Developer.Macros.EditMacro.PopulateFieldsOnLoad(Macro macro, String macroAssemblyValue, String macroTypeValue) +182 umbraco.cms.presentation.developer.editMacro.Page_Load(Object sender, EventArgs e) +383 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +18 Umbraco.Web.UI.Umbraco.Developer.Macros.EditMacro.OnLoad(EventArgs e) +15 System.Web.UI.Control.LoadRecursive() +70 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Comments

Jeroen Breuer 12 Jan 2013, 17:44:31

Topic: http://our.umbraco.org/forum/ourumb-dev-forum/bugs/37477-Latest-Umbraco-Version-41122-Cannot-Create-Macros


Sebastiaan Janssen 12 Jan 2013, 17:45:42

Fixed in changeset 099deb957d05 - 4.11.3 nightlies are being built, so get your update there: http://nightly.umbraco.org/umbraco%204.11.3/


Sebastiaan Janssen 12 Jan 2013, 18:19:24

4.11.3.1 is out now with this bug fix. http://umbraco.codeplex.com/releases/view/98167


Scott Hugh Alexandar Petersen 12 Jan 2013, 18:38:05

Sorry I just double posted I believe, I get another error now and it still doesn't work for me.

It is not all macros that cannot be edited.


Sebastiaan Janssen 12 Jan 2013, 19:05:16

@Scott, you were quick, I made an error and 4.11.3.1 should fix that, my apologies: http://umbraco.codeplex.com/releases/view/98167


Scott Hugh Alexandar Petersen 12 Jan 2013, 20:17:34

@Sebastiaan, now we are talking :) thank you.


Priority: Show-stopper

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 4.11.2

Due in version: 4.11.3

Sprint:

Story Points:

Cycle: