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

You are here

PLS 62-W Restarting Loop | Thales IoT Developer Community

italohcx

March 8, 2019 - 7:42am, 578 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 :

Iniciando Teste, tamanho da memoria pre aplicacao: 22417696                    
java.lang.NullPointerException:   0                                            
 - usim.SIM.T_CCID(SIM.java:81)                                                
 - midlets.Main.startApp(Main.java:35)                                         
 - javax.microedition.midlet.MIDletTunnelImpl.callStartApp(), bci=1            
 - com.sun.midp.midlet.MIDletPeer.startApp(), bci=5                            
 - com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=261                
 - 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:midlets.Main abnormal exit                                              
MIDlet:midlets.Main restart again                                              
Iniciando Teste, tamanho da memoria pre aplicacao: 22355292                    
java.lang.NullPointerException:   0                                            
 - usim.SIM.T_CCID(SIM.java:81)                                                
 - midlets.Main.startApp(Main.java:35)                                         
 - javax.microedition.midlet.MIDletTunnelImpl.callStartApp(), bci=1            
 - com.sun.midp.midlet.MIDletPeer.startApp(), bci=5                            
 - com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=261                
 - 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:midlets.Main abnormal exit                                              
MIDlet:midlets.Main restart limit reached -> reboot                            
                                                                               
^SYSLOADING                                                                    
                                                                               
SYSTEM.OUT STARTED                                                             
MIDlet:midlets.Main autostart                                                  
MIDlet:com.cinterion.jrc.JRC_Midlet autostart                                  
MIDlet:com.cinterion.jrc.JRC_Midlet exited                                     

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.

Best regards