StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



NullReferenceException when a LocalizationKey...Expand / Collapse
Author
Message
Posted 03/19/2006 8:28:22 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 09/25/2006 4:51:28 PM
Posts: 4, Visits: 48
I accidently misspelled a LocalizationKey in a label control and did not realize it and was getting a NullReferenceException.  I think I should of got a KeyNotFoundException.

It also happened when I used the MicroFour.StrataFrame.UI.Localization.RetrieveTextValue(TextValueKey) with a key that was not in the XML file.  I attached the stack trace.

No big problem, but I though you might want to know.

Tom Wilkinson



  Post Attachments 
Localization Error.txt (22 views, 1.60 KB)
Post #662
Posted 03/20/2006 10:37:36 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 8:51:57 AM
Posts: 4,557, Visits: 4,544
Thanks for the input.  I have just made the change and it will be available in the next update. 
Post #664
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:55am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.