I'm experiencing an error uploading images using the rich text editor.
To replicate:
* I click on the Insert/Edit Image button
* switch to create new tab
* choose a location and a file and then click Save
* The following error displays:
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.uploadField.Save() +6912
umbraco.controls.Images.UploadMediaImage.SubmitButton_Click(Object sender, EventArgs e) +1514
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980
It may have something to do with custom event handlers. What I usually do is remove all of the dll's from the bin, add the default ones from the umbraco (in your last case 4.6.1) install. Then, one by one, add the custom dll's until things start failing again.
thanks. Not fun, but I'll give that a try. Apparently, this is happening in 3 of my websites now. Grr....since nobody else is having this issue, it seems like it must be an issue on something that I'm doing.
Thanks. I've been able to track it down to a buttonAdapter that we created that changes the display of <input type="submit"> and converts it to <button>. Our front-end developers prefer button. Now, to just modify this so that it works or at least doesn't interfere with fileuploads.
Cool, I'm glad you got it solved, I couldn't think of anything when you first asked this a few days ago, but you listing the installed packages got me thinking about my recent upgrade to 4.7 where I had similar weird problems.
Unable to upload images using TinyMCE
I'm experiencing an error uploading images using the rich text editor.
To replicate:
* I click on the Insert/Edit Image button
* switch to create new tab
* choose a location and a file and then click Save
* The following error displays:
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:
If it helps, I also have the Zip Upload Package (http://our.umbraco.org/projects/developer-tools/zip-upload) installed. Was having an issue with the ICSharpCode.SharpZipLib.dll but downloaded a new one from the package site and that fixed this issue. I also had the Multiple File Upload Package (http://our.umbraco.org/projects/website-utilities/multiple-file-upload) installed, but heard that others had an issue with it so uninstalled it. And that didn't help me.
Umbraco 4.5.2 (v3.5)
Error Occurs locally (Windows 7 running IIS 7.5), on staging and production (Windows Server 2008 running IIS 7)
Thanks,
Chad
I'm having this issue on a version of the site running in v4.6.1. The second site has the folloing outside modules:
* Standard Values
* ImageGen
* FamFam Icon Packages
* log4Umbraco
* Config Tree
* AutoFolders
* uComponents
-C
It may have something to do with custom event handlers. What I usually do is remove all of the dll's from the bin, add the default ones from the umbraco (in your last case 4.6.1) install. Then, one by one, add the custom dll's until things start failing again.
thanks. Not fun, but I'll give that a try. Apparently, this is happening in 3 of my websites now. Grr....since nobody else is having this issue, it seems like it must be an issue on something that I'm doing.
Thanks. I've been able to track it down to a buttonAdapter that we created that changes the display of <input type="submit"> and converts it to <button>. Our front-end developers prefer button. Now, to just modify this so that it works or at least doesn't interfere with fileuploads.
Cool, I'm glad you got it solved, I couldn't think of anything when you first asked this a few days ago, but you listing the installed packages got me thinking about my recent upgrade to 4.7 where I had similar weird problems.
is working on a reply...