Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 13
Registered: ‎09-08-2008
My Device: Not Specified

Error loading module VerifyError

Hi.

 

I have an app that runs fine on simulator, but not on devices.

 

I am building it with the 4.7.0.41 JDE for the Storm and running on a Storm with os 4.7.0.78.  The app is signed for RRT, RBB and RCR.

 

Can someone please help me identify what things may cause this problem?

 

Extract from eventlog 

 

guid:0x97C9F5F641D25E5F time: Thu Jun 11 11:22:03 2009  severity:0 type:2 appSmiley Frustratedystem data:CMM: Fireworks(1085) no sig from 0x33
guid:0x97C9F5F641D25E5F time: Thu Jun 11 11:22:03 2009  severity:0 type:2 appSmiley Frustratedystem data:VM:LINK Fireworks
guid:0x97C9F5F641D25E5F time: Thu Jun 11 11:22:03 2009  severity:0 type:2 appSmiley Frustratedystem data:
guid:0x97C9F5F641D25E5F time: Thu Jun 11 11:22:03 2009  severity:0 type:2 appSmiley Frustratedystem data:Linker error: 'VerifyError' for Fireworks
guid:0x97C9F5F641D25E5F time: Thu Jun 11 11:22:03 2009  severity:0 type:2 appSmiley Frustratedystem data:Error starting Fireworks: Error loading module 'Fireworks' VerifyError.
guid:0x9C3CD62E3320B498 time: Thu Jun 11 11:22:03 2009  severity:1 type:3 app:Java Exception data:
 RuntimeException
 Error starting Fireworks: Error loading module 'Fireworks' VerifyError.
 net_rim_bb_framework_api-1
  ApplicationEntryPoint
  run
  0x24B9
 net_rim_bb_ribbon_app-2
  ApplicationEntry
  invoke
  0x985
 net_rim_bb_ribbon_app-1
  RibbonLauncherImpl
  <private>
  0x5629
 net_rim_bb_ribbon_app-1
  RibbonLauncherImpl
  launch
  0x3C8F
 net_rim_bb_ribbon_app
  ApplicationMenu
  trackwheelClick
  0x8B1
 net_rim_bb_ribbon_app
  ApplicationMenu
  navigationClick
  0x8D1
 net_rim_cldc-9
  Screen
  dispatchTouchEvent
  0x6414
 net_rim_cldc-10
  UiEngineImpl
  processMessage
  0x8DE0
 net_rim_cldc-6
  Application
  processNextMessage
  0x2207
 net_rim_cldc-6
  Application
  enterEventDispatcher
  0x1872
 net_rim_bb_ribbon_app-1
  RibbonLauncherApp
  main
  0x36A8

 

 

 

Thank you,

Steven

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Error loading module VerifyError

In JDE/bin folder there is preverify.exe utility.

 

Use it with *.jar (not cod) file of your project and specify location of the relevant net_rim_api.jar library.

 

For instance:

 

preverify.exe -classpath c:\jde4.7\lib\net_rim_api.jar c:\myapps\myapp.jar

New Developer
Posts: 13
Registered: ‎09-08-2008
My Device: Not Specified

Re: Error loading module VerifyError

Thanks I'll try that now and let you know what it says. Smiley Happy
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Error loading module VerifyError

Ok, check what the preverify will say on your jar file.
New Developer
Posts: 13
Registered: ‎09-08-2008
My Device: Not Specified

Re: Error loading module VerifyError

I'm afraid I dont see how to interpret the results.  preverify doesn't display any messages and in the output folder it created it just put a copy of the fireworksjdeproject.jar

 

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Error loading module VerifyError

[ Edited ]

If preverify does not blame on this file, then it is ok from it's point of view.

 

So, let's find out the code that causes the problem.

 

Copy all your project files to different folder with name, let say DebugProject

 

Now, exclude parts of your code from your application and check it on actual device.

 

As verification error disappears then inspect very closely the code part you have removed last.

 

 

Message Edited by tbilisoft on 11-06-2009 03:06 PM
New Developer
Posts: 13
Registered: ‎09-08-2008
My Device: Not Specified

Re: Error loading module VerifyError

It seems that if I disable to use of extends Persistable my app starts to work.

 

But this is still confusing me as the system we have used in several products hasn't changed recently.

 

We have an interface "public interface CAWSerializable extends Persistable" which we implement on any object we want to persist.  And our persistent object handler takes the object and adds it to CAWBasePersistentHashtable which extends form Hashtable.

 

 

I suppose it must be down to one of the objects I am putting into store.  I will keep pulling things out until I can find some more information to post.

 

thanks

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Error loading module VerifyError

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.

New Developer
Posts: 13
Registered: ‎09-08-2008
My Device: Not Specified

Re: Error loading module VerifyError

Interesting, I didn't know about the vm.Persistable import. 

 

Just did a quick check and yes I have  

import net.rim.device.api.util.Persistable;

 

So I'll keep investigating tomorrow.  Thanks for the information.

Steven

Highlighted
New Contributor
Posts: 5
Registered: ‎06-17-2010
My Device: 9930/7.0.0.362
My Carrier: Verizon

Re: Error loading module VerifyError

I am a BlackBerry site owner/editor in chief and I am getting this error after I try to start a third party app that I've just downloaded. It only happens on apps not themes. Never happens when I update an app to a new version. For instance I chose to download LED by The Jared Company and Gowalla both The error reads: "Error starting Gowalla: Error loading module 'Gowalla VerifyError. Can anyone tell me is there a fix for this? I have many product Reviews to do everyday and would like to carry on without wiping my device if possible? Thank you kindly