Jave Wireless Toolkit Error

J

Justin Champion

Hello everytime I try to run a program in the wirless toolkit, the program
tranbsfers to the emulator but when I click launch I get this error
Running with storage root DefaultGrayPhone
Method............: 100d2aa8 'com/sun/midp/midlet/MIDletState.createMIDlet
(static)'
Stack Chunk.......: d189a0
Frame Pointer.....: d189fc
Current IP........: 10128592 = 10128584 + offset 14
Previous Frame....: d189c0
Previous IP.......: 1012052b (offset 22)
Frame size........: 8 (1 arguments, 7 local variables)
Argument[0].......: d197e4
Local[1]..........: 0
Local[2]..........: d189c0
Local[3]..........: d28804
Local[4]..........: d189d4
Local[5]..........: 100dcdd0
Local[6]..........: d189a0
Local[7]..........: 1015f0a0
Operand[1]........: d197e4

Method............: 100cd0e4 'com/sun/midp/midlet/Selector.run (virtual)'
Stack Chunk.......: d189a0
Frame Pointer.....: d189c0
Current IP........: 1012052b = 10120515 + offset 22
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 6 (1 arguments, 5 local variables)
Argument[0].......: d19a28
Local[1]..........: d28a14
Local[2]..........: d197e4
Local[3]..........: 0
Local[4]..........: 0
Local[5]..........: 0
Operand[1]........: d28a14

VM status:
Instruction pointer.: 10128592 (offset within invoking method: 14)
Next instruction....: 0x4c
Frame pointer.......: d189fc
Local pointer.......: d189dc
Stack size..........: 128; sp: d18a14; ranges: d189a8-d18ba8;
Contents of the current stack frame:
d189dc: d197e4 (lp)
d189e0: 0
d189e4: d189c0
d189e8: d28804
d189ec: d189d4
d189f0: 100dcdd0
d189f4: d189a0
d189f8: 1015f0a0
d189fc: d189c0 (fp)
d18a00: 1012052b
d18a04: d189d8
d18a08: 100d2aa8
d18a0c: d189a0
d18a10: 0 (end of frame)
d18a14: d197e4 (sp)
Execution stack contains 112 items:
d19a28
d28a14
d197e4
0
0
0
0
1
d189a4
100cd0e4
d189a0
0
d28a14
d197e4
0
d189c0
d28804
d189d4
100dcdd0
d189a0
1015f0a0
d189c0
1012052b
d189d8
100d2aa8
d189a0
0
d197e4

Execution completed.
435733 bytecodes executed
8 thread switches
486 classes in the system (including system classes)
2406 dynamic objects allocated (69836 bytes)
1 garbage collections (0 bytes collected)
ALERT: java/lang/ClassFormatError: Bad version information.
Execution completed.
435733 bytecodes executed
8 thread switches
486 classes in the system (including system classes)
2406 dynamic objects allocated (69836 bytes)
1 garbage collections (0 bytes collected)


Can anyone tell me why I get this. I have now tried my own progam and a few
other example programs and it is always the same.

Thanks,

Justin.

--
 
J

Justin Champion

I have manged to resolve this error. Bu changing my version of JDK to 1.4.2
and the problem went away !

Thanks anyway,


Justin.

--
----------------------------------------------------------------------------
--------
"There's no point in being grown up if you can't be childish sometimes"
Fourth Doctor Who(Tom Baker)
Doctor Who Web Site www.doctorwho.hopto.org


Justin Champion said:
Hello everytime I try to run a program in the wirless toolkit, the program
tranbsfers to the emulator but when I click launch I get this error
Running with storage root DefaultGrayPhone
Method............: 100d2aa8 'com/sun/midp/midlet/MIDletState.createMIDlet
(static)'
Stack Chunk.......: d189a0
Frame Pointer.....: d189fc
Current IP........: 10128592 = 10128584 + offset 14
Previous Frame....: d189c0
Previous IP.......: 1012052b (offset 22)
Frame size........: 8 (1 arguments, 7 local variables)
Argument[0].......: d197e4
Local[1]..........: 0
Local[2]..........: d189c0
Local[3]..........: d28804
Local[4]..........: d189d4
Local[5]..........: 100dcdd0
Local[6]..........: d189a0
Local[7]..........: 1015f0a0
Operand[1]........: d197e4

Method............: 100cd0e4 'com/sun/midp/midlet/Selector.run (virtual)'
Stack Chunk.......: d189a0
Frame Pointer.....: d189c0
Current IP........: 1012052b = 10120515 + offset 22
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 6 (1 arguments, 5 local variables)
Argument[0].......: d19a28
Local[1]..........: d28a14
Local[2]..........: d197e4
Local[3]..........: 0
Local[4]..........: 0
Local[5]..........: 0
Operand[1]........: d28a14

VM status:
Instruction pointer.: 10128592 (offset within invoking method: 14)
Next instruction....: 0x4c
Frame pointer.......: d189fc
Local pointer.......: d189dc
Stack size..........: 128; sp: d18a14; ranges: d189a8-d18ba8;
Contents of the current stack frame:
d189dc: d197e4 (lp)
d189e0: 0
d189e4: d189c0
d189e8: d28804
d189ec: d189d4
d189f0: 100dcdd0
d189f4: d189a0
d189f8: 1015f0a0
d189fc: d189c0 (fp)
d18a00: 1012052b
d18a04: d189d8
d18a08: 100d2aa8
d18a0c: d189a0
d18a10: 0 (end of frame)
d18a14: d197e4 (sp)
Execution stack contains 112 items:
d19a28
d28a14
d197e4
0
0
0
0
1
d189a4
100cd0e4
d189a0
0
d28a14
d197e4
0
d189c0
d28804
d189d4
100dcdd0
d189a0
1015f0a0
d189c0
1012052b
d189d8
100d2aa8
d189a0
0
d197e4

Execution completed.
435733 bytecodes executed
8 thread switches
486 classes in the system (including system classes)
2406 dynamic objects allocated (69836 bytes)
1 garbage collections (0 bytes collected)
ALERT: java/lang/ClassFormatError: Bad version information.
Execution completed.
435733 bytecodes executed
8 thread switches
486 classes in the system (including system classes)
2406 dynamic objects allocated (69836 bytes)
1 garbage collections (0 bytes collected)


Can anyone tell me why I get this. I have now tried my own progam and a few
other example programs and it is always the same.

Thanks,

Justin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top