×

Discussion Board

Results 1 to 4 of 4

Thread: VerifyError 100

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    VerifyError 100

    Hi,

    Would any one tell us when the VerifyError 100 could come. We started seeing this comign on N73 device. The application works fine on every emulator of Nokia including s6O 3rd v1.1 emulators.

    Our observation is it some thing related to creating of some anonymous inner class. If we convert this anonymous one to concreate then things seems to work fine..

    The one which is resulting in this error is
    OkCancelListner lListner = new OkCancelListner();
    {
    protected final void onOK()
    {
    ParentMidlet.MIDLET.destroyApp(true);
    }
    };

    If I dont't overide onOK() method this seems to work fine.. I am using Proguard 4.2 for obfuscation.

    Raja Nagendra Kumar,
    C.T.O
    www.tejasoft.com

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: VerifyError 100

    Please provide more information, like...

    Does the un-obfuscated version work? Does the obfuscated version work?
    You mention that changing the code makes the application work. Can you show which code you are replacing with which code?

    Hartti

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    Re: VerifyError 100

    Quote Originally Posted by hartti View Post
    Please provide more information, like...

    Does the un-obfuscated version work? Does the obfuscated version work?
    You mention that changing the code makes the application work. Can you show which code you are replacing with which code?

    Hartti
    Hi Hartti,

    We could not identify the exact reason, however when we did not use anonymous class it started to work. i.e

    Converted

    OkCancelListner lListner = new OkCancelListner();
    {
    protected final void onOK()
    {
    ParentMidlet.MIDLET.destroyApp(true);
    }
    };

    to concreate class.


    public ExitListner extends OkCancelListner
    {
    protected final void onOK()
    {
    ParentMidlet.MIDLET.destroyApp(true);
    }
    }
    and used it as

    ExitListner lListner = new ExitListner();

    The error was observed on a jar which obfuscated using Progaurd 4.2. We tried with 3.8 version, which also had the same error

    We could not test unobfuscated as our application was using http://www.bouncycastle.org/java.html api. Unfortunately installing this application without obfuscation would result in install fail error due to they using javax in some places.

    Nokia really had very bad JVM impl.. when people use real ooad things. Other one we observed was on 6600 and N70, in some cases, it was giving method not found error, though the method existed as part of the interface. When we casted it explicitly it started to work. Pl. report to right dev team in Nokia so that one is not forced to look for these work arrounds.

    Regards,
    Nagendra
    Last edited by nagkumar; 2008-09-05 at 19:16.

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: VerifyError 100

    Ok, thanks for your feedback!

    Hartti

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×