Marco, Please make sure you have configured your Eclipse debug settings very carefully. The documentation here http://eclipseme.org/docs/configuring.html#step4 describes the steps that absolutely must be taken. I believe that is what is breaking things here.
Craig Marco Mistroni wrote: > hi all, > i have developed a small J2ME application. > I am using eclipseME to edit java classes, compile andp ackage > only problem is that if i launch my applicatin using Sun Toolkit, > application runs fine > > if instead i try to run my application within eclipse i get following > exception: > > Running with storage root DefaultColorPhone > Running with locale: English_United Kingdom.1252 > --- initializing midlet. > Method............: 226dc38 'com/mm/j2me/midp/model/ModelFacade.<init> > (virtual)' > Stack Chunk.......: 207fc3c > Frame Pointer.....: 207fd10 > Current IP........: 226dbce = 226dbc4 + offset 10 > Previous Frame....: 207fce4 > Previous IP.......: 226f144 (offset 28) > Frame size........: 3 (3 arguments, 0 local variables) > Argument[0].......: 2080d44 > Argument[1].......: 0 > Argument[2].......: 2071654 > Operand[1]........: 2080d44 > > Method............: 226f1d0 'com/mm/j2me/midp/AgencyMIDlet.startApp > (virtual)' > Stack Chunk.......: 207fc3c > Frame Pointer.....: 207fce4 > Current IP........: 226f144 = 226f128 + offset 28 > Previous Frame....: 207fcc4 > Previous IP.......: 102d1055 (offset 7) > Frame size........: 2 (1 arguments, 1 local variables) > Argument[0].......: 20800a8 > Local[1]..........: 10331a9e > Operand[1]........: 20800a8 > Operand[2]........: 2080d44 > > Method............: 101deb58 > 'javax/microedition/midlet/MIDletProxy.startApp (virtual)' > Stack Chunk.......: 207fc3c > Frame Pointer.....: 207fcc4 > Current IP........: 102d1055 = 102d104e + offset 7 > Previous Frame....: 207fca8 > Previous IP.......: 10331aa2 (offset 270) > Frame size........: 1 (1 arguments, 0 local variables) > Argument[0].......: 208006c > > Method............: 1021ddd4 'com/sun/midp/midlet/Scheduler.schedule > (virtual)' > Stack Chunk.......: 207fc3c > Frame Pointer.....: 207fca8 > Current IP........: 10331aa2 = 10331994 + offset 270 > Previous Frame....: 207fc74 > Previous IP.......: 1031cf4d (offset 28) > Frame size........: 7 (2 arguments, 5 local variables) > Argument[0].......: 207f77c > Argument[1].......: 2071808 > Local[2]..........: 208006c > Local[3]..........: 2 > Local[4]..........: 207f770 > Local[5]..........: 226f514 > Local[6]..........: 1021dcf4 > > Method............: 10212258 'com/sun/midp/main/Main.runLocalClass > (static)' > Stack Chunk.......: 207fc3c > Frame Pointer.....: 207fc74 > Current IP........: 1031cf4d = 1031cf31 + offset 28 > Previous Frame....: 207fc50 > Previous IP.......: 1031c994 (offset 116) > Frame size........: 3 (1 arguments, 2 local variables) > Argument[0].......: 207f9e0 > Local[1]..........: 2071808 > Local[2]..........: 226f4dc > > Method............: 102121b8 'com/sun/midp/main/Main.main (static)' > Stack Chunk.......: 207fc3c > Frame Pointer.....: 207fc50 > Current IP........: 1031c994 = 1031c920 + offset 116 > Previous Frame....: 0 > Previous IP.......: 1 > Frame size........: 3 (1 arguments, 2 local variables) > Argument[0].......: 207ff2c > Local[1]..........: 207f9e0 > Local[2]..........: 207d304 > > VM status: > Instruction pointer.: 226dbce (offset within invoking method: 10) > Next instruction....: 0xbb > Frame pointer.......: 207fd10 > Local pointer.......: 207fd04 > Stack size..........: 128; sp: 207fd28; ranges: 207fc44-207fe44; > Contents of the current stack frame: > 207fd04: 2080d44 (lp) > 207fd08: 0 > 207fd0c: 2071654 > 207fd10: 207fce4 (fp) > 207fd14: 226f144 > 207fd18: 207fd00 > 207fd1c: 226dc38 > 207fd20: 207fc3c > 207fd24: 0 (end of frame) > 207fd28: 2080d44 (sp) > Execution stack contains 232 items: > 207ff2c > 207f9e0 > 207d304 > 0 > 1 > 226f4cc > 102121b8 > 207fc3c > 0 > 207f9e0 > 2071808 > 226f4dc > 207fc50 > 1031c994 > 207fc64 > 10212258 > 207fc3c > 0 > 207f77c > 2071808 > 208006c > 2 > 207f770 > 226f514 > 1021dcf4 > 207fc74 > 1031cf4d > 207fc88 > 1021ddd4 > 207fc3c > 0 > 208006c > 207fca8 > 10331aa2 > 207fcbc > 101deb58 > 207fc3c > 0 > 20800a8 > 10331a9e > 207fcc4 > 102d1055 > 207fcd8 > 226f1d0 > 207fc3c > 0 > 20800a8 > 2080d44 > 2080d44 > 0 > 2071654 > 207fce4 > 226f144 > 207fd00 > 226dc38 > 207fc3c > 0 > 2080d44 > > Execution completed. > 3461851 bytecodes executed > 24 thread switches > 1636 classes in the system (including system classes) > 18241 dynamic objects allocated (540776 bytes) > 7 garbage collections (471324 bytes collected) > Execution completed. > 3461851 bytecodes executed > 24 thread switches > 1636 classes in the system (including system classes) > 18241 dynamic objects allocated (540776 bytes) > 7 garbage collections (471324 bytes collected) > ALERT: java/lang/ClassFormatError: Bad exception handler found. > > can anyone help me out in finding what's problem? why i get > BadExceptionHandler? > > am i suppose to handle exceptions in a special way? > > thanks in advance and regards > Marco > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
