[jitsi-dev] NullPointerException in ice4j


#1

I get the following exception when hanging up a video conference. I briefly looked at the related code but I'm currently focused on a different topic so I'm sending it in case it rings a bell until I find the time to delve deeper into it.

     [java] java.lang.NullPointerException
     [java] at org.ice4j.socket.DelegatingDatagramSocket.logPacketToPcap(DelegatingDatagramSocket.java:924)
     [java] at org.ice4j.socket.DelegatingDatagramSocket.send(DelegatingDatagramSocket.java:706)
     [java] at org.jitsi.impl.neomedia.RTPConnectorUDPOutputStream.sendToTarget(Unknown Source)
     [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream.send(Unknown Source)
     [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream.access$100(Unknown Source)
     [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy.runInSendThread(Unknown Source)
     [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy.access$000(Unknown Source)
     [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy$1.run(Unknown Source)


#2

Hi Lyubomir,

Thank you, for the feedback. I will have a look at it.

Regards,
Vincent

···

On 07/26/2012 11:12 AM, Lyubomir Marinov wrote:

I get the following exception when hanging up a video conference. I briefly looked at the related code but I'm currently focused on a different topic so I'm sending it in case it rings a bell until I find the time to delve deeper into it.

      [java] java.lang.NullPointerException
      [java] at org.ice4j.socket.DelegatingDatagramSocket.logPacketToPcap(DelegatingDatagramSocket.java:924)
      [java] at org.ice4j.socket.DelegatingDatagramSocket.send(DelegatingDatagramSocket.java:706)
      [java] at org.jitsi.impl.neomedia.RTPConnectorUDPOutputStream.sendToTarget(Unknown Source)
      [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream.send(Unknown Source)
      [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream.access$100(Unknown Source)
      [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy.runInSendThread(Unknown Source)
      [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy.access$000(Unknown Source)
      [java] at org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy$1.run(Unknown Source)

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org


#3

Hi Lyubomir,

The problem is that Ice4j is trying to get the socket address, whereas this socket is already closed.

Subversion revision #9762 should fix the issue.

Thanks for reporting this bug.

Cheers,
Vincent

···

On 07/26/2012 11:41 AM, Vincent Lucas wrote:

Hi Lyubomir,

Thank you, for the feedback. I will have a look at it.

Regards,
Vincent

On 07/26/2012 11:12 AM, Lyubomir Marinov wrote:

I get the following exception when hanging up a video conference. I
briefly looked at the related code but I'm currently focused on a
different topic so I'm sending it in case it rings a bell until I find
the time to delve deeper into it.

[java] java.lang.NullPointerException
[java] at
org.ice4j.socket.DelegatingDatagramSocket.logPacketToPcap(DelegatingDatagramSocket.java:924)

[java] at
org.ice4j.socket.DelegatingDatagramSocket.send(DelegatingDatagramSocket.java:706)

[java] at
org.jitsi.impl.neomedia.RTPConnectorUDPOutputStream.sendToTarget(Unknown
Source)
[java] at
org.jitsi.impl.neomedia.RTPConnectorOutputStream.send(Unknown Source)
[java] at
org.jitsi.impl.neomedia.RTPConnectorOutputStream.access$100(Unknown
Source)
[java] at
org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy.runInSendThread(Unknown
Source)
[java] at
org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy.access$000(Unknown
Source)
[java] at
org.jitsi.impl.neomedia.RTPConnectorOutputStream$MaxPacketsPerMillisPolicy$1.run(Unknown
Source)

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org