3 Replies Latest reply: Apr 18, 2011 11:43 PM by 856212 RSS

    Sms port midp2.0

    843849
      Hi, I'm trying to write an app that listens for sms messages on the default port. However, when I run the midlet, the following error occurs.

      java.lang.IllegalArgumentException: Port format
      at com.sun.midp.io.j2me.sms.Protocol.openPrimInternal(+272)
      at com.sun.midp.io.j2me.sms.Protocol.openPrim(+8)
      ........

      Can someone let me know what is the general cause for this error?

      Any help would be appreciated!