fix issue #20 (E2P Editor crashes with null pointer exception when using Java 7)