[jitsi-dev] NPE in ice4j


#1

Hi,

I was trying to call from Jitsi desktop client 2.6 to the android client
(some old version).

For some reason I am getting ICE failed, I guess an issue in my
environment. Anyway I notice in the log the following
NullPointerException so there is also a bug in Jitsi/ice4j:

22:34:31.698 INFO: [61]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.processPacket().937
Error while handling incoming Jingle packet:
java.lang.NullPointerException
  at org.ice4j.ice.Candidate.equals(Candidate.java:315)
  at org.ice4j.ice.CandidatePair.equals(CandidatePair.java:446)
  at java.util.ArrayList.indexOf(ArrayList.java:298)
  at java.util.ArrayList.contains(ArrayList.java:281)
  at org.ice4j.ice.IceMediaStream.pruneCheckList(IceMediaStream.java:454)
  at org.ice4j.ice.IceMediaStream.initCheckList(IceMediaStream.java:341)
  at org.ice4j.ice.Agent.initCheckLists(Agent.java:722)
  at org.ice4j.ice.Agent.startConnectivityEstablishment(Agent.java:496)
  at
net.java.sip.communicator.impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment(IceUdpTransportManager.java:1008)
  at
net.java.sip.communicator.impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment(IceUdpTransportManager.java:849)
  at
net.java.sip.communicator.impl.protocol.jabber.CallPeerMediaHandlerJabberImpl.processTransportInfo(CallPeerMediaHandlerJabberImpl.java:1848)
  at
net.java.sip.communicator.impl.protocol.jabber.CallPeerJabberImpl.processTransportInfo(CallPeerJabberImpl.java:985)
  at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.processJingleIQ(OperationSetBasicTelephonyJabberImpl.java:1153)
  at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.processPacket(OperationSetBasicTelephonyJabberImpl.java:924)
  at
org.jivesoftware.smack.Connection$ListenerWrapper.notifyListener(Connection.java:817)
  at
org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:457)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)

Full log is attached.

Cheers,
Markus

ice-failed-npe-jitsi0.log.0 (26.6 KB)