[jitsi-dev] Bug: Remove Contact


#1

Hello Jitsi developers,

When I performed the following action:

    Right Click -> Remove Contact -> dummyname@iptel.org, I got:

I got this error:

    Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org]
from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
  at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
  at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
  at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
  at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
  at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
  ... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman


#2

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

···

Hello Jitsi developers,

When I performed the following action:

    Right Click -> Remove Contact -> dummyname@iptel.org, I got:

I got this error:

    Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org]
from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
  at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
  at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
  at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
  at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
  at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
  ... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#3

Hello Emil,

That is correct; I was not connected to the SIP server at the time I
removed the contact.

-- Eric

···

On Sun, Feb 20, 2011 at 1:09 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

Hello Jitsi developers,

When I performed the following action:

Right Click \-&gt; Remove Contact \-&gt; dummyname@iptel\.org, I got:

I got this error:

Failed to remove ContactSipImpl\[ DisplayName=dummyname@iptel\.org\]

from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#4

На 20.02.11 19:14, Eric Wayman написа:

Hello Emil,

That is correct; I was not connected to the SIP server at the time I
removed the contact.

Right, that explains it then. You need to be connected in order to
remove contacts. We could probably improve error reporting though ...

Emil

···

-- Eric

On Sun, Feb 20, 2011 at 1:09 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

Hello Jitsi developers,

When I performed the following action:

    Right Click -> Remove Contact -> dummyname@iptel.org, I got:

I got this error:

    Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org]
from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
      at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
      ... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#5

Sure, how about a popup dialog explaining that to users?

Thank you again for all of your hard work on this exciting project!

Best Regards,
Eric

···

On Sun, Feb 20, 2011 at 1:23 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

На 20.02.11 19:14, Eric Wayman написа:

Hello Emil,

That is correct; I was not connected to the SIP server at the time I
removed the contact.

Right, that explains it then. You need to be connected in order to
remove contacts. We could probably improve error reporting though ...

Emil

-- Eric

On Sun, Feb 20, 2011 at 1:09 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

Hello Jitsi developers,

When I performed the following action:

Right Click \-&gt; Remove Contact \-&gt; dummyname@iptel\.org, I got:

I got this error:

Failed to remove ContactSipImpl\[ DisplayName=dummyname@iptel\.org\]

from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#6

На 20.02.11 19:24, Eric Wayman написа:

Sure, how about a popup dialog explaining that to users?

Right. Could you please open an issue explaining the problem and
pointing to this thread?

Thank you again for all of your hard work on this exciting project!

Thank you for your support!

Emil

···

Best Regards,
Eric

On Sun, Feb 20, 2011 at 1:23 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

На 20.02.11 19:14, Eric Wayman написа:

Hello Emil,

That is correct; I was not connected to the SIP server at the time I
removed the contact.

Right, that explains it then. You need to be connected in order to
remove contacts. We could probably improve error reporting though ...

Emil

-- Eric

On Sun, Feb 20, 2011 at 1:09 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

Hello Jitsi developers,

When I performed the following action:

    Right Click -> Remove Contact -> dummyname@iptel.org, I got:

I got this error:

    Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org]
from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
      at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
      ... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#7

Hi all,

I thing, it will be better to allow users to remove contacts also in
offline mode when not using XCAP or server stored contactlists.

Cheers,

Adam

···

On 02/20/2011 07:27 PM, Emil Ivov wrote:

На 20.02.11 19:24, Eric Wayman написа:

Sure, how about a popup dialog explaining that to users?

Right. Could you please open an issue explaining the problem and
pointing to this thread?

Thank you again for all of your hard work on this exciting project!

Thank you for your support!

Emil

Best Regards,
Eric

On Sun, Feb 20, 2011 at 1:23 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

На 20.02.11 19:14, Eric Wayman написа:

Hello Emil,

That is correct; I was not connected to the SIP server at the time I
removed the contact.

Right, that explains it then. You need to be connected in order to
remove contacts. We could probably improve error reporting though ...

Emil

-- Eric

On Sun, Feb 20, 2011 at 1:09 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

Hello Jitsi developers,

When I performed the following action:

    Right Click -> Remove Contact -> dummyname@iptel.org, I got:

I got this error:

    Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org]
from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
      at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
      ... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31


#8

На 20.02.11 19:53, Adam Netocny написа:

Hi all,

I thing, it will be better to allow users to remove contacts also in
offline mode when not using XCAP or server stored contactlists.

Ideally, yes. In practice however this contradicts some of the design
decisions we've taken along the way and I am afraid the implementation
may turn out to be tricky (while it obviously is not that important).

Cheers,
Emil

···

Cheers,

Adam

On 02/20/2011 07:27 PM, Emil Ivov wrote:

На 20.02.11 19:24, Eric Wayman написа:

Sure, how about a popup dialog explaining that to users?

Right. Could you please open an issue explaining the problem and
pointing to this thread?

Thank you again for all of your hard work on this exciting project!

Thank you for your support!

Emil

Best Regards,
Eric

On Sun, Feb 20, 2011 at 1:23 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

На 20.02.11 19:14, Eric Wayman написа:

Hello Emil,

That is correct; I was not connected to the SIP server at the time I
removed the contact.

Right, that explains it then. You need to be connected in order to
remove contacts. We could probably improve error reporting though ...

Emil

-- Eric

On Sun, Feb 20, 2011 at 1:09 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Eric,

The error seems to indicate that you were no longer connected to your
sip server. Can you please check if this is the case?

Cheers,
Emil

На 20.02.11 19:00, Eric Wayman написа:

Hello Jitsi developers,

When I performed the following action:

    Right Click -> Remove Contact -> dummyname@iptel.org, I got:

I got this error:

    Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org]
from its protocol provider.

With the following stack trace:

net.java.sip.communicator.service.contactlist.MetaContactListException:
Failed to remove ContactSipImpl[ DisplayName=dummyname@iptel.org] from
its protocol provider.
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1086)
      at net.java.sip.communicator.impl.gui.main.contactlist.MetaContactListManager$RemoveContactThread.run(MetaContactListManager.java:402)
Caused by: java.lang.IllegalStateException: The provider must be
signed on the service before being able to communicate.
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.assertConnected(OperationSetPresenceSipImpl.java:1043)
      at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1066)
      at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.removeContact(MetaContactListServiceImpl.java:1076)
      ... 1 more

Also, the contact was not removed and is still in my contacts list.

Thank you for all of your hard work.

Best Regards,
Eric Wayman

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31