JaroslavTulach opened a new pull request #3505:
URL: https://github.com/apache/netbeans/pull/3505
<!-- GR_35846 -->
Using the New from Template... action in a Micronaut / Gradle project to
create a new HTML page results in an invalid html:
```
The following has evaluated to null or missing:
==> doctype [in template "Templates/Other/html.html" at line 21, column 3]
----
Tip: If the failing expression is known to legally refer to something that's
sometimes null or missing, either specify a default value like
myOptionalVar!myDefault, or use <#if
myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the
last step of the expression; to cover the whole expression, use parenthesis:
(myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${doctype} [in template "Templates/Other/html.html" at
line 21, column 1]
----
<!--
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this
template
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div>TODO write content</div>
</body>
</html>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists