[jitsi-users] Unable to initiate chat with contact who is "In a meeting"


#1

Hi,

We're getting the following error when trying to initiate a chat with a
contact who is "In a meeting"; consequently, the chat window won't open.

From what I can gather, the error seems to come from the display of the "In

a meeting" status icon in the chat window.

Thanks.

14:27:21.475 Grave: [37]
plugin.desktoputil.ImageUtils.getBytesInImage().510 Failed to convert
bytes to image.
java.lang.NullPointerException
  at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
  at
net.java.sip.communicator.plugin.desktoputil.ImageUtils.getBytesInImage(Ima=
geUtils.java:506)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.creat=
eTransportStatusImage(ChatTransportSelectorBox.java:238)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.addCh=
atTransport(ChatTransportSelectorBox.java:127)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.<init=

(ChatTransportSelectorBox.java:92)

  at
net.java.sip.communicator.impl.gui.main.chat.ChatWritePanel.createChatTrans=
portSelectorBox(ChatWritePanel.java:1039)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWritePanel.setTransportSel=
ectorBoxVisible(ChatWritePanel.java:1063)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatPanel.setChatSession(ChatP=
anel.java:364)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.createChat(C=
hatWindowManager.java:1194)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:537)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.access
$700(ChatWindowManager.java:38)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$MetaContactChatCreateRunnable.createChatPanel(ChatWindowManager.java:1657)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$AbstractChatPanelCreateRunnable.run(ChatWindowManager.java:1594)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$AbstractChatPanelCreateRunnable.getChatPanel(ChatWindowManager.java:1577)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:500)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:475)
  at net.java.sip.communicator.impl.gui.DefaultContactEventHandler
$RunMessageWindow.run(DefaultContactEventHandler.java:96)
  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
  at java.awt.EventQueue.access$200(EventQueue.java:103)
  at java.awt.EventQueue$3.run(EventQueue.java:694)
  at java.awt.EventQueue$3.run(EventQueue.java:692)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain
$1.doIntersectionPrivilege(ProtectionDomain.java:76)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
  at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.jav=
  at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:1=
61)
  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav=
  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
14:27:21.617 Grave: [37]
plugin.desktoputil.ImageUtils.getBytesInImage().510 Failed to convert
bytes to image.
java.lang.NullPointerException
  at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
  at
net.java.sip.communicator.plugin.desktoputil.ImageUtils.getBytesInImage(Ima=
geUtils.java:506)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.creat=
eTransportStatusImage(ChatTransportSelectorBox.java:238)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.addCh=
atTransport(ChatTransportSelectorBox.java:127)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.<init=

(ChatTransportSelectorBox.java:92)

  at
net.java.sip.communicator.impl.gui.main.chat.ChatWritePanel.createChatTrans=
portSelectorBox(ChatWritePanel.java:1039)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWritePanel.setTransportSel=
ectorBoxVisible(ChatWritePanel.java:1063)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatPanel.setChatSession(ChatP=
anel.java:364)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.createChat(C=
hatWindowManager.java:1194)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:537)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.access
$700(ChatWindowManager.java:38)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$MetaContactChatCreateRunnable.createChatPanel(ChatWindowManager.java:1657)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$AbstractChatPanelCreateRunnable.run(ChatWindowManager.java:1594)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$AbstractChatPanelCreateRunnable.getChatPanel(ChatWindowManager.java:1583)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:500)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:475)
  at net.java.sip.communicator.impl.gui.DefaultContactEventHandler
$RunMessageWindow.run(DefaultContactEventHandler.java:96)
  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
  at java.awt.EventQueue.access$200(EventQueue.java:103)
  at java.awt.EventQueue$3.run(EventQueue.java:694)
  at java.awt.EventQueue$3.run(EventQueue.java:692)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain
$1.doIntersectionPrivilege(ProtectionDomain.java:76)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
  at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.jav=
  at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:1=
61)
  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav=
  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
14:27:21.618 Grave: [37] util.UtilActivator.uncaughtException().108 An
uncaught exception occurred in thread=3DThread[AWT-EventQueue-0,6,main]
and message was: null
java.lang.NullPointerException
  at javax.swing.ImageIcon.<init>(ImageIcon.java:228)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.addCh=
atTransport(ChatTransportSelectorBox.java:150)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatTransportSelectorBox.<init=

(ChatTransportSelectorBox.java:92)

  at
net.java.sip.communicator.impl.gui.main.chat.ChatWritePanel.createChatTrans=
portSelectorBox(ChatWritePanel.java:1039)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWritePanel.setTransportSel=
ectorBoxVisible(ChatWritePanel.java:1063)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatPanel.setChatSession(ChatP=
anel.java:364)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.createChat(C=
hatWindowManager.java:1194)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:537)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.access
$700(ChatWindowManager.java:38)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$MetaContactChatCreateRunnable.createChatPanel(ChatWindowManager.java:1657)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$AbstractChatPanelCreateRunnable.run(ChatWindowManager.java:1594)
  at net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager
$AbstractChatPanelCreateRunnable.getChatPanel(ChatWindowManager.java:1583)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:500)
  at
net.java.sip.communicator.impl.gui.main.chat.ChatWindowManager.getContactCh=
at(ChatWindowManager.java:475)
  at net.java.sip.communicator.impl.gui.DefaultContactEventHandler
$RunMessageWindow.run(DefaultContactEventHandler.java:96)
  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
  at java.awt.EventQueue.access$200(EventQueue.java:103)
  at java.awt.EventQueue$3.run(EventQueue.java:694)
  at java.awt.EventQueue$3.run(EventQueue.java:692)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain
$1.doIntersectionPrivilege(ProtectionDomain.java:76)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
  at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.jav=
  at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:1=
61)
  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav=
  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

···

a:242)
a:150)
a:242)
a:150)
a:242)
a:150)