×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    9

    anybody know these error?

    Hi,

    I'm trying to program an application that can send MMS from PC to handphone by using Nokia MMS Java Library to compose the MMS and jWAP library to send the thing. but I'm stuck with the below error. Can somebody help me on how to do it? Thank you for your explanation.

    error:

    connecting to WAP gateway /165.21.42.84
    connected to WAP gateway /165.21.42.84
    out:[B@1ad086a //my byte file
    sending data (WSP POST)
    - retransmission timer: exceeded 4 time(s) --> cancel
    java.lang.NullPointerException
    at net.sourceforge.jwap.wsp.CWSPSession.s_disconnect_ind(Unknown Source)
    at net.sourceforge.jwap.wsp.CWSPSession.tr_abort(Unknown Source)
    at net.sourceforge.jwap.wtp.CWTPInitiator$2.actionPerformed(Unknown Source)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

  2. #2
    Registered User
    Join Date
    May 2004
    Posts
    9

    Reply to my own Q

    Replying to my own question.

    The error is because, I program my application so that the MMSC can reply something like an acknowledgement when it receives my file. Since I can not get any acknowledgement, therefore, I assume that I have not connect to MMSC yet.

    So my next question is how to connect to MMSC? Do we have to put something in the header? If yes, what the header? any sample code?

    Thank you.

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Re: anybody know these error?

    Hi, I use Nokia mms java library, JWap library and NowSms as Wap Gateway but I can't connect to Wap Gateway, the error is:

    connecting to WAP gateway /127.0.0.1
    JWap: retransmission timer: exceeded 4 time(s) --> cancel
    disconnected from Wap gateway /127.0.0.1

    It means that my application can't connect to wap gateway (infact your output shows "connected to WAP gateway /165.21.42.84").

    Can you help me to solve this error.
    Thanks

Posting Permissions

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