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

Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0-beta3
    • 6.1.0
    • wicket-atmosphere
    • None

    Description

      Testing beta3 revealed this error when trying to use Wicket Atmosphere:

      ERROR - DefaultExceptionMapper - Unexpected error occurred
      java.lang.IllegalArgumentException: Argument 'page' may not be null.
      at org.apache.wicket.util.lang.Args.notNull(Args.java:41)
      at org.apache.wicket.ajax.AjaxRequestHandler.<init>(AjaxRequestHandler.java:111)
      at org.apache.wicket.protocol.http.WebApplication$DefaultAjaxRequestTargetProvider.get(WebApplication.java:956)
      at org.apache.wicket.protocol.http.WebApplication$DefaultAjaxRequestTargetProvider.get(WebApplication.java:949)
      at org.apache.wicket.protocol.http.WebApplication.newAjaxRequestTarget(WebApplication.java:800)
      at org.apache.wicket.atmosphere.AtmosphereRequestHandler.respond(AtmosphereRequestHandler.java:65)
      at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:814)
      at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      ....

      Attachments

        Activity

          People

            papegaaij Emond Papegaaij
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: