Copied to clipboard

Flag this post as spam?

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


  • Jan Vermeerbergen 79 posts 112 karma points
    Sep 03, 2013 @ 17:17
    Jan Vermeerbergen
    0

    Error when adding new image through Rich Text Editor in 6.1.4

    Hi,

    i'm trying to add a new image through the Tinymce rich text editor in the "create new" tab (screenshot: http://awesomescreenshot.com/0f01o9ru39), but after submitting I get an error (view stack trace below). 

    When I go to the media section I see a node has been created for the image, but the image itself has not been uploaded. The image media type contains a crop property that holds 2 different crops. 

    I have no idea what the problem could be, and this is super-annoying since it happened in a presentation to a client. Pretty embarrassing. 

    Any ideas what is causing this and how to fix it?

     

    STACK TRACE:

     

    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.DataTypeData.ToXMl(XmlDocument data) +24
       Umbraco.Core.Models.PropertyExtensions.ToXml(Property property, IDataTypeService dataTypeService) +356
       Umbraco.Core.Models.PropertyExtensions.ToXml(Property property) +38
       Umbraco.Core.Services.PackagingService.Export(IContentBase contentBase, String nodeName) +1288
       Umbraco.Core.Services.PackagingService.Export(IMedia media, Boolean deep) +112
       Umbraco.Core.Models.ContentExtensions.ToXml(IMedia media) +42
       Umbraco.Core.Services.MediaService.CreateMediaWithIdentity(String name, Int32 parentId, String mediaTypeAlias, Int32 userId) +401
       umbraco.cms.businesslogic.media.Media.MakeNew(String Name, MediaType dct, User u, Int32 ParentId) +94
       umbraco.controls.Images.UploadMediaImage.SubmitButton_Click(Object sender, EventArgs e) +155
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9553594
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724
    



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

  • Tomasz Kowalski 135 posts 445 karma points
    Sep 05, 2013 @ 09:11
    Tomasz Kowalski
    0

    Hej Jan,

    I had problem with images in Umbraco 6.1.4. It has been resolved in 6.1.5. Read more here: http://umbraco.com/follow-us/blog-archive/2013/9/2/umbraco-615-released.aspx

    Maybe it will help you too?

    Regards Thomas

Please Sign in or register to post replies

Write your reply to:

Draft