fix nullpointer in WebServerUtil.java