Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    Apr 29, 2013 @ 20:26
    Craig100
    0

    Null-reference YSOD in RTE

    Hi,

    V6.0.3 site, if I click on the "insert/edit image" icon, the popup that appears is just a YSOD with the following stack trace:-

    [NullReferenceException: Object reference not set to an instance of an object.]

       umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() +242

       umbraco.cms.businesslogic.datatype.DataTypeDefinition.<GetByDataTypeId>b__0(DataTypeDefinition x) +6

       System.Linq.WhereArrayIterator`1.MoveNext() +49

       umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetByDataTypeId(Guid DataTypeId) +240

       umbraco.controls.Images.UploadMediaImage..ctor() +70

       ASP.umbraco_controls_images_uploadmediaimage_ascx..ctor() in c:\Users\Craig\AppData\Local\Temp\Temporary ASP.NET Files\root\a13092b9\bff95388\App_Web_uploadmediaimage.ascx.c3c18f9f.iydrf14g.0.cs:0

       ASP.umbraco_plugins_tinymce3_insertimage_aspx.__BuildControlMediaUploader() in c:\VS2012\OI\OI\umbraco\Plugins\Tinymce3\insertImage.aspx:187

       ASP.umbraco_plugins_tinymce3_insertimage_aspx.__BuildControlpane_upload() in c:\VS2012\OI\OI\umbraco\Plugins\Tinymce3\insertImage.aspx:186

       ASP.umbraco_plugins_tinymce3_insertimage_aspx.__BuildControlForm1() in c:\VS2012\OI\OI\umbraco\Plugins\Tinymce3\insertImage.aspx:150

       ASP.umbraco_plugins_tinymce3_insertimage_aspx.__BuildControlTree(umbraco_plugins_tinymce3_insertimage_aspx __ctrl) in c:\VS2012\OI\OI\umbraco\Plugins\Tinymce3\insertImage.aspx:1

       ASP.umbraco_plugins_tinymce3_insertimage_aspx.FrameworkInitialize() in c:\Users\Craig\AppData\Local\Temp\Temporary ASP.NET Files\root\a13092b9\bff95388\App_Web_insertimage.aspx.43b758d9.hmlxmvxu.0.cs:0

       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48

       System.Web.UI.Page.ProcessRequest() +72

       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21

       System.Web.UI.Page.ProcessRequest(HttpContext context) +58

       ASP.umbraco_plugins_tinymce3_insertimage_aspx.ProcessRequest(HttpContext context) in c:\Users\Craig\AppData\Local\Temp\Temporary ASP.NET Files\root\a13092b9\bff95388\App_Web_insertimage.aspx.43b758d9.hmlxmvxu.0.cs:0

       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341

       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

    I've tried republishing the whole site, shutting down and restarting Win7 totally. YSOD still appears. 

    I did just remove webservices.dll this morning, as per instructions, but don't know if this was happening before or not as I'm just developing the site and have only just got around to checking this part.

    Any clues would be appreciated.

    Craig

  • Craig100 1136 posts 2523 karma points c-trib
    Apr 29, 2013 @ 20:33
    Craig100
    0

    Always the way, found the answer 5 mins later: http://our.umbraco.org/forum/using/ui-questions/39103-Problem-with-Rich-Text-Editor-and-Inserting-Images

    Click on each of the Data Types in the Developer section. Delete any that cause a YSOD. In my case it was the 301 Url Tracker.

    Craig

Please Sign in or register to post replies

Write your reply to:

Draft