Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / January 2005

Tip: Looking for answers? Try searching our database.

Problem when using WTK

Thread view: 
Jade - 14 Jan 2005 15:18 GMT
Hope anyone can helps .... thanks.

I wrote a simple mobile game using J2ME and can compile it without error,
but when i try to launch it, the following message come out and then .....
exit:

Project settings saved
Building "TestingGame"
Build complete
Running with storage root DefaultColorPhone
Method............: 100d2aa8 'com/sun/midp/midlet/MIDletState.createMIDlet
(static)'
Stack Chunk.......: e87cc4
Frame Pointer.....: e87d20
Current IP........: 10128592 = 10128584 + offset 14
Previous Frame....: e87ce4
Previous IP.......: 1012052b (offset 22)
Frame size........: 8 (1 arguments, 7 local variables)
Argument[0].......: e895cc
Local[1]..........: 0
Local[2]..........: e87ce4
Local[3]..........: e987fc
Local[4]..........: e87cf8
Local[5]..........: 100dcdd0
Local[6]..........: e87cc4
Local[7]..........: 1015f0a0
Operand[1]........: e895cc

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

VM status:
Instruction pointer.: 10128592 (offset within invoking method: 14)
Next instruction....: 0x4c
Frame pointer.......: e87d20
Local pointer.......: e87d00
Stack size..........: 128; sp: e87d38; ranges: e87ccc-e87ecc;
Contents of the current stack frame:
   e87d00: e895cc (lp)
   e87d04: 0
   e87d08: e87ce4
   e87d0c: e987fc
   e87d10: e87cf8
   e87d14: 100dcdd0
   e87d18: e87cc4
   e87d1c: 1015f0a0
   e87d20: e87ce4 (fp)
   e87d24: 1012052b
   e87d28: e87cfc
   e87d2c: 100d2aa8
ALERT: java/lang/ClassFormatError: Bad version information.

   e87d30: e87cc4
   e87d34: 0 (end of frame)
   e87d38: e895cc (sp)
Execution stack contains 112 items:
e89810
e98a0c
e895cc
0
0
0
0
1
e87cc8
100cd0e4
e87cc4
0
e98a0c
e895cc
0
e87ce4
e987fc
e87cf8
100dcdd0
e87cc4
1015f0a0
e87ce4
1012052b
e87cfc
100d2aa8
e87cc4
0
e895cc

Execution completed.
441217 bytecodes executed
9 thread switches
486 classes in the system (including system classes)
2483 dynamic objects allocated (73128 bytes)
1 garbage collections (0 bytes collected)
Execution completed.
441217 bytecodes executed
9 thread switches
486 classes in the system (including system classes)
2483 dynamic objects allocated (73128 bytes)
1 garbage collections (0 bytes collected)
Stefan Schulz - 14 Jan 2005 18:21 GMT
> ALERT: java/lang/ClassFormatError: Bad version information.

I would guess you tried to use 1.5 code on a non 1.5 VM

Signature

In pioneer days they used oxen for heavy pulling, and when one ox
couldn't budge a log, they didn't try to grow a larger ox. We shouldn't
be trying for bigger computers, but for more systems of computers.
          --- Rear Admiral Grace Murray Hopper



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.