When i launch the app on BlackBerry simulator i get the error mentioned on the title . This happens to any blackberry simulator OS 5.0 and later .
First i thought it was a signing issue with my certificate but its not because i tried also with the Debug CN1 certificate and its the same .
Also i build a project which was untouched for at least three months and for which i had successfully a working build and it has the same error when launching .
I also build with obfuscation false and its the same. I am using the iOSTheme as it is, only changing some styles from inside java code.
I have removed unused imports , System.out calls , instanceOf from my code , i was using side menu with
UIManager.getInstance().getLookAndFeel().setMenuBarClass(SideMenuBar.class); call so i removed the side menu also .
Here i attach the log event from the blackberry simulator :
0:01:11.303: VM:PISVt=0,h=535d,id=d15a33128dfbb5d9
0:01:11.313: VM:LNTDa=commit,t=1,p=net_rim_bb_ribbon_app,h=68
0:01:11.313: AM: Starting Main5
0:01:11.353: VM:LINK Main5
0:01:11.433: VM:ISMFn=Main5-2,o=13888
0:01:11.433: VM:ISMFn=Main5-2,o=14340
0:01:11.543: Method get
0:01:11.543: VM:VECPs=com.codename1.ui.util.
0:01:11.543: VM:VECCs=UIBuilder$1
0:01:11.543: VM:VECMm=get()
0:01:11.543: Module 'Main5-11' has verification error 2924 at offset ba31 (codfile version 79)
0:01:11.553:
0:01:11.553: Linker error: 'VerifyError' for Main5
0:01:11.553: VM:CLRCv=0
0:01:11.553: VM:CLRCv=0
0:01:11.553: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.563: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.573: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.583: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.593: VM:CLRCv=0
0:01:11.603: VM:CLRCv=0
0:01:11.603: VM:CLRCv=0
0:01:11.603: VM:CLRCv=0
0:01:11.623: CMM: set CRC d75f7aa1
0:01:11.623: NVS: delete 2
0:01:11.623: NVS: write 2
0:01:11.623: NVS: erase 288
0:01:11.623: NVS: commit 734
0:01:11.623: AM: Error starting Main5: Module 'Main5-11' has verification error 2924 at offset ba31 (codfile version 79)
0:01:11.643: VM:NCICv=0,w=0
0:01:11.643: GS(createSurface): Temporarily promoting window size
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: Eclipse
Desktop OS Windows 7 - 64 bit
Simulator
Device BlackBerry