[sip-comm-dev] NPE during Google Talk chat


#1

This one made me miss a message and I don't know whether I'll be able
to reproduce it so I'm sending it right away:

1. I had two Google Talk contacts for one and the same person -
A@X.com and A@Y.org.
2. A@Y.org started a chat with me and we exchanged a few messages.
3. While none of us was writing a message and with the chat window
still open, I went in the contact list and merged the two contacts -
dragged/moved A@X.com into A@Y.org.
4. The next thing I see is a popup notification which tells me that A
is writing, then another one that I've got a new message from A (and I
see the message in the popup notification, of course) but there's no
record of the message in the chat window (so I wouldn't have known
about the message if I had missed the popup notification).

The exception which has probably appeared at that time is:

     [java] 14:41:49.033 SEVERE:
util.UtilActivator.uncaughtException().77 An uncaught exception
occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was:
null
     [java] java.lang.NullPointerException
     [java] at
net.java.sip.communicator.impl.gui.main.chat.MetaContactChatSession.getChatStatusIcon(MetaContactChatSession.java:569)
     [java] at
net.java.sip.communicator.impl.gui.main.chat.ChatWindow.addChatTab(ChatWindow.java:312)
     [java] at
net.java.sip.communicator.impl.gui.main.chat.ChatWindow.addChat(ChatWindow.java:268)
     [java] at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.openChat(ChatWindowManager.java:63)
     [java] at
net.java.sip.communicator.impl.gui.main.contactlist.ContactListPane$2.run(ContactListPane.java:290)
     [java] at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     [java] at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

By the way, "Send via" is disabled after step 3 but I think it should
be enabled and it should let me choose between A@X.com and A@Y.org
because I've already merged them in step 3.

···

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


#2

Hey Lubo,

Could you please log an issue for this problem?

Emil

На 22.07.10 13:52, Lubomir Marinov написа:

···

This one made me miss a message and I don't know whether I'll be able
to reproduce it so I'm sending it right away:

1. I had two Google Talk contacts for one and the same person -
A@X.com and A@Y.org.
2. A@Y.org started a chat with me and we exchanged a few messages.
3. While none of us was writing a message and with the chat window
still open, I went in the contact list and merged the two contacts -
dragged/moved A@X.com into A@Y.org.
4. The next thing I see is a popup notification which tells me that A
is writing, then another one that I've got a new message from A (and I
see the message in the popup notification, of course) but there's no
record of the message in the chat window (so I wouldn't have known
about the message if I had missed the popup notification).

The exception which has probably appeared at that time is:

     [java] 14:41:49.033 SEVERE:
util.UtilActivator.uncaughtException().77 An uncaught exception
occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was:
null
     [java] java.lang.NullPointerException
     [java] at
net.java.sip.communicator.impl.gui.main.chat.MetaContactChatSession.getChatStatusIcon(MetaContactChatSession.java:569)
     [java] at
net.java.sip.communicator.impl.gui.main.chat.ChatWindow.addChatTab(ChatWindow.java:312)
     [java] at
net.java.sip.communicator.impl.gui.main.chat.ChatWindow.addChat(ChatWindow.java:268)
     [java] at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.openChat(ChatWindowManager.java:63)
     [java] at
net.java.sip.communicator.impl.gui.main.contactlist.ContactListPane$2.run(ContactListPane.java:290)
     [java] at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     [java] at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

By the way, "Send via" is disabled after step 3 but I think it should
be enabled and it should let me choose between A@X.com and A@Y.org
because I've already merged them in step 3.

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

--
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

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


#3

Sure. I copied the contents of my initial e-mails into issue $838: NPE
during Google Talk chat
(https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=838).

···

On Fri, Jul 23, 2010 at 9:31 AM, Emil Ivov <emcho@sip-communicator.org> wrote:

Could you please log an issue for this problem?

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