You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/07/14 17:47:34 UTC
[jira] [Created] (WICKET-4656) Atmosphere example doesn't work due
to missing 'page' when creating AjaxRequestTarget
Martin Grigorov created WICKET-4656:
---------------------------------------
Summary: Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
Key: WICKET-4656
URL: https://issues.apache.org/jira/browse/WICKET-4656
Project: Wicket
Issue Type: Bug
Components: wicket-atmosphere
Affects Versions: 6.0.0-beta3
Reporter: Martin Grigorov
Assignee: Emond Papegaaij
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)
....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Commented] (WICKET-4656) Atmosphere example doesn't work
due to missing 'page' when creating AjaxRequestTarget
Posted by Emond Papegaaij <em...@gmail.com>.
I've discussed this with the author of the Atmosphere Framework, and
according to him, this is a bug in Jetty 7, which surfaces due to
changes in Atmosphere. The problem is that the websocket request gets
recycled by Jetty, even though it is still open.
Best regards,
Emond
On Mon, Jul 16, 2012 at 6:04 PM, Martin Grigorov <mg...@apache.org> wrote:
> I cannot log to Jira for some reason so I'll comment here ...
>
>
> On Mon, Jul 16, 2012 at 4:42 PM, Emond Papegaaij (JIRA) <ji...@apache.org> wrote:
>>
>> [ https://issues.apache.org/jira/browse/WICKET-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415110#comment-13415110 ]
>>
>> Emond Papegaaij commented on WICKET-4656:
>> -----------------------------------------
>>
>> This seems to be caused by a bug in Jetty 7.6.3 (which is used for the examples), Jetty 8.1.3 works fine.
>
> I'm not sure that this is really a bug in Jetty. There is no change in
> Jetty version since beta2 where this example seems to be worked.
> The only change is the upgrade of Atmosphere. It seems there is
> backward incompatible change.
>
>>
>>> Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
>>> -------------------------------------------------------------------------------------
>>>
>>> Key: WICKET-4656
>>> URL: https://issues.apache.org/jira/browse/WICKET-4656
>>> Project: Wicket
>>> Issue Type: Bug
>>> Components: wicket-atmosphere
>>> Affects Versions: 6.0.0-beta3
>>> Reporter: Martin Grigorov
>>> Assignee: Emond Papegaaij
>>>
>>> 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)
>>> ....
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
Re: [jira] [Commented] (WICKET-4656) Atmosphere example doesn't work
due to missing 'page' when creating AjaxRequestTarget
Posted by Martin Grigorov <mg...@apache.org>.
I cannot log to Jira for some reason so I'll comment here ...
On Mon, Jul 16, 2012 at 4:42 PM, Emond Papegaaij (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/WICKET-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415110#comment-13415110 ]
>
> Emond Papegaaij commented on WICKET-4656:
> -----------------------------------------
>
> This seems to be caused by a bug in Jetty 7.6.3 (which is used for the examples), Jetty 8.1.3 works fine.
I'm not sure that this is really a bug in Jetty. There is no change in
Jetty version since beta2 where this example seems to be worked.
The only change is the upgrade of Atmosphere. It seems there is
backward incompatible change.
>
>> Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
>> -------------------------------------------------------------------------------------
>>
>> Key: WICKET-4656
>> URL: https://issues.apache.org/jira/browse/WICKET-4656
>> Project: Wicket
>> Issue Type: Bug
>> Components: wicket-atmosphere
>> Affects Versions: 6.0.0-beta3
>> Reporter: Martin Grigorov
>> Assignee: Emond Papegaaij
>>
>> 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)
>> ....
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
[jira] [Commented] (WICKET-4656) Atmosphere example doesn't work
due to missing 'page' when creating AjaxRequestTarget
Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415110#comment-13415110 ]
Emond Papegaaij commented on WICKET-4656:
-----------------------------------------
This seems to be caused by a bug in Jetty 7.6.3 (which is used for the examples), Jetty 8.1.3 works fine.
> Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
> -------------------------------------------------------------------------------------
>
> Key: WICKET-4656
> URL: https://issues.apache.org/jira/browse/WICKET-4656
> Project: Wicket
> Issue Type: Bug
> Components: wicket-atmosphere
> Affects Versions: 6.0.0-beta3
> Reporter: Martin Grigorov
> Assignee: Emond Papegaaij
>
> 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)
> ....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (WICKET-4656) Atmosphere example doesn't
work due to missing 'page' when creating AjaxRequestTarget
Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414895#comment-13414895 ]
Emond Papegaaij edited comment on WICKET-4656 at 7/16/12 7:35 AM:
------------------------------------------------------------------
This seems to be caused by the upgrade to Atmosphere 1.0.0-beta3. I've reported an issue ( https://github.com/Atmosphere/atmosphere/issues/513 ). For now, you can work around the problem by forcing atmosphere to version 0.9.5 using maven dependency management (0.9.6 and 0.9.7 are broken as well).
was (Author: papegaaij):
This seems to be caused by the upgrade to Atmosphere 1.0.0-beta3. I've reported an issue ( https://github.com/Atmosphere/atmosphere/issues/513 ). For now, you can work around the problem by forcing atmosphere to version 0.9.7 using maven dependency management.
> Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
> -------------------------------------------------------------------------------------
>
> Key: WICKET-4656
> URL: https://issues.apache.org/jira/browse/WICKET-4656
> Project: Wicket
> Issue Type: Bug
> Components: wicket-atmosphere
> Affects Versions: 6.0.0-beta3
> Reporter: Martin Grigorov
> Assignee: Emond Papegaaij
>
> 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)
> ....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4656) Atmosphere example doesn't work
due to missing 'page' when creating AjaxRequestTarget
Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414895#comment-13414895 ]
Emond Papegaaij commented on WICKET-4656:
-----------------------------------------
This seems to be caused by the upgrade to Atmosphere 1.0.0-beta3. I've reported an issue ( https://github.com/Atmosphere/atmosphere/issues/513 ). For now, you can work around the problem by forcing atmosphere to version 0.9.7 using maven dependency management.
> Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
> -------------------------------------------------------------------------------------
>
> Key: WICKET-4656
> URL: https://issues.apache.org/jira/browse/WICKET-4656
> Project: Wicket
> Issue Type: Bug
> Components: wicket-atmosphere
> Affects Versions: 6.0.0-beta3
> Reporter: Martin Grigorov
> Assignee: Emond Papegaaij
>
> 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)
> ....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WICKET-4656) Atmosphere example doesn't work due
to missing 'page' when creating AjaxRequestTarget
Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emond Papegaaij resolved WICKET-4656.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.1.0
This is fixed with more recent versions of Atmosphere.
> Atmosphere example doesn't work due to missing 'page' when creating AjaxRequestTarget
> -------------------------------------------------------------------------------------
>
> Key: WICKET-4656
> URL: https://issues.apache.org/jira/browse/WICKET-4656
> Project: Wicket
> Issue Type: Bug
> Components: wicket-atmosphere
> Affects Versions: 6.0.0-beta3
> Reporter: Martin Grigorov
> Assignee: Emond Papegaaij
> Fix For: 6.1.0
>
>
> 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)
> ....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira