To me, it looks like you are not checking the property for null when it is rendered in the view
Hi Per,
Thanks fro reply!
Yes, I had put the check, but it still showing the error at the if end bracket. BTW it is same as other properties which has no check ans these are working properly.
For quick fix, I have tried to change the property name , but no luck.
Please help me.
Thanks
Abhishek
Hi,
One more thing, I have tried it to solve by asigning default value and that value get accepted , but still it throwing the Null refernce exception.
An exception of type 'System.NullReferenceException' occurred in App_Web_y4kh1w3k.dll but was not handled in user code
Additional information: Object reference not set to an instance of an object.
Any suggestions!
Thanks
Abhishek
Hi,
Actually that error is not regarding to this one property only. I tried it commented out the line and it showing same error for other property and so on.
NOw I am really don't understand what goes wrong.
I have doubt that , I have created one another page with same properties name. Is it affecting?
Ah! Found the root cause.
Actualy in this page there is url property which throwing exception while creating the page!
@Per, I you were right! Need to chekc the null on view.
Thanks
Abhishek
Hi All,
I have got unexpected error while creating a new Page in Epi-Server, in following way.
Full Error :
Please help me.
Thanks
Abhishek