Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 939 posts 2574 karma points
    Sep 30, 2011 @ 12:30
    Claushingebjerg
    0

    media library broken after clean 4.7.1 install

    I've just installed a clean 4.7.1 site.

    I can create folders and files in the media library but when i create an image i get the following error after naming it. When reloading the folder the image has been created in the tree, but clicking it also returns the following error:

    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.editorControls.imagecropper.DataEditor.OnInit(EventArgs e) +554
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3680
       umbraco.controls.ContentControl.CreateChildControls() +609
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editMedia.OnInit(EventArgs e) +502
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    


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

     

    Any help appriciated

  • Claushingebjerg 939 posts 2574 karma points
    Sep 30, 2011 @ 12:30
    Claushingebjerg
    0

    Ohhhh, i just saw, theres something with the imageropper

  • Claushingebjerg 939 posts 2574 karma points
    Sep 30, 2011 @ 12:40
    Claushingebjerg
    0

    Ok, i soved it.

    I had created a pane for the imagecropper on the mediatype but forgotten to set the parameters on the datatype.

Please Sign in or register to post replies

Write your reply to:

Draft