×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    27

    J2ME 2.5 Crashed

    Hello everyone,
    I am using J2ME to develop the VoIP. I need to talk to another client.
    However, When I receive RTP packets from another client.
    My programme is crashed after receiving RTP packets for a while. Following is the crashed details: I cannot understand it, Can anyone help me?


    Method............: 101d00fc 'com/sun/midp/io/j2me/datagram/Protocol.receive (virtual)'
    Stack Chunk.......: 20a11dc
    Frame Pointer.....: 20a1310
    Current IP........: 102bc76b = 102bc6e7 + offset 132
    Previous Frame....: 20a12c4
    Previous IP.......: 228bd10 (offset 680)
    Frame size........: 13 (2 arguments, 11 local variables)
    Argument[0].......: 20a14cc
    Argument[1].......: 20a1c60
    Local[2]..........: 20a1c60
    Local[3]..........: 2b0
    Local[4]..........: 1f4000ac
    Local[5]..........: 1ba75ecb
    Local[6]..........: ac
    Local[7]..........: 1ba75ecb
    Local[8]..........: 0
    Local[9]..........: 20a1c60
    Local[10]..........: 0
    Local[11]..........: 20a1c88
    Local[12]..........: 2b0
    Operand[1]........: 1ba75ecb

    Method............: 228c07c 'RTPDataSource$RTPSourceStream.read (virtual)'
    Stack Chunk.......: 20a11dc
    Frame Pointer.....: 20a12c4
    Current IP........: 228bd10 = 228ba68 + offset 680
    Previous Frame....: 20a1284
    Previous IP.......: 103392bd (offset 49)
    Frame size........: 10 (4 arguments, 6 local variables)
    Argument[0].......: 20a1b84
    Argument[1].......: 20a1544
    Argument[2].......: 0
    Argument[3].......: 2b0
    Local[4]..........: 0
    Local[5]..........: 280
    Local[6]..........: 20a1c88
    Local[7]..........: 20a1c60
    Local[8]..........: 20a2140
    Local[9]..........: 20a2090

    Method............: 10222240 'com/sun/mmedia/WavPlayer.readBytes (virtual)'
    Stack Chunk.......: 20a11dc
    Frame Pointer.....: 20a1284
    Current IP........: 103392bd = 1033928c + offset 49
    Previous Frame....: 20a1254
    Previous IP.......: 10339038 (offset 16)
    Frame size........: 6 (4 arguments, 2 local variables)
    Argument[0].......: 20a1900
    Argument[1].......: 20a1544
    Argument[2].......: 0
    Argument[3].......: 2b0
    Local[4]..........: 35ffe
    Local[5]..........: 0

    Method............: 102221c0 'com/sun/mmedia/WavPlayer.readDecodedBytes (virtual)'
    Stack Chunk.......: 20a11dc
    Frame Pointer.....: 20a1254
    Current IP........: 10339038 = 10339028 + offset 16
    Previous Frame....: 20a1234
    Previous IP.......: 1033904c (offset 19)
    Frame size........: 2 (2 arguments, 0 local variables)
    Argument[0].......: 20a1900
    Argument[1].......: 20a1804

    Method............: 102221e0 'com/sun/mmedia/WavPlayer.doProcess (virtual)'
    Stack Chunk.......: 20a11dc
    Frame Pointer.....: 20a1234
    Current IP........: 1033904c = 10339039 + offset 19
    Previous Frame....: 20a11fc
    Previous IP.......: 103391de (offset 24)
    Frame size........: 8 (1 arguments, 7 local variables)
    Argument[0].......: 20a1900
    Local[1]..........: 0
    Local[2]..........: 0
    Local[3]..........: 20a185c
    Local[4]..........: 0
    Local[5]..........: 0
    Local[6]..........: 0
    Local[7]..........: 0

    Method............: 10222200 'com/sun/mmedia/WavPlayer.run (virtual)'
    Stack Chunk.......: 20a11dc
    Frame Pointer.....: 20a11fc
    Current IP........: 103391de = 103391c6 + offset 24
    Previous Frame....: 0
    Previous IP.......: 1
    Frame size........: 6 (1 arguments, 5 local variables)
    Argument[0].......: 20a1900
    Local[1]..........: 1
    Local[2]..........: 0
    Local[3]..........: 0
    Local[4]..........: 0
    Local[5]..........: 0

    VM status:
    Instruction pointer.: 102bc76b (offset within invoking method: 132)
    Next instruction....: 0xd7
    Frame pointer.......: 20a1310
    Local pointer.......: 20a12dc
    Stack size..........: 128; sp: 20a1328; ranges: 20a11e4-20a13e4;
    Contents of the current stack frame:
    20a12dc: 20a14cc (lp)
    20a12e0: 20a1c60
    20a12e4: 20a1c60
    20a12e8: 2b0
    20a12ec: 1f4000ac
    20a12f0: 1ba75ecb
    20a12f4: ac
    20a12f8: 1ba75ecb
    20a12fc: 0
    20a1300: 20a1c60
    20a1304: 0
    20a1308: 20a1c88
    20a130c: 2b0
    ALERT: Heap address is not four-byte aligned
    20a1310: 20a12c4 (fp)
    20a1314: 228bd10
    20a1318: 20a12d8
    20a131c: 101d00fc
    20a1320: 20a11dc
    20a1324: 20a14cc (end of frame)
    20a1328: 1ba75ecb (sp)
    Execution stack contains 328 items:
    20a1900
    1
    0
    0
    0
    0
    0
    1
    2284640
    10222200
    20a11dc
    0
    20a1900
    0
    0
    20a185c
    0
    0
    0
    0
    20a11fc
    103391de
    20a1210
    102221e0
    20a11dc
    0
    20a1900
    20a1804
    20a1234
    1033904c
    20a1248
    102221c0
    20a11dc
    0
    20a1900
    20a1544
    0
    2b0
    35ffe
    0
    20a1254
    10339038
    20a1268
    10222240
    20a11dc
    0
    20a1b84
    20a1544
    0
    2b0
    0
    280
    20a1c88
    20a1c60
    20a2140
    20a2090
    20a1284
    103392bd
    20a1298
    228c07c
    20a11dc
    20a1b84
    20a14cc
    20a1c60
    20a1c60
    2b0
    1f4000ac
    1ba75ecb
    ac
    1ba75ecb
    0
    20a1c60
    0
    20a1c88
    2b0
    20a12c4
    228bd10
    20a12d8
    101d00fc
    20a11dc
    20a14cc
    1ba75ecb

    Execution completed.
    13304051 bytecodes executed
    5381 thread switches
    1629 classes in the system (including system classes)
    74029 dynamic objects allocated (4596200 bytes)
    12 garbage collections (2521656 bytes collected)
    Execution completed.
    13304051 bytecodes executed
    5381 thread switches
    1629 classes in the system (including system classes)
    74029 dynamic objects allocated (4596200 bytes)
    12 garbage collections (2521656 bytes collected)

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    32

    Re: J2ME 2.5 Crashed

    How u doing VoIP if J2ME does not support full duplex?

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    27

    Re: J2ME 2.5 Crashed

    Devices do not support duplex, it does not mean that VoIP cannot be implemented on J2ME. We do not need to the sending and receiving at the same time. It is because of J2ME implementation. Thingk about the mobiel phone, mobile phone is duplex. I think it just is because the manufacturers do not publish the paper or relevant API about how to do deplex. Or they just do not want to let user to do duplex. that's what i am thinking. My implementation shows it is possible to do VoIP on J2ME.

    good luck

    dean

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    20

    Re: J2ME 2.5 Crashed

    Are you ysing eclipse ME...because i also get this error sometimes...and i never used VOIP..if using eclipse ME then try creating a new project with new workspace..
    But not sure about your problem,

    Hth,
    Best,
    Pradeep

Similar Threads

  1. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  2. J2ME 2.5 beta too slow, and S60 SDK
    By maodean in forum Mobile Java General
    Replies: 2
    Last Post: 2006-09-22, 05:56
  3. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11:25
  4. J2ME Polish 1.0 RC1!
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-15, 02:53
  5. TinyLine SVG Minute Toolkit for J2ME: version 1.4 released
    By girow in forum Mobile Java General
    Replies: 0
    Last Post: 2003-05-05, 16:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •