solomax opened a new issue, #2020:
URL: https://github.com/apache/wicket/issues/2020
Page template is broken for wicket-11
Steps:
- go to https://examples10x.wicket.apache.org/mailtemplate/
- Enter any name
- click `generate` at `Using Wicket page as template`
Result:
```
java.lang.NullPointerException: Cannot invoke
"org.apache.wicket.request.http.WebResponse.isHeaderSupported()" because
"this.originalResponse" is null
at
org.apache.wicket.protocol.http.BufferedWebResponse.isHeaderSupported(BufferedWebResponse.java:198)
at
org.apache.wicket.markup.html.WebPage.configureResponse(WebPage.java:151)
at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:120)
at org.apache.wicket.Component.internalRender(Component.java:2170)
at org.apache.wicket.Component.render(Component.java:2101)
at org.apache.wicket.Page.renderPage(Page.java:997)
at
org.apache.wicket.core.util.string.ComponentRenderer.renderPage(ComponentRenderer.java:366)
at
org.apache.wicket.examples.asemail.MailTemplate$1.onSubmit(MailTemplate.java:105)
at
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:112)
at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:252)
at
org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1444)
at org.apache.wicket.markup.html.form.Form.process(Form.java:1076)
```
--
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]