J2meunit

0 respostas
I

Olá pessoal, estou trabalhando com j2meunit e consigo fazer os testes rodarem normalmente quando estou trabalhando com os resultados em modo texto, acontece que quando quero os mesmos apareçam em uma midlet tenho a seguinte exceção:

Running with storage root /storage
Running with locale: Portuguese_Brazil.1252
Method…: 101fe140 'java/lang/Class.runCustomCode (static)'
Stack Chunk…: 201fc04
Frame Pointer…: 201fcc4
Current IP…: 10300014 = 10300014 + offset 0
Previous Frame…: 201fca8
Previous IP…: 102d4053 (offset 29)
Frame size…: 0 (0 arguments, 0 local variables)
Operand[1]…: 10001c50
Operand[2]…: 2109824
Operand[3]…: 4

Method…: 101e13ec 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
Stack Chunk…: 201fc04
Error verifying method j2meunit/midletui/TestRunner <init>()V
Approximate bytecode offset 24: Inconsistent or missing stackmap at target
Frame Pointer…: 201fca8
Current IP…: 102d4053 = 102d4036 + offset 29
Previous Frame…: 201fc70
Previous IP…: 103319c8 (offset 52)
Frame size…: 7 (1 arguments, 6 local variables)
Argument[0]…: 201d280
Local[1]…: 21094f0
Local[2]…: 103319c5
Local[3]…: 201f67c
Local[4]…: 101f9550
Local[5]…: 2109484
Local[6]…: 0
Operand[1]…: 2109824

Method…: 1021ddd4 'com/sun/midp/midlet/Scheduler.schedule (virtual)'
Stack Chunk…: 201fc04
Frame Pointer…: 201fc70
Current IP…: 103319c8 = 10331994 + offset 52
Previous Frame…: 201fc3c
Previous IP…: 1031cf4d (offset 28)
Frame size…: 7 (2 arguments, 5 local variables)
Argument[0]…: 201f758
Argument[1]…: 2011790
Local[2]…: 2102944
Local[3]…: 21094bc
ALERT: java/lang/VerifyError: j2meunit/midletui/TestRunner.
Local[4]…: 1031cf49
Local[5]…: 21094d0
Local[6]…: 1021dcf4
Operand[1]…: 201f758

Method…: 10212258 'com/sun/midp/main/Main.runLocalClass (static)'
Stack Chunk…: 201fc04
Frame Pointer…: 201fc3c
Current IP…: 1031cf4d = 1031cf31 + offset 28
Previous Frame…: 201fc18
Previous IP…: 1031c994 (offset 116)
Frame size…: 3 (1 arguments, 2 local variables)
Argument[0]…: 201f9bc
Local[1]…: 2011790
Local[2]…: 2109498

Method…: 102121b8 'com/sun/midp/main/Main.main (static)'
Stack Chunk…: 201fc04
Frame Pointer…: 201fc18
Current IP…: 1031c994 = 1031c920 + offset 116
Previous Frame…: 0
Previous IP…: 1
Frame size…: 3 (1 arguments, 2 local variables)
Argument[0]…: 201fef4
Local[1]…: 201f9bc
Local[2]…: 201d2f8

VM status:

Instruction pointer.: 10300014 (offset within invoking method: 0)

Next instruction: 0xdf

Frame pointer: 201fcc4

Local pointer: 201fcc4

Stack size: 128; sp: 201fce4; ranges: 201fc0c-201fe0c;

Contents of the current stack frame:

201fcc4: 201fca8 (lp) (fp)

201fcc8: 102d4053

201fccc: 201fcc0

201fcd0: 101fe140

201fcd4: 201fc04

201fcd8: 0 (end of frame)

201fcdc: 10001c50

201fce0: 2109824

201fce4: 4 (sp)

Execution stack contains 220 items:

201fef4

201f9bc

201d2f8

0

1

2109488

102121b8

201fc04

0

201f9bc

2011790

2109498

201fc18

1031c994

201fc2c

10212258

201fc04

0

201f758

2011790

2102944

21094bc

1031cf49

21094d0

1021dcf4

201fc3c

1031cf4d

201fc50

1021ddd4

201fc04

0

201f758

201d280

21094f0

103319c5

201f67c

101f9550

2109484

0

201fc70

103319c8

201fc88

101e13ec

201fc04

0

2109824

201fca8

102d4053

201fcc0

101fe140

201fc04

0

10001c50

2109824

4

Execution completed.
3463773 bytecodes executed
36 thread switches
1630 classes in the system (including system classes)
17979 dynamic objects allocated (542636 bytes)
6 garbage collections (476308 bytes collected)
Execution completed.
3463773 bytecodes executed
36 thread switches
1630 classes in the system (including system classes)
17979 dynamic objects allocated (542636 bytes)
6 garbage collections (476308 bytes collected)

Desde já agradeço a ajuda de vcs :slight_smile:

Criado 10 de outubro de 2006
Respostas 0
Participantes 1