Thanks for getting back, as strange as this may sound I've just moved the blue focal point on the image that was uploaded and then re cropped the image using latestNewsCrop, republished and it now renders!
Really don't know what's going on - seems quite buggy
No, doesn't sound strange, as I've encountered the same. Sometimes the focal point "shoots off" which results in a null position being set. This is turn causes the property converter (that takes the JSON that is stored in Umbraco and converts it back to an ImageCropDataSet object) to throw the exception you saw.
Null object cannot be converted to a value type.
Hi All,
All of a sudden i am receiving the following error when trying to get a crop from my image cropper data type.
My code is as follows, is this the correct way to call the crop? My property is called image and my prop alias is latestNewsCrop.
The error i get is as follows
Anyone help?
Thanks Paul
Maybe its related to this? http://issues.umbraco.org/issue/U4-8769
Anyone had this?
I think it is related to that. I'd upvote the issue if you can.
Hi,
Thanks for getting back, as strange as this may sound I've just moved the blue focal point on the image that was uploaded and then re cropped the image using latestNewsCrop, republished and it now renders!
Really don't know what's going on - seems quite buggy
Paul
No, doesn't sound strange, as I've encountered the same. Sometimes the focal point "shoots off" which results in a null position being set. This is turn causes the property converter (that takes the JSON that is stored in Umbraco and converts it back to an
ImageCropDataSet
object) to throw the exception you saw.I'd just urge people to vote for the issue at http://issues.umbraco.org/issue/U4-8769 so the core team see it as important.
is working on a reply...