I'm getting the KERN-EXEC 3 panic during executing my MIDlet. After locating the method, where the application crashes I was confused for a while, cuz it crashes during returning from SOME method. The value before return is determined (System.out for observing). Moreover, the method works fine for some time, and during occasion value of time it just crashes the JVM with KERN-EXEC 3 (NullPointer exception or access violation). All attempts to workaround this issue have failed. The reason, I suppose, is the JIT compiler. It's enabled on devices on which the issue presents. The current list of devices is Nokia 5228, Nokia 5230, Nokia 5800. On other devices my MIDlet works fine (SonyEricsson, Nokia S40 and even Nokia 6120 classic that is the S60).
Any ideas to resolve this issue? Maybe there is some option to disable JIT on device?