日期:2014-05-20  浏览次数:20846 次

模拟器运行错误,碰到过的帮忙看下,急!!!谢谢
netbeans 6.0 + WTK2.5.2

运行两个项目,第一个WTK模拟器没问题,第二个项目运行时失败,提示:
Starting emulator in execution mode
Running with storage root C:\Documents and Settings\wlu\j2mewtk\2.5.2\appdb\DefaultColorPhone
Running with locale: English_United Kingdom.1252
Running in the ${evaluated.run.security.domain} security domain
Incorrect domain name, switching to 'unidentified_third_party'
Error verifying method s startApp()V
Method............: 10253fa4 'java/lang/Class.runCustomCode (static)' 
Stack Chunk.......: 22900ac
Frame Pointer.....: 2290120
Current IP........: 10369ef4 = 10369ef4 + offset 0
Previous Frame....: 2290104
Previous IP.......: 1033a48b (offset 29)
Frame size........: 0 (0 arguments, 0 local variables)
Operand[1]........: 10001c10
Operand[2]........: 248f7ec
Operand[3]........: 4

Method............: 10233084 'com/sun/midp/midlet/MIDletState.createMIDlet (static)' 
Stack Chunk.......: 22900ac
Frame Pointer.....: 2290104
Current IP........: 1033a48b = 1033a46e + offset 29
Previous Frame....: 22900cc
Previous IP.......: 103ce331 (offset 22)
Frame size........: 7 (1 arguments, 6 local variables)
Argument[0].......: 22908f4
Local[1]..........: 0
Local[2]..........: 240cc4c
Local[3]..........: 22a0354
Local[4]..........: 240cc60
Local[5]..........: 10274b20
Local[6]..........: 240cc2c
Operand[1]........: 248f7ec

Method............: 10295954 'com/sun/midp/midlet/Selector.run (virtual)' 
Stack Chunk.......: 22900ac
Frame Pointer.....: 22900cc
Current IP........: 103ce331 = 103ce31b + offset 22
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 6 (1 arguments, 5 local variables)
Argument[0].......: 2290ae0
Local[1]..........: 22a0430
Local[2]..........: 22908f4
Local[3]..........: 0
Local[4]..........: 0
Local[5]..........: 0
Operand[1]........: 22a0430

VM status:
Instruction pointer.: 10369ef4 (offset within invoking method: 0)
Next instruction....: 0xdf
Frame pointer.......: 2290120
Local pointer.......: 2290120
Stack size..........: 128; sp: 2290140; ranges: 22900b4-22902b4;
Contents of the current stack frame:
  2290120: 2290104 (lp) (fp)
  2290124: 1033a48b
  2290128: 229011c
  229012c: 10253fa4
  2290130: 22900ac
  2290134: 0 (end of frame)
  2290138: 10001c10
  229013c: 248f7ec
  2290140: 4 (sp)
Execution stack contains 144 items: 
2290ae0  
22a0430  
22908f4  
0  
0  
0  
0  
1  
240cc30  
10295954  
22900ac  
0  
22a0430  
22908f4  
0  
240cc4c  
22a0354  
240cc60  
10274b20  
240cc2c  
22900cc  
103ce331  
22900e4  
10233084  
22900ac  
0  
248f7ec  
2290104  
1033a48b  
229011c  
10253fa4  
22900ac  
0  
10001c10  
248f7ec  
4  

Execution completed.
3437712 bytecodes executed
179 thread switches
1706 classes in the system (including system classes)
18469 dynamic objects allocated (591096 bytes)
11 garbage collections (516520 bytes collected)
Execution completed.
3437712 bytecodes executed
179 thread switches
1706 classes in the system (including system classes)
18469 dynamic objects allocated (591096 bytes)
Approximate bytecode offset 3: Inconsistent or missing stackmap at target
ALERT: java/lang/VerifyError: s.
11 garbage collections (516520 bytes collected)
BUILD SUCCESSFUL (total time: 56 seconds)