[ 
https://issues.apache.org/jira/browse/WICKET-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878597#comment-13878597
 ] 

Marcus Thiesen edited comment on WICKET-5480 at 1/22/14 12:39 PM:
------------------------------------------------------------------

Attached Quickstart shows the issue, you have to click the submit link once 
without entering something in the text field and then again after having 
entered something into the text field.


was (Author: [email protected]):
Attached Quickstart shows 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)

Reply via email to