The function was expecting either JAR_FILE_NAME, WAR_NAME, or EAR_NAME properties to be set in build script.
Check the nature of the project and ensure a valid property variable is set for that project in the build script.