BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-02-2009, 02:20 PM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Verification Error 1642 ar offset 0009

Please Login to Remove!

Hi,
I have developed an App using Netbeans 6.5 which is using LWUIT library for its UI design. When I run my App in Simulator or BlackBerry real device, I get the following error:

"Error starting TestLwuit: Module 'TestLwuit-9' has a verification error 1642 at offset 0009

I am absolutely clueless about this error. Any help on this would highly appreciated.


Thanks,
-jdk
Offline  
Old 02-02-2009, 02:25 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You need to run the pre-verify tool on the LWUIT library, or just re-compile the source under the RIM RAPC compiler.
Offline  
Old 02-02-2009, 02:33 PM   #3 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your prompt reply.

I am very new to this stuffs, can you send me the steps to accomplish "re-compile the source under the RIM RAPC compiler"?


Thanks,
jdk
Offline  
Old 02-02-2009, 03:33 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

uhh...add the source files to your project (rather than the JAR) and "Build All", I guess.

Do you have the source?
Offline  
Old 02-02-2009, 04:32 PM   #5 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nope. Sun doesn't provide source code.. just the LWUIT.jar file.


Thanks,
-jdk
Offline  
Old 02-02-2009, 06:17 PM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Then you need to run the verifier tool on the JAR.

Look for preverify.exe in your JDE distribution.
Offline  
Old 02-02-2009, 06:21 PM   #7 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

one other issue: Are you using the RIM port of the root build?

From the LWUIT web site:

RIM BlackBerry Port by Thorsten Schemm - A native BlackBerry API port of LWUIT is available within the LWUIT incubator project source tree.
Offline  




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