×

Discussion Board

Results 1 to 3 of 3

Thread: INVALID Header

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    25

    INVALID Header

    Hi !
    Some .gif files when send as mms the Content length header shows as 900. see the log below

    Content-Length: 900
    FN_MESSAGE_TYPE (0C)
    FN_TRANSACTION_ID (18)
    FN_MMS_VERSION (0D)
    FN_DATE (05)
    FN_FROM (09)
    FN_TO (17)
    FN_MESSAGE_CLASS (0A)
    FN_PRIORITY (0F)
    FN_STATUS (14)
    FN_DELIVERY_REPORT (06)
    FN_READ_REPLY (10)
    FN_CONTENT_TYPE (04)
    Content Type: image/gif
    Content ID: <birthdays.gif>
    Content Location: birthdays.gif
    Content Name: birthdays.gif
    setContent buffer=900 off=135 len=1192
    Content Count: 1
    Exception: java.lang.ArrayIndexOutOfBoundsException
    MM is Null. Message decoding failed

    as the header Content Length says 900. But the header of the .gif says the size 1192. Why is the Content Length Header value is wrong from the Nokia phone?

    Pls help

    Thanks & Regards
    -Mathul

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    474

    RE: INVALID Header

    Exactly which Nokia terminal are you using? Is the image you are sending available somewhere we could download it to try ourselves? (Or just tell us the exact size (w x h)-- just so we can simulate as close as possible exactly what you're doing)

    -paul / ForumNokia

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    474

    RE: INVALID Header

    yes, the length certainly looks wrong - we'd just naturally want to "see it for ourselves" -- do you have the actual binary of the message sent?

    -paul / ForumNokia

Posting Permissions

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