[jitsi-dev] [PATCH] Fix NPE in CallPeerSipImpl


#1

In getDisplayName() check whether displayName is null before running startsWith() on it to avoid NullPointerException. If it is null, set it to an empty string.

fix NPE in CallPeerSipImpl.patch (933 Bytes)


#2

Hey Tom,

ยทยทยท

On 15.11.12, 11:01, Tom Denham wrote:

In getDisplayName() check whether displayName is null before running
startsWith() on it to avoid NullPointerException. If it is null, set it
to an empty string.

ContactSipImpl would never return null so this should never be a problem.

Emil