BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   wrong values from ResourceBundle (http://www.blackberryforums.com/developer-forum/197112-wrong-values-resourcebundle.html)

malani_manish 07-15-2009 04:37 AM

wrong values from ResourceBundle
 
I am facing a weired problem in my BB application. I am trying to fetch strings from resource bundle but I am not getting the right values against the Key I am supplying.
I have verified everything, rrh, rrc and interface files. all are in synch and key value pairs are correct in these files.
I debug my code and put the breakpoint at getString() and found that this method is returning me wrong value against my key.

Does anybody have come across such issue ever? Please help.

Thank you

malani_manish 07-15-2009 05:09 AM

Sorry, Please remove this post. I found my stupid mistake. I had declared constants in my class with exactly same name as Keys in resource bundle. I am sorry for my carelessness.

zerog46 07-15-2009 05:13 AM

Closed.


All times are GMT -5. The time now is 03:08 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.