Search code examples
javablackberryjava-melwuit

What does the error: "Module 'myApp' has verification error 2733 at offset 1646" mean


I get the following error:

Module 'myApp' has verification error 2733 at offset 1646

and this is my code:

public class Midlet extends net.rim.device.api.ui.UiApplication{

public static void main(String[] argv) {
     new Midlet().startApp();
}

public void startApp() {
    System.out.println("tada!");
}

public void pauseApp() {
    System.out.println("PauseApp ...zzzz...");
}

public void destroyApp(boolean unconditional) {
    System.out.println("destroyed: " + unconditional);
}

public void notifyDestroyed() {
    System.exit(0);
}

public void platformRequest(String s) {
    net.rim.blackberry.api.browser.Browser.getDefaultSession().displayPage(s);
}

}

My Imports "LWUIT", "BlackberryPort" and "LWUIT4IO".

It builds without errors, I get the error when I try to start up the app.

What does this error mean?


Solution

  • Have you signed your app? Browser integration requires app signing.

    Also take a look at the LWUIT blog explains the verification errors.