07-07-2009 02:31 PM
07-07-2009 02:42 PM - edited 07-07-2009 02:43 PM
Are you using peristent store?
Make sure you are using the following import directive for Persistable interface:
import net.rim.device.api.util.Persistable;
In case you are using another import directive, for example: import net.rim.device.api.vm.Persistable; it may be cause of the problem.
07-07-2009 03:17 PM
I'm not using persisten store.
could be related to FS sync?
many thanks,
Danilo
07-07-2009 03:41 PM - edited 07-07-2009 03:41 PM
In JDE installation package in JDE/bin folder there is preverify.exe utility.
Run it along with yourapp.jar file to check which class/field/method causes this problem.
If Eclipse does not produce jar file, download JDE and try to compile your project in JDE to check this.
After project compilation there are many files generated, including jar file.
this jar file is only for checking purposes.
Run preveriy with this jar file and specify full path with filename to the relevant net_rim_api.jar file (located in JDE/lib folder).
It will check your app compliance to the RIM API classes and will show problems.
07-07-2009 06:17 PM - edited 07-07-2009 06:26 PM
I've just checked with preverify.exe
preverify.exe -cldc1.0 -classpath "C:\opt\eclipseRIM4.2.1\plugins\net.rim.eide.compo
reporting:
Error preverifying class java.lang.String
ERROR: floating-point arguments should not appear
While if i test without -cldc1.0 option :
preverify.exe -classpath "C:\opt\eclipseRIM4.2.1\plugins\net.rim.eide.compo
all it's ok.
???
07-08-2009 02:31 AM
String.valueOf(float) is available even in RIM API 4.0.2
Try to compile your application with JDE 4.2.1
You can get it here: Blackberry Java Development Environment
I think it will work ok on the device.
07-08-2009 01:11 PM
I'm give it up.
now i'm compiling app with ant. Then copy the resulting files from rapc (*.debug, ecc ecc) into simulator folder.
Then I have linked Eclipse to the external simulator...
I can debug the code.
Very strange issue, the weird thing is that issue appeared after two months of works.
Many thanks tbilisoft team.
07-08-2009 01:25 PM
Are you using SVN (Source Version Control System) ?
If no I strongly recommend to download and use this perfect piece of software.
You can track down the changes and view differences between versions and much more.