BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-24-2010, 03:46 AM   #1 (permalink)
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default help needed in running a MIDLET in JDE 5.0.0

Please Login to Remove!

Hi,

I have developed a MIDLET using Netbeans IDE and the application works fine in all Ericson, nokia simulators and devices. I need to make the MIDLET run in a Blackberry Bold 9700. But, i have had problems even while running the MIDLET in the 9700 simulator. The MIDLET compiles and builds successfully, when i run it and go the Menu -> Downloads in the 9700 simulator, i could not find my application(mainMidlet) in there. I have also checked other folders in the simulator but in vain.

Initially i got the" module(mainMidlet) has verification errors" and i removed all the System.out. println() statements in my code and i could find my MIDLET in the Downloads folder of the 9700 simulator and when i clicked it, i got a pop-up Alert in the simulator saying "LWUIT module has verification errors". I also get the following message "source code not available" in the JDE screen(please see the attached screenshot".

Can someone help me out. I have been breaking my head for 2 days trying to figure out the reason.
Attached Images
File Type: jpg Blackbery_JDE_output.jpg (271.3 KB, 2 views)
Offline  
Old 07-24-2010, 10:53 AM   #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 app will not start becuse the library has verification errors. YOu need to run preferify on the LLWUIT library, or recompile it yourself using the JDE.

The "source not available" is what happens when an exception is thrown from, or you step into, a module that does not have source in the current project. The JDE tries to find the soruce for the line currently executing, and when it cannot find the source you get this message.
Offline  
Old 07-24-2010, 02:57 PM   #3 (permalink)
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post

Thanks a lot for the suggestion Dougsg38p !

i have tried running preverify command with the following parameters

C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin>preverify -classpath "C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\lib\LWUIT.jar"

i could not make anything out from the output, which i have attached as a jpeg file in this message.

Can you brief the other method, how to recompile LWUIT using JDE ?
Attached Images
File Type: jpg preverify.jpg (97.5 KB, 3 views)

Last edited by srikanth_kannan : 07-24-2010 at 04:08 PM.
Offline  
Old 07-25-2010, 09:21 AM   #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

Take a look at this thread:

Verification Error 1642 ar offset 0009

You might also want to search the forum. There are several folks who use this library.
Offline  
Old 07-26-2010, 03:55 PM   #5 (permalink)
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

After a lot of search, i got this solution and it works !

forums.java.net/jive/thread.jspa?messageID=372171 (add http to this, since i was not able to post links)

Scroll down to the bottom of the above forum and follow the set of 14 steps posted by ghady_rayess.
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.