Fix for issue 3334 (NullPointerException when upgrading from build 15 to 16)
Check that the application is not null in ServerController (in the case of the upgrader the application is null).
| | |
| | | boolean connected = false; |
| | | Configuration config = installation.getCurrentConfiguration(); |
| | | int port = config.getPort(); |
| | | String hostName = application.getUserData().getHostName(); |
| | | String hostName = null; |
| | | if (application != null) |
| | | { |
| | | hostName = application.getUserData().getHostName(); |
| | | } |
| | | if (hostName == null) |
| | | { |
| | | hostName = "localhost"; |