aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2008-05-01 20:55:41 +0000
committerYana Stamcheva <yana@jitsi.org>2008-05-01 20:55:41 +0000
commitf81192ec5744773c7758bd22e9b7d3db648ca188 (patch)
treefd8913dbfe67a78cd9981f3875b42128aded2691 /src/net/java/sip
parent21ce7a42012a626741ce0bc07a4e6869217aca75 (diff)
downloadjitsi-f81192ec5744773c7758bd22e9b7d3db648ca188.zip
jitsi-f81192ec5744773c7758bd22e9b7d3db648ca188.tar.gz
jitsi-f81192ec5744773c7758bd22e9b7d3db648ca188.tar.bz2
Should check first if the metacontact is not null
Diffstat (limited to 'src/net/java/sip')
-rw-r--r--src/net/java/sip/communicator/plugin/whiteboard/WhiteboardMenuItem.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardMenuItem.java b/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardMenuItem.java
index 3c9db58..5712166 100644
--- a/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardMenuItem.java
+++ b/src/net/java/sip/communicator/plugin/whiteboard/WhiteboardMenuItem.java
@@ -131,6 +131,9 @@ public class WhiteboardMenuItem
public Object getComponent()
{
+ if(metaContact == null)
+ return null;
+
Iterator iter = metaContact.getContacts();
while (iter.hasNext())
{