fixed NPE while javaDoc editing