mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Fixing NPE found when not having required host and port properties.
This commit is contained in:
@@ -350,8 +350,8 @@ public class ConnectionService {
|
||||
("Cannot connect. Connection already in use by this user.");
|
||||
|
||||
// Get guacd connection information
|
||||
String host = GuacamoleProperties.getProperty(GuacamoleProperties.GUACD_HOSTNAME);
|
||||
int port = GuacamoleProperties.getProperty(GuacamoleProperties.GUACD_PORT);
|
||||
String host = GuacamoleProperties.getRequiredProperty(GuacamoleProperties.GUACD_HOSTNAME);
|
||||
int port = GuacamoleProperties.getRequiredProperty(GuacamoleProperties.GUACD_PORT);
|
||||
|
||||
// Get socket
|
||||
GuacamoleSocket socket;
|
||||
|
Reference in New Issue
Block a user