App crashing. Can't find class | Telit Cinterion IoT Developer Community
June 16, 2015 - 10:12am, 3896 views
Hi,
For some reason, when I create a midlet, it keep crashing saying it can't find a class, every once in a while after I clean, rebuild and create midlet, it can't find a different class.
I obfuscate the app, but even not obfuscated app results the same.
here is the traces:
SYSTEM.OUT STARTED
MIDlet:com.cinterion.jrc.JRC_Midlet autostart
MIDlet:midlets.AppMIDLet autostart
Start app, ver 1.5.9
2
---
java.lang.NoClassDefFoundError: jc
- java.lang.Class.invoke_verify(), bci=0
- java.lang.Class.initialize(), bci=100
- o.<init>(), bci=38
- midlets.AppMIDLet.startApp(), bci=16
- 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
application destroyed
MIDlet:midlets.AppMIDLet abnormal exit
Some code would be handy :)
What code?
It's very big application, and I don't have build errors. furthermore, this application has worked for the past 6 months as it should.
What about other projects do they work on this module? Once I had a problem, where I coulden't build project anymore and it helped creating a new one.
Regards
Jure
Thanks,
I've tried it. Other apps are working. My is not.
java.lang.NoClassDefFoundError: jc and - o.<init>(), bci=38
gives me the feeling the Midlet is still obfucated?
Do you use git or some other system for revision control? If you do, you can compare diffrences in this version vs. working one. Because if other MIDlets are working on this module, then it's probably something inside your MIDlet.
Hello,
The output from not-obfuscated app would be helpful - we could see what class is missing.
Mayby you have done some changes in the project configuration. Are you using Eclipse or Netbeans?
Regards,
Bartłomiej