This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
variables ${project.displayName} and ${project.name} get translated to "Expression project.name is undefined on line 10, column 19 in Templates/Licenses/license-gplv3.txt" in Netbeans Platform Application projects (regular java application projects work ok).
Well, maybe this is a duplicate of issue #180452
org.netbeans.modules.apisupport.project.queries.TemplateAttributesProvider does not define name or displayName.