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
when I try to insert an image in the text editor - in 4.11.3
the details are
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetByDataTypeId(Guid DataTypeId) +46
ASP.umbraco_plugins_tinymce3_insertimage_aspx.__BuildControlTree(umbraco_plugins_tinymce3_insertimage_aspx __ctrl) +57
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
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) +4
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
I don't think it is because of the upgrade becuase I have upgrade another site without problems.
I have tried to compare the 2 sites and the appear to be almost similar. I think it has something to do with the tinymce editor
I think it might be the upgrade...I've seen the same error as you see above. It's pretty weird since I made an upgrade to 4.11.3 on one installation where everything worked fine and then made the same process for another site as well where I started seeing this all of the sudden :-/
What version did you upgrade from? And was it the same version your succesfull upgrade worked on?
Perhaps you should try to copy all the /bin, /umbraco_client and /umbraco folders once again to see if that makes any difference. Also try double checking permissions and increment the version number in the /config/ClientDependency.config file.
(I did not get this issue fixed myself since it was just a test-installation, but curious to see if we can figure out what happens here).
I upgraded from 4.11.2 for both systems and I have also tried to copy files and settings from the working system without luck. I have tried to upgrade the version number also without luck.
I have tried to make a local copy and it also fails and upgrading to 6.0.0 does not fix the problem either.
I have downloaded the source and I'm now trying to find out what's going on.
Apparently I had problems with a DataType - MultipleFileUpload - the datatype was there but somehow the control could not be found when it ran through the list of datatypes and that's what happened when the InsertImage control was being loaded.
To check for a similar problem click on the datatypes one be one to see if they get properly loaded - if not - there's the problem.
Thanks for the comments, Jan
Nice work! Thanks for letting us know :)
Many thanks for posting your solution! Had the same issue.
I'm not clear on the fix for this issue. Can you please explain what needs to be done to resolve the problem. Thanks!
I think that in Paul's case he had a datatype called "MultiFileUpload", which if I remember correctly is a 3rd party datatype available as a downloadable package for v4/6 sites.
The datatype appeared fine in the "Datatypes" list but the files needed for the datatype did not exist on the disk - I suspect that in this case some folders/files were missing in the /usercontrols/ folder.
But can you tell more about your issue? Is it for the same version of Umbraco as Paul is describing above? And are you making use of the same datatype as well?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted