MIDlet won't work anymore | Thales IoT Developer Community
October 27, 2021 - 2:57pm, 6108 views
Hello,
month ago I formatted my computer and later installed Netbeans and all that is needed for development of BGS5T MIDlets.
Betwen that time and today I had updated one project and successfully installed MIDlet on BGS5T. Today I made some changes to another MIDlet that is on around 500 devices. When I run the MIDlet it crashed soon after statup:
java.lang.NoClassDefFoundError: az
- java.lang.Class.initialize(), bci=69
- bh.<init>(), bci=21
- inpro_all_in_one.IMlet.<init>(), bci=488
- 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:inpro_all_in_one.IMlet abnormal exit
MIDlet:inpro_all_in_one.IMlet abnormal exit
Something similar somthing happens to the modules that are long in the field. So I tried to use gWinSwup to reinstall the JRC, since this usaly helps. But in this case it didn't help. So I check if I maybe have some error in my MIDlet but I coulden't find it. I tried loading two older versions of my software that are on atleast 200+ modules and I got same error.
After that I tried to load the MIDlet on another module but I got same error. What could be the cause for this? I tried running some other MIDlets and they run fine. Could be that after first instalaiton of the MIDlet and then when I delted it some files were still perserved and are affecting older versions?
Last module that I tested it is
ati1
Cinterion
BGS5
REVISION 01.100
A-REVISION 00.000.10OK
The first module is:
ati1
Cinterion
BGS5
REVISION 01.100
A-REVISION 00.001.37OK
Regards,
Jure
Hello Bartłomiej,
thank you for the help. I had some problems where it would show that library isn't found but would compile, so it guided me in the wrong directions, when I made a new project. I followed the stack trace and I found where was a true problem. There was a config file and it looks that it good "corrupted". For new line had LF + CR characters instead of just LF. Because of that library didn't initialize correctly and produced all the errors. It would be easily solved but exception was not caught, because we were caching only IOException.
Thank you for all the help.
Regards,
Jure
Hello Jure,
Thank you for this information.
It's good to read that the problem was solved.
Best regards,
Bartłomiej