[sip-comm-dev] Bug in UnknownContactPanel


#1

Hi,
when trying a sip call to an unknown contact I got an exception :

     [java] java.lang.NullPointerException
     [java] at
net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run(CallManager.java:407)

The reason is in the initial caller

UnknownContactPanel at line 92

ProtocolProviderService callProvider = null;

if (telephonyProviders.size() == 1)
{
  CallManager.createCall(callProvider, searchText);
}

the callProvider is always null creating this exception.

Matthieu


#2

Hi,

wow, quite a bug! :slight_smile:

Thanks once again Matthieu!! Committed and ack-ed (r6768).

Cheers,
Yana

···

On Feb 15, 2010, at 11:58 AM, Matthieu Casanova wrote:

Hi,
when trying a sip call to an unknown contact I got an exception :

     [java] java.lang.NullPointerException
     [java] at net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run(CallManager.java:407)

The reason is in the initial caller

UnknownContactPanel at line 92

ProtocolProviderService callProvider = null;

if (telephonyProviders.size() == 1)
{
  CallManager.createCall(callProvider, searchText);
}

the callProvider is always null creating this exception.

Matthieu

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