09-09-2008 05:53 AM
Solved! Go to Solution.
09-09-2008 01:50 PM
What do you mean by "every few meters"?
Is this exception thrown by the library itself or an application that relies on the library?
Resource files should be updated when the project that contains them (your library in this case) is built.
09-10-2008 03:28 AM
09-10-2008 11:12 AM
If the resource file is part of the project for your application, it should be built into the cod file for the application. Having resource files of the same name in another project should not have any affect (assuming the other project is not referenced by this application).
Am I correct to assume that your application is contained in a single cod file (it doesn't reference other cod files)?
Are you using different versions of the BlackBerry JDE to create, edit and/or build the application? The way resource files are stored and handled has changed in different versions of the BlackBerry JDE.
09-10-2008 11:16 AM
09-10-2008 04:33 PM
Do you have multiple projects active when you are testing this in the BlackBerry Simulator? If so, please run clean.bat (located in the simulator directory), activate only the project you are working on and test it in the BlackBerry Simulator.
Is the BlackBerry Simulator running the same BlackBerry handheld software as the device you are testing on?
01-04-2010 12:03 PM - edited 01-04-2010 12:06 PM
I'm seeing this problem too. In my case I compiled app A with different resource text under a new module name B, so that I had 2 different versions of the app - A and B - on the simulator. I then changed the module name back to A in my project and continued work. This is the only project in my Eclipse workspace.
What happened then is that code changes I make took effect in app A, but the app still tried to read the resource text from module B, throwing a MissingResourceException for anything I added since I abandoned module B.
Running clean.bat has fixed this for now, by deleting module B for me.
I had previously tried removing module B from the simulator Options / Advanced Options / Applications / Modules (it always said the module was in use), cleaning the project (no effect), and in the Eclipse IDE BlackBerry / Erase Simulator File / Erase All (modules A and B both came back every time).
The conclusion I came to is that the BlackBerry must access the resource text differently to the Java class files, etc. Perhaps it looks up resources using the Java package name? Both versions of my app use the same package names internally so that would make some kind of sense.
I would actually like to understand this better, as my client wants to run differently branded versions of the same app on the same device.
Edit: This is using Eclipse JDE Plugin 18.104.22.168, compiling and running on simulator as 4.2.1, also seen on 4.3
04-18-2012 03:59 AM
03-07-2013 04:47 AM
i am also getting the problem here
i am using same resource file with same key and with diffrent value in two application and while i am installing it in to device i am getting the value of first installed app resource file.
how to solve it i am not getting any idea