Click here to Skip to main content
14,208,720 members
Rate this:
Please Sign up or sign in to vote.
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

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
Wes Aday 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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:[^]

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190612.1 | Last Updated 11 Apr 2014
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100