Gemalto is now part of the Thales Group, find out more.

You are here

Restarting Loop

Samuel.Loescher

December 4, 2014 - 6:02pm, 2748 views

Hi,

I have appended to my .jad file the following to make it automatically start

Oracle-MIDlet-Autostart: 1
Oracle-MIDlet-Restart: true
Oracle-MIDlet-Restart-Count: 5

However this has had some pretty bad side-effects. There seems to be an error in my MIDlet. And it is going through a restart loop, which I am unsure how to stop. The error messages in the output are as follows : 
"MIDlet:com.me.demo.Application autostart

java.lang.NoClassDefFoundError: com/cinterion/io/ATCommandFailedException
- java.lang.Class.invoke_verify(), bci=0
- java.lang.Class.initialize(), bci=100
- java.lang.Class.forName(), bci=0
- com.sun.midp.main.CldcMIDletLoader.newInstance(), bci=1
- com.sun.midp.midlet.MIDletStateHandler.createMIDlet(), bci=63
- com.sun.midp.midlet.MIDletStateHandler.createAndRegisterMIDlet(), bci=17
- com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=24
- com.sun.midp.main.AbstractMIDletSuiteLoader.startSuite(), bci=38
- com.sun.midp.main.CldcMIDletSuiteLoader.startSuite(), bci=5
- com.sun.midp.main.AbstractMIDletSuiteLoader.runMIDletSuite(), bci=134
- com.sun.midp.main.AppIsolateMIDletSuiteLoader.main(), bci=26
MIDlet:com.me.demo.Application abnormal exit
MIDlet:com.me.demo.Application restart
MIDlet:com.me.demo.Application abnormal exit
java.lang.NoClassDefFoundError: com/cinterion/io/ATCommandFailedException
- java.lang.Class.invoke_verify(), bci=0
- java.lang.Class.initialize(), bci=100
- java.lang.Class.forName(), bci=0
- com.sun.midp.main.CldcMIDletLoader.newInstance(), bci=1
- com.sun.midp.midlet.MIDletStateHandler.createMIDlet(), bci=63
- com.sun.midp.midlet.MIDletStateHandler.createAndRegisterMIDlet(), bci=17
- com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=24
- com.sun.midp.main.AbstractMIDletSuiteLoader.startSuite(), bci=38
- com.sun.midp.main.CldcMIDletSuiteLoader.startSuite(), bci=5
- com.sun.midp.main.AbstractMIDletSuiteLoader.runMIDletSuite(), bci=134
- com.sun.midp.main.AppIsolateMIDletSuiteLoader.main(), bci=26

MIDlet:com.me.demo.Application restart again
MIDlet:com.me.demo.Application abnormal exit"

Then eventually after looping this alot of times it displays, where it reboots

"MIDlet:com.me.demo.Application restart limit reached -> reboot

^SYSLOADING

SYSTEM.OUT STARTED"

I was wondering if there was a way to remove the autostart on this so I can remove it. So far I have tried to access the USB but there is no response, and on the output ASC0 I cannot seem to enter anthing in fast enough to be able to stop it from rebooting.