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

You are here

BGS5T Exception in thread | Thales IoT Developer Community

February 10, 2015 - 3:27pm, 8539 views

While running my midlet I get exception which isn't caught by my try-catch block but by debuger. It says:Exception in thread "Object Server Connection - Handle JMX Notification Thread" java.util.ConcurrentModificationException

Problem is that midlet sometimes runs fine for 1 hour and sometimes I get this exception in few minutes of running. Is this fault of midlet or some module settings? My scfg is:

at^scfg?
at^scfg?

^SCFG: "Call/ECC","0"
^SCFG: "Gpio/****/ASC1","std"
^SCFG: "Gpio/****/DAI","gpio"
^SCFG: "Gpio/****/DCD0","std"
^SCFG: "Gpio/****/DSR0","std"
^SCFG: "Gpio/****/DTR0","std"
^SCFG: "Gpio/****/FSR","gpio"
^SCFG: "Gpio/****/PULSE","gpio"
^SCFG: "Gpio/****/PWM","gpio"
^SCFG: "Gpio/****/RING0","std"
^SCFG: "Gpio/****/SPI","rsv"
^SCFG: "Gpio/****/SYNC","std"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","BGS5"
^SCFG: "MEopMode/SoR","on"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0059","Cinterion Wireless Modules","Cinterion BGx USB Com Port",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/Otap","0"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","600"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","0"
^SCFG: "Radio/Band","15"

Once I also caught SCTM_B -1 event with this:

else if(Event.indexOf("^SCTM_B") == -1)
            {
                sendSMS("Temperature is " + temperature + " and is reaching it's minimal limits.");
                destroyApp(true);
            }

Which is weird because there is no way that temperature would be at 0 C.