fix uncaught exception for open ant.properties

fix uncaught exception for open ant.properties