[
https://issues.apache.org/jira/browse/WICKET-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Thiesen updated WICKET-5480:
-----------------------------------
Attachment: ajaxrequest.tar.bz2
Attached Quickstart show the issue, you have to click the submit link one
without entering something in the text field and then again after having
entered something into the text field.
> AutoLabelResolver creates null pointer exception in 6.13
> --------------------------------------------------------
>
> Key: WICKET-5480
> URL: https://issues.apache.org/jira/browse/WICKET-5480
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.13.0
> Reporter: Marcus Thiesen
> Attachments: ajaxrequest.tar.bz2
>
>
> The underlying issue is that WebRequestCycle.isAjaxRequest returns true but
> RequestCycle.find(AjaxRequestTarget.class) returns null anyway, because the
> current request handler is a ListenerInterfaceRequestHandler.
> This leads to
> java.lang.NullPointerException
> at
> org.apache.wicket.markup.html.form.AutoLabelResolver$AutoLabelMarker.updateFrom(AutoLabelResolver.java:222)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)