Question

On my local sitecore 66 installation, when going on any random page presentation > details > edit controls the second popup (the edit one) throws the following error:

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.]
Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.OnLoad(EventArgs e)

Any ideas?

Was it helpful?

Solution

Mine sitecore upgrade installation from 6.4 to 6.6. The important part in the error message was the error location

Sitecore.Shell.Applications.Layouts.DeviceEditor

. Running a compare between a standard sitecore 6.6 installation and my local installation I discovered that the file sitecore\shell\applications\layout\deviceeditor.xml was outdated. Replacing the file with the correct version resolved the problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top