Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

ResourceBundle sometimes giving MissingResourceException

Thread view: 
varun.puttewar@gmail.com - 28 Mar 2008 11:32 GMT
Hi,

I have a java application using a ResourceBundle, it has been
populated from properties file, I am facing problem some times one
particular key gives MissingResourceException, and some times
application find that key without any exception.

I have checked the group to find the answer, please give me suggestion
or pointer to solve this problem.

Thanks,
Varun Puttewar
Sabine Dinis Blochberger - 31 Mar 2008 11:00 GMT
> Hi,
>
[quoted text clipped - 5 lines]
> I have checked the group to find the answer, please give me suggestion
> or pointer to solve this problem.

Make sure the key exists in the default.properties. That is where it
will look if it can't find a properties file for the selected locale
(the last resort). And will throw exception like the one you get.

Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.