summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jurt/com/sun/star/lib/connections/socket/socketConnector.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/jurt/com/sun/star/lib/connections/socket/socketConnector.java b/jurt/com/sun/star/lib/connections/socket/socketConnector.java
index 68fdf00c1149..484ffd135e92 100644
--- a/jurt/com/sun/star/lib/connections/socket/socketConnector.java
+++ b/jurt/com/sun/star/lib/connections/socket/socketConnector.java
@@ -143,6 +143,10 @@ public final class socketConnector implements XConnector {
throw new NoConnectException(e);
}
}
+
+ if (socket == null)
+ throw new ConnectionSetupException("no socket");
+
XConnection con;
try {
// we enable tcpNoDelay for loopback connections because