Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ public int getPort() {
if (this.serviceInstance == null) {
return 0;
}
return this.serviceInstance.getPort();
Integer port = this.serviceInstance.getPort();
if (port == null) { // might be the case with SSL enabled
return 0;
}
return port.intValue();
}

public void setPort(int port) {
Expand Down