U4-4579 - 7.1 RC nuget into empty web app - NullReferenceException on Document/Media Types

Created by David De Sloovere 01 Apr 2014, 18:43:11 Updated by Sebastiaan Janssen 02 Apr 2014, 06:00:18

Duplicates: U4-4498

[NullReferenceException: Object reference not set to an instance of an object.]
   umbraco.controls.GenericProperties.GenericProperty.UpdateInterface() +125
   umbraco.controls.GenericProperties.GenericProperty.Page_Load(Object sender, EventArgs e) +36
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.<LoadRecursiveAsync>d__4.MoveNext() +542
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +30
   System.Web.UI.<ProcessRequestMainAsync>d__14.MoveNext() +4346

These are steps I took, unfortunately I can not reproduce the behaviour despite several attempts.

  • Using Visual Studio 2013
  • Create a new web application, targeting .net 4.5
  • Install https://www.nuget.org/packages/UmbracoCms/7.1.0-RC
  • Overwrite web.config (because how could I know the readme says not to if it gets diplayed after this step)
  • Start the website w/o debug (ctrl+f5 for me)
  • Enter credentials and proceed with the default install (nice job on this one)
  • I clicked around the backoffice, everything seems to work, except for Document Types and Media Types

Comments

Sebastiaan Janssen 01 Apr 2014, 19:20:47

Readme says you shouldn't overwrite web.config when your upgrading. During install of course it's fine. The problem was fixed after the RC.

If you are so inclined I would LOVE it if you tried the local install as detailed in http://issues.umbraco.org/issue/U4-4510#comment=67-13390 (scroll down to today's comment by me at 14:40).


David De Sloovere 02 Apr 2014, 05:53:08

I have not been able to reproduce with RC3, so I'm sure it's fixed.

It's unfortunate the nuget doesn't allow showing the readme before you get the option to overwrite the config. Now I know that I should not overwrite if for upgrades, but is it really that obvious for other users? Maybe some more explicit formatting in the readme would help. Right now it's more like a big block of text that looks like a EULA or something, and nobody reads those :-) Trying out the Umbraco 7 out-of-the-box experience from a new user's perspective, I was persistent in getting it to work. Others might not be. I hope my feedback can lead a better experience for new users.


Sebastiaan Janssen 02 Apr 2014, 06:00:18

@DavidDeSloovere For each release we also point out the documentation on upgrading. Working on making it a lot better but that also takes a lot more time. Thanks for the feedback though, noted!


Priority: Normal

Type: Bug

State: Duplicate

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.0

Due in version:

Sprint:

Story Points:

Cycle: