@@ -1007,11 +1007,11 @@ else { /* ** these is no font size set in webview, ** let's just use the default.... */ - if (!fontSizeComboBox.getValue().equals(sizeFontMap.get(SIZE_SMALL))) { + if ((fontSizeComboBox.getValue() != null) && !fontSizeComboBox.getValue().equals(sizeFontMap.get(SIZE_SMALL))) { fontSizeComboBox.setValue(sizeFontMap.get(SIZE_SMALL)); } } }