Re: using jain-sip-applet-phone with nist-sip-1.2
"M. (Neo-Ranga) Ranganathan" <[email protected]> Wed, 3 Oct 2007 14:09:14 -0400
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
The applet phone has not been updated to 1.2. If you want to take a crack at it, sign up as a dev and have a hack at it. Sorry I dont have the time to do it. I keep getting requests for it. I am sure the community will receive your efforts favorably. Ranga On 10/3/07, Venkata Ramana Kunapuli <[email protected]> wrote: > Hi, > > I tried to use jain-sip-applet-phone using nist-sip-1.2, but it gives me > the following error in creating sip stack. However when I use the example > code in nist-sip-.1.2 I am able do this operation successful. Any idea why I > get this error. > > Thanks > Venkat > [java] javax.sip.PeerUnavailableException: The Peer SIP > Stack: gov.nist.jav > ax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been > set > . > [java] at javax.sip.SipFactory.createStack > (SipFactory.java:324) > [java] at > javax.sip.SipFactory.createSipStack(SipFactory.java:152) > [java] at > gov.nist.applet.phone.ua.MessageListener.start(MessageListene > r.java:494) > [java] at > gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerMan > ager.java:97) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.<init>(NISTMesseng > er.java:54) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.main > (NISTMessenger > .java:520) > [java] Caused by: > java.lang.reflect.InvocationTargetException > [java] at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > [java] at > sun.reflect.NativeConstructorAccessorImpl.newInstance > (NativeC > onstructorAccessorImpl.java:39) > [java] at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del > egatingConstructorAccessorImpl.java:27) > [java] at > java.lang.reflect.Constructor.newInstance > (Constructor.java:51 > 3) > [java] at > javax.sip.SipFactory.createStack(SipFactory.java:314) > [java] ... 5 more > [java] Caused by: java.lang.NoClassDefFoundError: > EDU/oswego/cs/dl/util/con > current/ConcurrentHashMap > [java] at > gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransa > ctionStack.java:377) > [java] at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java > :268) > > [java] at > gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:310) > > [java] ... 10 more > [java] The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be > ins > tantiated. Ensure the Path Name has been set. > [java] java.lang.reflect.InvocationTargetException > [java] at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > [java] at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC > onstructorAccessorImpl.java:39) > [java] at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del > egatingConstructorAccessorImpl.java:27) > [java] at > java.lang.reflect.Constructor.newInstance(Constructor.java:51 > 3) > [java] at javax.sip.SipFactory.createStack > (SipFactory.java:314) > [java] at > javax.sip.SipFactory.createSipStack(SipFactory.java:152) > [java] at > gov.nist.applet.phone.ua.MessageListener.start(MessageListene > r.java:494) > [java] at > gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerMan > ager.java:97) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.<init>(NISTMesseng > er.java:54) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.main > (NISTMessenger > .java:520) > [java] Caused by: java.lang.NoClassDefFoundError: > EDU/oswego/cs/dl/util/con > current/ConcurrentHashMap > [java] at > gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransa > ctionStack.java:377) > [java] at > gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:268) > > [java] at > gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:310) > > [java] ... 10 more > [java] Exception in thread "main" java.lang.NullPointerException > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.unRegister(NISTMes > senger.java:490) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.close(NISTMessenge > r.java:479) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.fatalError(NISTMes > senger.java:513) > [java] at > gov.nist.applet.phone.ua.MessageListener.start(MessageListene > r.java:503) > [java] at > gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerMan > ager.java:97) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger > .<init>(NISTMesseng > er.java:54) > [java] at > gov.nist.applet.phone.ua.gui.NISTMessenger.main(NISTMessenger > .java:520) > > _______________________________________________ > nist-sip mailing list > [email protected] > http://www-x.antd.nist.gov/mailman/listinfo/nist-sip > > -- M. Ranganathan "There are two ways to write error-free programs; only the third one works." -- Alan Perlis http://www.animenewsnetwork.com/encyclopedia/anime.php?id=1052