JBIDE-16855 arquillian editor fails on blank or invalid file

https://issues.jboss.org/browse/JBIDE-16855
arquillian editor fails on blank or invalid file