Errors: GARAGE MODULE 1 -on serial command info p# MACHINE FAILURE on AT command java.lang.NumberFormatException +CMS ERROR: L2 Cause T200 Expiry N200 Plus 1 Times -on serial command info p# vsebina sms-a MACHINE FAILURE on serial read java.lang.NumberFormatException MACHINE FAILURE on serial read java.lang.NumberFormatException +CMS ERROR: Random Access Failure -on serial command info p# MACHINE FAILURE on serial read java.lang.NumberFormatException +CMGS: 214 MODULE 2 -on sms command info p# vsebina sms-a MACHINE FAILURE on AT command java.lang.NumberFormatException MACHINE FAILURE on AT command java.lang.NumberFormatException +CMGS: 57 -on sms command info p# vsebina sms-a MACHINE FAILURE on AT command java.lang.NumberFormatException MACHINE FAILURE on AT command java.lang.NumberFormatException +CMGS: 58 -on sms command info p# vsebina sms-a MACHINE FAILURE on AT command java.lang.NumberFormatException MACHINE FAILURE on AT command java.lang.NumberFormatException +CMGS: 58 -------------------------------------------------------- ROOM MODULE 1 Last reponse on SMS at 20:02 Worked for quite some time, but didn't resopond on SMS at 00:15 Because of that I tryed to connect trough RS232 but I didn't get any response from the module. In the module log there is no sign of error, last entry is just that he opened and closed GPIO port like it should. After that next entry is SYSTEM.OUT STARTED, which if I understand got writen when I restarted the module. On module restart I issued command to start midlet again and I got temperature error again: Uncaught exception: java.lang.NumberFormatException - java.lang.Integer.parseInt(), bci=120 - java.lang.Integer.parseInt(), bci=3 - testniprojekt.IMletTest.getTemeprature(IMletTest.java:1421) - testniprojekt.IMletTest$Listener.ATEvent(IMletTest.java:937) - com.cinterion.io.ATCommand$ListenerThread.OrderedRun(ATCommand.java:209) - com.cinterion.io.ATCommand$OrderedThread.run(ATCommand.java:152) On another attempt to restart I got quite a long error: line 110: IMEI = sendCommand("AT+CGSN").substring(10, 25); exception on setting up the module java.lang.NumberFormatException java.lang.NullPointerException - java.lang.System.throwNullPointerException(), bci=4 - testniprojekt.IMletTest.(IMletTest.java:110) - java.lang.Class.newInstance(), bci=0 - com.sun.midp.main.CldcMIDletLoader.newInstance(), bci=69 - 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:testniprojekt.IMletTest abnormal exit MIDlet:testniprojekt.IMletTest restart MIDlet:testniprojekt.IMletTest abnormal exit MexIDceleptt:iotenst onin prseottjeinkg t.IMupl tetheTe mstod ulrees jtavara.t laganag.inIl legalStateException: openATCommand: no channel available. writing current program null java.lang.NullPointerException: 0 - testniprojekt.IMletTest.destroyApp(IMletTest.java:2003) - testniprojekt.IMletTest.(IMletTest.java:110) - java.lang.Class.newInstance(), bci=0 - com.sun.midp.main.CldcMIDletLoader.newInstance(), bci=69 - 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 writing current program null java.lang.NullPointerException: 0 - testniprojekt.IMletTest.destroyApp(IMletTest.java:2003) - testniprojekt.IMletTest.startApp(IMletTest.java:1845) - 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 MODULE 2 While in room functiond normaly until the morning 8am, when I turned it off ----------------------------------------------------------- WORK MODULE 2 temperature control setUncaught exception: java.lang.StringIndexOutOfBoundsException - java.lang.String.substring(), bci=22 - testniprojekt.IMletTest.getTemeprature(IMletTest.java:1420) - testniprojekt.IMletTest$Listener.ATEvent(IMletTest.java:937) - com.cinterion.io.ATCommand$ListenerThread.OrderedRun(ATCommand.java:209) - com.cinterion.io.ATCommand$OrderedThread.run(ATCommand.java:152) line 1420: String response = sendCommand("AT^SCTM?").substring(22, 24); line 937: getTemeprature(); ------------------------- INFO P# command description error of info P# happend somwhere here: public String infoP() throws ATCommandFailedException { String signalStrength = sendCommand("AT+CSQ"); signalStrength = signalStrength.substring(15, 20); String machineState; if(machineRuning) { machineState = "MACHINE ON " + currentProgram; } else { machineState = "MACHINE OFF " + currentProgram; } return machineState + ", TMP: " + temperature + ", EMGTMP: " + temperatureTriger + ", SIGNAL: " + signalStrength + ", IMEI: " + IMEI + ", TIME AND DATE: " + new Date().toString() + ", USER1: " + users[1] + ", USER2: " + users[2] + (char)3; }