BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-15-2009, 04:37 AM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation wrong values from ResourceBundle

Please Login to Remove!

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
Offline  
Old 07-15-2009, 05:09 AM   #2 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Offline  
Old 07-15-2009, 05:13 AM   #3 (permalink)
iPhone Mod!
 
zerog46's Avatar
 
Join Date: May 2007
Location: In a House
Model: 9650
Carrier: VZW Bold
Posts: 6,773
Post Thanks: 25
Thanked 10 Times in 10 Posts
Default

Closed.
__________________
Life is not holding a good hand. Life is playing a poor hand well.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

SCHNEIDER P341000 M340 BMXP341000 CPU340-10 CPU34010 MODBUS
$299.0
SCHNEIDER P341000 M340 BMXP341000 CPU340-10 CPU34010 MODBUS pictureSiemens 7NG1002-1BA11 , Measurement Data Processor
$180.0
Siemens 7NG1002-1BA11 , Measurement Data Processor pictureRadiating Fin Routing CPU fin Black Slot 22*22*10mm 22X22X10mm New
$0.89
Radiating Fin Routing CPU fin Black Slot 22*22*10mm 22X22X10mm New picture1 PC New Omron PLC CJ1G-CPU45H CJ1GCPU45H In Box
$373.99
1 PC New Omron PLC CJ1G-CPU45H CJ1GCPU45H In Box pictureSiemens Simatic S7 6ES7 315-2AG10-0AB0 CPU315-2-DP 6ES73152AG100AB0
$299.0
Siemens Simatic S7 6ES7 315-2AG10-0AB0 CPU315-2-DP 6ES73152AG100AB0 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.