Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone,
When trying to use tge datatype "Image Cropper" in my media section am getting a server error when creating the media.
Any clue what might be causing this?
NullReferenceException: Object reference not set to an instance of an object.] umbraco.editorControls.imagecropper.DataEditor.OnInit(EventArgs e) +842 System.Web.UI.Control.InitRecursive(Control namingContainer) +132 System.Web.UI.Control.InitRecursive(Control namingContainer) +420 System.Web.UI.Control.InitRecursive(Control namingContainer) +420 System.Web.UI.Control.InitRecursive(Control namingContainer) +420 System.Web.UI.Control.InitRecursive(Control namingContainer) +420 System.Web.UI.Control.AddedControl(Control control, Int32 index) +276 umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3675 umbraco.controls.ContentControl.CreateChildControls() +833 System.Web.UI.Control.EnsureChildControls() +181 umbraco.controls.ContentControl.OnInit(EventArgs e) +122 System.Web.UI.Control.InitRecursive(Control namingContainer) +132 System.Web.UI.Control.AddedControl(Control control, Int32 index) +276 umbraco.cms.presentation.editMedia.OnInit(EventArgs e) +669 System.Web.UI.Control.InitRecursive(Control namingContainer) +132 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1969
Did you configure the Image Cropper datatype? It needs to point to a property which contains the image to crop. Most of the time this is the umbracoFile field.
Jeroen
Yes i did but it returns me this server error.
I'm getting the same error trying to use ImageCropper in Umbraco 4.7.2
Did you ever find out what was causing this error?
Hi Jason,
Yes managed to use it. I only created a new Custom DataType under the developers section and used the Image Cropper Control.
You need to add the alias 'umbracoFile' file as Property Alias as well. It should get you working.
//fuji
Same problem... on 4.8. Getting the following error:
Object reference not set to an instance of an object. at umbraco.editorControls.imagecropper.DataEditor.OnInit(EventArgs e)
I've tried creating a new data type and using the Image Cropper type with it - still throws error
Have put in the umbracoFile property and created a Crop.
Not sure what else to try... any suggestions?
Ignore that, solution is here:
http://our.umbraco.org/projects/backoffice-extensions/image-cropper/image-cropper/24081-Error-Object-reference-not-set-to-an-instance-of-an-object
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Image Cropper
Hi everyone,
When trying to use tge datatype "Image Cropper" in my media section am getting a server error when creating the media.
Any clue what might be causing this?
Did you configure the Image Cropper datatype? It needs to point to a property which contains the image to crop. Most of the time this is the umbracoFile field.
Jeroen
Yes i did but it returns me this server error.
I'm getting the same error trying to use ImageCropper in Umbraco 4.7.2
Did you ever find out what was causing this error?
Hi Jason,
Yes managed to use it. I only created a new Custom DataType under the developers section and used the Image Cropper Control.
You need to add the alias 'umbracoFile' file as Property Alias as well. It should get you working.
//fuji
Same problem... on 4.8. Getting the following error:
Object reference not set to an instance of an object. at umbraco.editorControls.imagecropper.DataEditor.OnInit(EventArgs e)
I've tried creating a new data type and using the Image Cropper type with it - still throws error
Have put in the umbracoFile property and created a Crop.
Not sure what else to try... any suggestions?
Ignore that, solution is here:
http://our.umbraco.org/projects/backoffice-extensions/image-cropper/image-cropper/24081-Error-Object-reference-not-set-to-an-instance-of-an-object
is working on a reply...