[sip-comm] sip-communicator Problem


#1

I have a problem using the SIP-Communicator. It works fine when using
udp protocol as the transport layer to carry sip messages, but if I use
the tcp protocol when I try to make a call this java error appears:

java.lang.NullPointerException
        at gov.nist.javax.sip.stack.SIPTransaction.isReliable(Unknown
Source)
        at
gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(Unknown
Source)
        at
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(Unknown
Source)
        at
net.java.sip.communicator.sip.CallProcessing.invite(CallProcessing.java:
817)
        at
net.java.sip.communicator.sip.SipManager.establishCall(SipManager.java:4
80)
        at
net.java.sip.communicator.SipCommunicator.handleDialRequest(SipCommunica
tor.java:305)
        at
net.java.sip.communicator.gui.GuiManager.dialButton_actionPerformed(GuiM
anager.java:262)
        at
net.java.sip.communicator.gui.GuiManager$1.actionPerformed(GuiManager.ja
va:432)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Have any idea about the problem?


#2

Hello Miguel,

Sip Communciator has not been tested using TCP. The last time I tried
it I got the exception you mention but I didn't dig into it. If you
wish you may try and give it some debugging. I don't think that the
problem is very complicated. You'll need jain-sip-ri's sources from
jain-sip.dev.java.net

Cheers
Emil

I have a problem using the SIP-Communicator.It works fine when
using udp protocol as thetransport layer to carry sip messages, but
if I use the tcpprotocol when I try to make a call this java error
appears:

java.lang.NullPointerException

������� at
gov.nist.javax.sip.stack.SIPTransaction.isReliable(UnknownSource)

������� at
gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(UnknownSource)

������� at
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(UnknownSource)

������� at
net.java.sip.communicator.sip.CallProcessing.invite(CallProcessing.java:817)

������� at
net.java.sip.communicator.sip.SipManager.establishCall(SipManager.java:480)

������� at
net.java.sip.communicator.SipCommunicator.handleDialRequest(SipCommunicator.java:305)

�������
atnet.java.sip.communicator.gui.GuiManager.dialButton_actionPerformed(GuiManager.java:262)

�������
atnet.java.sip.communicator.gui.GuiManager$1.actionPerformed(GuiManager.java:432)

������� at
javax.swing.AbstractButton.fireActionPerformed(UnknownSource)

������� at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(UnknownSource)

������� at
javax.swing.DefaultButtonModel.fireActionPerformed(UnknownSource)

������� at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

������� at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(UnknownSource)

������� at java.awt.Component.processMouseEvent(Unknown Source)

������� at java.awt.Component.processEvent(Unknown Source)

������� at java.awt.Container.processEvent(Unknown Source)

������� at java.awt.Component.dispatchEventImpl(Unknown Source)

������� at java.awt.Container.dispatchEventImpl(Unknown Source)

������� at java.awt.Component.dispatchEvent(Unknown Source)

������� at
java.awt.LightweightDispatcher.retargetMouseEvent(UnknownSource)

������� at
java.awt.LightweightDispatcher.processMouseEvent(UnknownSource)

������� at
java.awt.LightweightDispatcher.dispatchEvent(UnknownSource)

������� at java.awt.Container.dispatchEventImpl(Unknown Source)

������� at java.awt.Window.dispatchEventImpl(Unknown Source)

������� at java.awt.Component.dispatchEvent(Unknown Source)

������� at java.awt.EventQueue.dispatchEvent(Unknown Source)

������� at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)

������� at
java.awt.EventDispatchThread.pumpEventsForHierarchy(UnknownSource)

������� at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

������� at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

������� at java.awt.EventDispatchThread.run(Unknown Source)

Have any idea about theproblem?

Cheers
Emil

http://www.emcho.com

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net