0

I am facing "Object reference not set to an instance of an object" error with component preview in component opened state. It is rendering the preview correctly with same component and component template in component closed state as well as in Template Builder.

I tried to remove all the TBBs from the component template, render the component with default component template but in all the cases it is throwing the same error in component opened state.

I checked this for other schema which have the same definition and it is working as expected in all the above mentioned cases.

So, please suggest any solution to identify and resolve this issue.

4
  • 2
    Please add logs (Event Viewer) Mar 23 '15 at 11:30
  • Please update your question with detailed error (if possible) to get a good answer. Also make sure you are previewing in correct publication as most of time while opening a shared component we open it from parent publication and it's quite possible some items missing there. Mar 23 '15 at 11:30
  • 1
    Does your component have any external items like image from some other system? If yes, then check if that external system is working properly. Because I have seen that when image system is down you typically get this error.
    – Hiren Kaku
    Mar 23 '15 at 20:25
  • check your previewPath in cm config "%TRIDION_HOME%\config" & clean the directory and try. path will look like "drive:\Program Files\Tridion\web\Preview\"
    – Raj Kumar
    Mar 26 '15 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.