BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-02-2009, 01: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, 01: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, 01: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, 02: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, 03: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, 05: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, 05: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  
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





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