JBIDE-17887 Visaul Editor: error happens when empty file is opened

fixed