2 Replies Latest reply on Aug 3, 2009 11:33 PM by EJP

    VOIP - PC  to Mobile calling- Exception generated while building project.

    843790
      I am doing program make PC to Mobile calls using VOIP. Flibble Call Manager is an open source that i have found for this. I had to make some code changes in some of the files, and these got compiled safely with all the errors fixed. I have the project integrated it in my Netbeans IDE and i am getting the following
      Exceptions when i am building the project.

      *=======*
      can you pease guide me on this? I have no idea as what is hapening

      init:
      deps-jar:
      compile-single:
      run-single:
      Auto Discover= true
      localIp= auto
      Sending Probe 10.0.2.58 5060
      Properties---->{javax.sip.OUTBOUND_PROXY=10.0.2.59:5060/udp, gov.nist.javax.sip.CACHE_CLIENT_CONNECTIONS=false, gov.nist.javax.sip.TRACE_LEVEL=0, gov.nist.javax.sip.MAX_MESSAGE_SIZE=1048576, javax.sip.AUTOMATIC_DIALOG_SUPPORT=ON, javax.sip.STACK_NAME=FlibbleSipProvider-1861162469, gov.nist.javax.sip.SERVER_LOG=flibble.txt, gov.nist.javax.sip.DEBUG_LOG=flibbleDebug.txt}
      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:324)
      at javax.sip.SipFactory.createSipStack(SipFactory.java:152)
      at com.sipresponse.flibblecallmgr.internal.FlibbleSipProvider.initialize(FlibbleSipProvider.java:122)
      at com.sipresponse.flibblecallmgr.CallManager.initialize(CallManager.java:298)
      at com.sipresponse.placecall.PlaceCall.go(PlaceCall.java:61)
      at com.sipresponse.placecall.PlaceCall.main(PlaceCall.java:174)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at javax.sip.SipFactory.createStack(SipFactory.java:314)
      ... 5 more
      Caused by: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap
      at gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransactionStack.java:377)
      at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:268)
      at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:310)
      ... 10 more
      Caused by: java.lang.ClassNotFoundException: EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      ... 13 more
      The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.
      BUILD SUCCESSFUL (total time: 1 second)


      *======*
      Thanks in advance.

      Edited by: codebuster on Aug 3, 2009 4:52 AM

      Edited by: codebuster on Aug 3, 2009 4:53 AM