Click here to Skip to main content
15,920,801 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I added new language in sitefinity cms version 6.2.
Administration->Setting->Language ->Add Language. and selected Spanish language.
And saved. It is fine.
The issue is that when I open a page then getting error as

VB
Server Error in '/' Application.
Object reference not set to an instance of an object.


Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Sitefinity.Modules.Pages.PageExtesnsions.FormatRelativeUrl(PageNode pageNode, Boolean fallbackToAnyLanguage) +333
Telerik.Sitefinity.Modules.Pages.PageExtesnsions.GetFullUrlIgnoreCache(PageNode pageNode, CultureInfo culture, Boolean fallbackToAnyLanguage, Boolean resolveUrl) +48
Telerik.Sitefinity.Modules.Pages.PageExtesnsions.GetFullUrl(PageNode pageNode, CultureInfo culture, Boolean fallbackToAnyLanguage, Boolean resolveUrl) +52
Telerik.Sitefinity.Localization.UrlLocalizationStrategies.UrlLocalizationService.ResolvePageUrl(PageNode pageNode, CultureInfo targetCulture, Boolean useNewImplementation) +156
Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl.GetMissingLanguageUrl(CultureInfo ci) +71
Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl.GetUrlForLanguage(CultureInfo ci) +133
Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl.LanguagesRepeater_ItemCreated(Object sender, RepeaterItemEventArgs e) +256
System.Web.UI.WebControls.Repeater.OnItemCreated(RepeaterItemEventArgs e) +115
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +87
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +478
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
System.Web.UI.WebControls.Repeater.DataBind() +76
Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl.BindLanguageContainers(IEnumerable`1 languages) +653
Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl.InitializeContainers() +61
Telerik.Sitefinity.Localization.Web.UI.LanguageSelectorControl.InitializeControls(GenericContainer container) +644
Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls() +89
System.Web.UI.Control.EnsureChildControls() +102
System.Web.UI.Control.PreRenderRecursiveInternal() +42
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Posted
Comments
[no name] 11-Apr-14 7:07am    
"Object reference not set to an instance of an object" means exactly the same as every other "Object reference not set to an instance of an object" that comes up here all of the time. You are trying to use a reference to an object that is null. Or trying to access the methods or properties of an object that are null. But there is nothing in your posting that would tell anyone what object you are talking about.

1 solution

Hello vipinsethumadhavan,

If all you did was click on places and set a language, then probably it's an issue with the app from telerik. You might benefit from posting a question at their forum:
http://www.telerik.com/forums[^]

We work with Telerik tools and their forum usually provides an answer (sometimes from their own tech support) within a decent amount of time.

Unfortunately I haven't run on the same problem as you, otherwise I would give you the answer. But through the link you might get it far quicker than any other means.

Good Luck
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900