Getting Information on Verification Errors

Here is an article on how to diagnose verification errors.

Note that in diagnosing this problem you should not connect to the debugger. You should just launch the simulator using the launch simulator button.

RIM also has a KB article on class references causing verification errors. This can happen when a class references another class in a constructor.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 08, 2010

    Paul Milovanov says:

    This fragment is especially useful: To identify the class and method which caus...

    This fragment is especially useful:

    To identify the class and method which causes the error, you can do the following :

    #Open the emulator of the BlackBerry JDE
    #Load the application
    #Open the application
    #An error screen should appear stating something like this :

    jvm error 104 uncaught runtime exception
    

    #Choose from the underlying menu (using the arrow keys) the option "catfail"
    #Now choose the right most point to save a file named "failure.zip" to your disk
    #Extract the files within failure.zip to your disk and open the .bug file
    #There are three interesting values in the .bug file:

    VM:VECPs
    (the package)
    
    VM:VECCs
    (the class)
    
    VM:VECMm
    (and the method which causes the error)
    
  2. Sep 21, 2010

    Austin Long says:

    On some simulators you might see an error dialog rather than the white screen wi...

    On some simulators you might see an error dialog rather than the white screen with the catfail option. You might be able to get around this by just running the simulator rather than using debug mode.

    1. Sep 21, 2010

      Andrew Cowart says:

      That's the case with all simulators in debug mode - the original article states ...

      That's the case with all simulators in debug mode - the original article states

      Note that in diagnosing this problem you should not connect to the debugger. You should just launch the simulator using the launch simulator button.

© 2011 Metova, Inc.