Altes J2ME Projekt will nicht mehr



Hallo,
ich habe folgendes Problem: Ich arbeite gerade an einem Java2-MicroEdition-MIDlet-Projekt. genaugenommen habe ich zwishenzeitig kurz an etwas anderem gearbeitet, und jetzt will das MIDlet nicht mehr funktionieren.


Ich kann das existierende deployte JAR Archiv ausführen, aber wenn ich es aus Eclipse heraus starte oder ein neues Package deploye schmiert er ab.

Ich kann mir eigentlich nur vorstellen, das es an der neuen Eclipse-Version liegt. Ich habe jetzt Eclipse in der 3.1.0 und benutze dazu das WTK2.2 (und Proguard 3.2, aber daran kann's nicht liegen).

Wenn ich es starte kommt folgende (ziemlich lange) Fehlermeldung, mit der ich leider nicht viel anfangen kann. Die letzte Zeile ("ALERT...") erscheint hierbei an zufälliger Position (mehrere Threads, die beide zugleich Fehler abgeben soschnell sie können?).

Würde mich freuen, wenn mir jemand helfen kann. Also wie gesagt, das gleiche MIDlet hat unter dem letzten Eclipse tadellos funktoniert...

Tobias

Inhalt des Eclipse comand fensters nach Ausführung und sofortigem Abschmieren:

Running with storage root DefaultColorPhone
Method............: 1016db58 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
Stack Chunk.......: ef9490
Frame Pointer.....: ef9534
Current IP........: 101f1715 = 101f1707 + offset 14
Previous Frame....: ef94fc
Previous IP.......: 101d42d4 (offset 52)
Frame size........: 7 (1 arguments, 6 local variables)
Argument[0].......: ef7fb4
Local[1]..........: ef94fc
Local[2]..........: 101d42d1
Local[3]..........: ef8468
Local[4]..........: 1016d950
Local[5]..........: ef9490
Local[6]..........: 0
Operand[1]........: ef7fb4


Method............: 1015a558 'com/sun/midp/midlet/Scheduler.schedule (virtual)'
Stack Chunk.......: ef9490
Frame Pointer.....: ef94fc
Current IP........: 101d42d4 = 101d42a0 + offset 52
Previous Frame....: ef94c8
Previous IP.......: 101dec85 (offset 28)
Frame size........: 7 (2 arguments, 5 local variables)
Argument[0].......: ef8628
Argument[1].......: ee5a38
Local[2]..........: ef7fb4
Local[3]..........: ef94c8
Local[4]..........: 101dec81
Local[5]..........: ef94dc
Local[6]..........: 1015a478
Operand[1]........: ef8628


Method............: 1016224c 'com/sun/midp/main/Main.runLocalClass (static)'
Stack Chunk.......: ef9490
Frame Pointer.....: ef94c8
Current IP........: 101dec85 = 101dec69 + offset 28
Previous Frame....: ef94a4
Previous IP.......: 101de6fc (offset 116)
Frame size........: 3 (1 arguments, 2 local variables)
Argument[0].......: ef8c0c
Local[1]..........: ee5a38
Local[2]..........: ef94a4


Method............: 101621ac 'com/sun/midp/main/Main.main (static)'
Stack Chunk.......: ef9490
Frame Pointer.....: ef94a4
Current IP........: 101de6fc = 101de688 + offset 116
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 3 (1 arguments, 2 local variables)
Argument[0].......: ef977c
Local[1]..........: ef8c0c
Local[2]..........: ef8004

VM status:
Instruction pointer.: 101f1715 (offset within invoking method: 14)
Next instruction....: 0x4c
Frame pointer.......: ef9534
Local pointer.......: ef9518
Stack size..........: 256; sp: ef954c; ranges: ef9498-ef9698;ef91c4-ef93c4;
Contents of the current stack frame:
    ef9518: ef7fb4 (lp)
    ef951c: ef94fc
    ef9520: 101d42d1
    ef9524: ef8468
    ef9528: 1016d950
    ef952c: ef9490
    ef9530: 0
    ef9534: ef94fc (fp)
    ef9538: 101d42d4
    ef953c: ef9514
    ef9540: 1016db58
    ef9544: ef9490
    ef9548: 0 (end of frame)
    ef954c: ef7fb4 (sp)
Execution stack contains 184 items:
ef977c
ef8c0c
ef8004
0
1
ef9494
101621ac
ef9490
0
ef8c0c
ee5a38
ef94a4
ef94a4
101de6fc
ef94b8
1016224c
ef9490
0
ef8628
ee5a38
ef7fb4
ef94c8
101dec81
ef94dc
1015a478
ef94c8
101dec85
ef94dc
1015a558
ef9490
0
ef8628
ef7fb4
ef94fc
101d42d1
ef8468
1016d950
ef9490
0
ef94fc
101d42d4
ef9514
1016db58
ef9490
0
ef7fb4

Execution completed.
723301 bytecodes executed
5 thread switches
740 classes in the system (including system classes)
3675 dynamic objects allocated (99624 bytes)
1 garbage collections (0 bytes collected)
Execution completed.
723301 bytecodes executed
5 thread switches
740 classes in the system (including system classes)
3675 dynamic objects allocated (99624 bytes)
1 garbage collections (0 bytes collected)
ALERT: java/lang/ClassFormatError: Bad version information.
.



Relevant Pages

  • Re: [OT] [Question]activities of stack pointer and frame pointer when function called
    ... >>I suspect you don't understand what as stack frame is. ... A function stack frame is a method to keep track of function ... At the point of creation the caller is ... When the callee returns to its ...
    (comp.lang.c)
  • Re: [PATCH 2/2] function-graph: add stack frame test
    ... In case gcc does something funny with the stack frames, ... frame of the parent function, and will test that frame on exit. ... This modifies the parameters of one of the functions that the arch ... movl 0xc, %edx ...
    (Linux-Kernel)
  • Re: What is a stack frame?
    ... There is no need for a separate "this frame" pointer. ... In any case, the more general term, which covers what a C compiler ... hardware-provided stack to implement the stack-like data structure ... manner since the current stack frame is "deformed" by alloca. ...
    (comp.lang.c)
  • Re: LPC900/80C51 Compiler Toolchain
    ... Although the fixed-size frame optimization is orthogonal to removing ... storing stack arguments is less important in such cases. ... storing data at (SP + offset) takes exactly the same time ... up and uses up another 2 registers. ...
    (comp.arch.embedded)
  • Re: Garbage collection problems
    ... the stack and unwind the stack in a uniform way.) ... we want a call frame? ... grab it from a free-list. ... though, it may not be worthwhile in terms of supporting continuations, it ...
    (comp.lang.c)