Verification Error on Blackberry Simulator system 5.0

27 views
Skip to first unread message

Alexander

unread,
Sep 12, 2010, 1:23:06 PM9/12/10
to zxing
Hi.
i'm trying to run the client app ZXingUiApplication on the blackberry
simulator.
i tested on 8530. system 5.0. when running the app i get runtime
exception. when debugging, i get message
"Module <appname> has verification errors".

This is from eclipse using Blackberry Java Plug-in.

any help in how to fix it?. how can i know which classes/methods are
causing the verification errors, i tried 'catfail' and
checking the .bug file generated (from the jvm menu after the
exception) but i can't see anything useful there.

thanks.

Sean Owen

unread,
Sep 12, 2010, 1:27:02 PM9/12/10
to zxing
Do you have to preverify bytecode for Blackberry like you do with Java
ME? If so, then are you preverifying?

You might also make sure the tool chain is not generating class files
that are for a JVM version above what the BB wants. For example if the
class file version is for Java 6, maybe it doesn't like that.

Finally I'd try disabling Proguard if you're using it since it does
most of the bytecode trickery.

Alexander

unread,
Sep 12, 2010, 3:33:35 PM9/12/10
to zxing
Hello. i'm not sure i'm following you.

in this case i'm building using JRE 6. and the target is simulator
8530 (v 5.0) .
dont know exactly if eclipse is using proguard or preverifying when
deploying using Blackberry Java plug-in.
where can i see that?

Sean Owen

unread,
Sep 12, 2010, 5:59:26 PM9/12/10
to zxing
I don't know. I'm just taking guesses too. This sounds like more of an
issue with the RIM JDK tools than the project. The project can't make
your tool set output bad bytecode.

Alexander

unread,
Sep 12, 2010, 7:45:16 PM9/12/10
to zxing
still stuck with this :/
i'm trying using blackberry JDE 5.0 now.

in Eclipse switched to JRE 5.0 and now i know is "module
net_rim_barcodelib missing".
do i have to add the library??. little lost here...
Reply all
Reply to author
Forward
0 new messages