Midlet-restart not defined - default behavior | Telit Cinterion IoT Developer Community
January 4, 2017 - 4:18pm, 1956 views
In my jad file I do not define "Oracle-MIDlet-Restart" so what is the default the module assumes? We have been getting many random reboots and realized that this option is not defined in our JAD file. Would this cause a reboot without any notification? I understand that an uncaught exception will trigger a reboot but won't that exception or at least a message be outputted before reboot?
If there is no Oracle-MIDlet-Restart parameter this functionality would not work, so the MIDlet or module would not be restarted in case of uncaught exception for example. In such case you should see the stack trace and the module should not restart.
You could add this parameter together with Oracle-MIDlet-Restart-Count and check. In case of MIDlet restart there should be an information in the output. You can even write the simple MIDlet which throws some serious Exception or Error to see how it behaves.