This discussion is archived
0 Replies Latest reply: Sep 22, 2010 12:10 PM by 843849 RSS

[MOVED}Probleming opening SipConnectionotifier

843849 Newbie
Currently Being Moderated
Hi,

When I execute following:
         scn = (SipConnectionNotifier) Connector.open("sip:5099");
I receie the following erro, needless to say I cannot open up a new connection:
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:394)
        at gov.nist.siplite.ConfigurationProperties.setProperty(), bci=3
        at gov.nist.microedition.sip.StackConnector.<init>(), bci=155
        at gov.nist.microedition.sip.StackConnector.getInstance(), bci=11
        at com.sun.cdc.io.j2me.sip.ProtocolBase.openConn(), bci=134
        at com.sun.cdc.io.j2me.sip.Protocol.openPrim(), bci=18
        at javax.microedition.io.Connector.openPrim(), bci=327
        at javax.microedition.io.Connector.open(), bci=3
        at javax.microedition.io.Connector.open(), bci=3
        at javax.microedition.io.Connector.open(), bci=2
        at hello.HelloMIDlet.<init>(HelloMIDlet.java:28)
        at java.lang.Class.newInstance(), bci=0
        at com.sun.midp.main.CldcMIDletLoader.newInstance(), bci=46
        at com.sun.midp.midlet.MIDletStateHandler.createMIDlet(), bci=66
        at com.sun.midp.midlet.MIDletStateHandler.createAndRegisterMIDlet(), bci=17
        at com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=27
        at com.sun.midp.main.AbstractMIDletSuiteLoader.startSuite(), bci=52
        at com.sun.midp.main.CldcMIDletSuiteLoader.startSuite(), bci=8
        at com.sun.midp.main.AbstractMIDletSuiteLoader.runMIDletSuite(), bci=161
        at com.sun.midp.main.AppIsolateMIDletSuiteLoader.main(), bci=26
Anyone help?

Edited by: piotrb4 on Sep 22, 2010 12:09 PM