Hello,
after a clean install of sip-communicator for windows I got this error.
···
----------------------------------------------------------------------
29592 [main] ERROR sip.SipManager - Could not create SipStack!
javax.sip.PeerUnavailableException: The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.
at javax.sip.SipFactory.createStack(SipFactory.java:308)
at javax.sip.SipFactory.createSipStack(SipFactory.java:147)
at net.java.sip.communicator.sip.SipManager.start(SipManager.java:287)
at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java:179)
at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:276)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at javax.sip.SipFactory.createStack(SipFactory.java:302)
... 4 more
Caused by: javax.sip.PeerUnavailableException: Could not instantiate router
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:207)
... 9 more
Caused by: java.lang.ClassNotFoundException: net.java.sip.communicator.sip.SipCommRouter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:191)
... 9 more
--------------------------------------------------------------------------------
Seems to me that the nist-sip version u r using is not the one on sip-communicator.org as line numbers don't match. Try updating the stack from cvs and let me know what happens
Cheers
Emil
Paolo Orru wrote:
···
Hello,
after a clean install of sip-communicator for windows I got this error.
----------------------------------------------------------------------
29592 [main] ERROR sip.SipManager - Could not create SipStack!
javax.sip.PeerUnavailableException: The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.
at javax.sip.SipFactory.createStack(SipFactory.java:308)
at javax.sip.SipFactory.createSipStack(SipFactory.java:147)
at net.java.sip.communicator.sip.SipManager.start(SipManager.java:287)
at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java:179)
at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:276)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at javax.sip.SipFactory.createStack(SipFactory.java:302)
... 4 more
Caused by: javax.sip.PeerUnavailableException: Could not instantiate router
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:207)
... 9 more
Caused by: java.lang.ClassNotFoundException: net.java.sip.communicator.sip.SipCommRouter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:191)
... 9 more
--------------------------------------------------------------------------------
Seems to me that the nist-sip version u r using is not the one on sip-communicator.org as line numbers don't match. Try updating the stack from cvs and let me know what happens
I wanted you to do that because I just synchronized the version on CVS with the latest version available so that we don't have problems debugging the code (the line numbers in the exception stack trace were not matchin nist-sip's code)
Thanks
Emil
Paolo Orru wrote:
···
Emil Ivov wrote:
Hello Paolo,
Seems to me that the nist-sip version u r using is not the one on sip-communicator.org as line numbers don't match. Try updating the stack from cvs and let me know what happens
I wanted you to do that because I just synchronized the version on CVS with the latest version available so that we don't have problems debugging the code (the line numbers in the exception stack trace were not matchin nist-sip's code)
ok,
I just got sip-communicator from CVS, then I build it using Ant.
nist-sip-1.2.jar properties are:
CVS version 1.8
last modified : 2004/10/23 19.02
I do "java -jar sip-communicator" from the console and the exceptions are the same.
thanks a lot
Paolo
P.S. I hope this help in debugging the code, if not, tell me which steps I have to do.
···
--------------------------------------------------------------------------------------
net.java.sip.communicator.sip.CommunicationsException: Could not create SipStack!
A possible reason is an incorrect OUTBOUND_PROXY property
(Syntax:<proxy_address:port/transport>)
at net.java.sip.communicator.sip.SipManager.start(SipManager.java:291)
at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java:179)
at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:276)
Caused by: javax.sip.PeerUnavailableException: The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.
at javax.sip.SipFactory.createStack(SipFactory.java:308)
at javax.sip.SipFactory.createSipStack(SipFactory.java:147)
at net.java.sip.communicator.sip.SipManager.start(SipManager.java:287)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at javax.sip.SipFactory.createStack(SipFactory.java:302)
... 4 more
Caused by: javax.sip.PeerUnavailableException: Could not instantiate router
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:207)
... 9 more
Caused by: java.lang.ClassNotFoundException: net.java.sip.communicator.sip.SipCommRouter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:191)
--------------------------------------------------------------------------------------