﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » NullReferenceException when a LocalizationKey is missing from XML file</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 11:04:11 GMT</lastBuildDate><ttl>20</ttl><item><title>NullReferenceException when a LocalizationKey is missing from XML file</title><link>http://forum.strataframe.net/FindPost662.aspx</link><description>I accidently misspelled a LocalizationKey in a label control and did not realize it and was getting a NullReferenceException.&amp;nbsp; I think I should of got a &lt;FONT size=2&gt;&lt;FONT size=2&gt;KeyNotFoundException.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It also happened&amp;nbsp;when I used the &lt;FONT size=2&gt;MicroFour.StrataFrame.UI.Localization.RetrieveTextValue(TextValueKey) with a key that was not in the XML file.&amp;nbsp; I attached the stack trace.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;No big problem, but I though you might want to know.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Tom Wilkinson&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 20 Mar 2006 10:37:36 GMT</pubDate><dc:creator>Tom Wilkinson</dc:creator></item><item><title>RE: NullReferenceException when a LocalizationKey is missing from XML file</title><link>http://forum.strataframe.net/FindPost664.aspx</link><description>Thanks for the input.&amp;nbsp; I have just made the change and it will be available in the next update.&amp;nbsp;;)</description><pubDate>Mon, 20 Mar 2006 10:37:36 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>