Iam trying to develop J2ME mobile application with aspectJ , there is no problem at the compilation
time , but the problem occured at the runtime ,and the Emulator was exited.
can any one tell why this exception occured?
C:\WTK25\bin\emulator.exe -classpath "C:\Documents and Settings\yousef jawwad\jbproject\AspectJ\classes;" -Xdevice:defaultColorPhone -Xdescriptor:"C:\Documents and Settings\yousef jawwad\jbproject\AspectJ\jad-temp\J2ME.jad"
Running with storage root DefaultColorPhone
Running with locale: Arabic_Saudi Arabia.1256
Error verifying method aspectj/J2ME startApp()V
Approximate bytecode offset 0: Inconsistent or missing stackmap at target
ALERT: java/lang/VerifyError: aspectj/J2ME.
Method............: 10221664 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
Stack Chunk.......: 22700ac
Frame Pointer.....: 2270104
Current IP........: 10327513 = 103274f6 + offset 29
Previous Frame....: 22700cc
Previous IP.......: 103bb579 (offset 22)
Frame size........: 7 (1 arguments, 6 local variables)
Argument[0].......: 2270888
Local[1]..........: 0
Local[2]..........: 23f0d38
Local[3]..........: 227fb84
Local[4]..........: 23f0d4c
Local[5]..........: 10263184
Local[6]..........: 23f0d18
Operand[1]........: 246f800
Method............: 10283b04 'com/sun/midp/midlet/Selector.run (virtual)'
Stack Chunk.......: 22700ac
Frame Pointer.....: 22700cc
Current IP........: 103bb579 = 103bb563 + offset 22
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 6 (1 arguments, 5 local variables)
Argument[0].......: 2270a14
Local[1]..........: 227fc60
Local[2]..........: 2270888
Local[3]..........: 0
Local[4]..........: 0
Local[5]..........: 0
Operand[1]........: 227fc60
VM status:
Instruction pointer.: 10327513 (offset within invoking method: 29)
Next instruction....: 0x4c
Frame pointer.......: 2270104
Local pointer.......: 22700e8
Stack size..........: 128; sp: 227011c; ranges: 22700b4-22702b4;
Contents of the current stack frame:
22700e8: 2270888 (lp)
22700ec: 0
22700f0: 23f0d38
22700f4: 227fb84
22700f8: 23f0d4c
22700fc: 10263184
2270100: 23f0d18
2270104: 22700cc (fp)
2270108: 103bb579
227010c: 22700e4
2270110: 10221664
2270114: 22700ac
2270118: 0 (end of frame)
227011c: 246f800 (sp)
Execution stack contains 108 items:
2270a14
227fc60
2270888
0
0
0
0
1
23f0d1c
10283b04
22700ac
0
227fc60
2270888
0
23f0d38
227fb84
23f0d4c
10263184
23f0d18
22700cc
103bb579
22700e4
10221664
22700ac
0
246f800
Execution completed.
3366869 bytecodes executed
102 thread switches
1648 classes in the system (including system classes)
17413 dynamic objects allocated (520060 bytes)
2 garbage collections (452380 bytes collected)
Execution completed.
3366869 bytecodes executed
102 thread switches
1648 classes in the system (including system classes)
17413 dynamic objects allocated (520060 bytes)
2 garbage collections (452380 bytes collected)