diff --git a/src/net/java/sip/communicator/impl/systray/jdic/StatusSubMenu.java b/src/net/java/sip/communicator/impl/systray/jdic/StatusSubMenu.java index a89e316d5..8a0596f4b 100644 --- a/src/net/java/sip/communicator/impl/systray/jdic/StatusSubMenu.java +++ b/src/net/java/sip/communicator/impl/systray/jdic/StatusSubMenu.java @@ -171,6 +171,14 @@ private class ProtocolProviderServiceListener implements ServiceListener */ public void serviceChanged(ServiceEvent event) { + //if the event is caused by a bundle being stopped, we don't want to + //know + if(event.getServiceReference().getBundle().getState() + == Bundle.STOPPING) + { + return; + } + Object service = SystrayActivator.bundleContext .getService( event.getServiceReference());