Re: ResourceBundle sometimes giving MissingResourceException



varun.puttewar@xxxxxxxxx wrote:

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.

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.

--
Sabine Dinis Blochberger

Op3racional
www.op3racional.eu
.



Relevant Pages

  • ResourceBundle sometimes giving MissingResourceException
    ... I have a java application using a ResourceBundle, ... populated from properties file, I am facing problem some times one ... particular key gives MissingResourceException, and some times ...
    (comp.lang.java.programmer)
  • Query:JMS
    ... I am facing problem ... When i run the program it generates the following exception .So tell ... SEVERE ConnectionFactoryImpl: Failed to lookup or connect to JMS ...
    (comp.lang.java.databases)
  • Re: Urgent ??? - Update Data Source
    ... > I'm facing problem to update the data source after I make changes to ... You're currently just dropping any SQL CE exception which is thrown by ...
    (microsoft.public.dotnet.framework.compactframework)