Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5480

AutoLabelResolver creates null pointer exception in 6.13

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 6.13.0
    • 6.14.0, 7.0.0-M1
    • wicket
    • None

    Description

      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)

      Attachments

        1. ajaxrequest.tar.bz2
          21 kB
          Marcus Thiesen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcus@thiesen.org Marcus Thiesen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: