| Reply | « Previous Thread | Next Thread » |
|
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 |
|
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 |
|
Quote:
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 20:16.
|
|
Ok, thanks for your feedback!
Hartti |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|