[sip-comm-dev] Null pointer exception when calling to/from IP addr (not domain)


#1

Javi,

There was a commit a few days ago that was causing this exception but it
has since been fixed. Did you see this problem with the latest SVN
sources? If not, then could please try again and let me know what happens?

Cheers
Emil

Javier Mendiara Cañardo wrote:

···

Hello,

I got this exception
16:24:54.849 GRAVE: util.UtilActivator.uncaughtException().81 An
uncaught exception occurred in thread=Thread[Thread-34,6,main] and
message was: connect: null address
java.lang.IllegalArgumentException: connect: null address
        at java.net.DatagramSocket.connectInternal(DatagramSocket.java:101)
        at java.net.DatagramSocket.connect(DatagramSocket.java:415)
        at
net.java.sip.communicator.impl.netaddr.NetworkAddressManagerServiceImpl.getLocalHost(NetworkAddressManagerServiceImpl.java:249)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.allocateMediaPorts(CallSessionImpl.java:2033)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSessionDescription(CallSessionImpl.java:1450)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSdpOffer(CallSessionImpl.java:648)
        at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.answerCallParticipant(OperationSetBasicTelephonySipImpl.java:2933)
        at
net.java.sip.communicator.impl.gui.main.call.CallManager$AnswerCallThread.run(CallManager.java:309)

When a registarless Sip-communicator account (sipcomm@192.168.1.200) is
receiving a call from other agent registarless account
(other@192.168.1.222)
As you can see, there is no domain in the addr.

This issue was pointed by me few months ago (and corrected by Emil, i
think) but I've seen that the source code has changed sightly and I
don't know where should I search again

BR,
Javi

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

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