--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/ui/ConnectionStatusSelectorContribution.java Wed Jul 07 11:26:41 2010 -0500
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/ui/ConnectionStatusSelectorContribution.java Wed Jul 07 11:42:30 2010 -0500
@@ -23,6 +23,7 @@
import java.util.Comparator;
import java.util.List;
+import org.eclipse.jface.action.IContributionManager;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.layout.GridLayoutFactory;
import org.eclipse.swt.SWT;
@@ -518,7 +519,9 @@
*/
@Override
public void update() {
- getParent().update(true);
+ IContributionManager parent = getParent();
+ if (parent != null)
+ parent.update(true);
}
/**