--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java Mon Feb 22 15:31:58 2010 -0600
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java Tue Feb 23 08:49:57 2010 -0600
@@ -517,6 +517,8 @@
public ISelectedConnectionInfo ensureConnection(String id, IService service) throws CoreException {
Check.checkArg(service);
+ if (id == null)
+ return null;
final boolean wasCurrentConnection = id.equals(CURRENT_CONNECTION_ID);
final IConnection[] connectionHolder = { findConnection(id) };
final String[] storableIdHolder = { id };