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

Andrea Del Bene commented on WICKET-6001:
-----------------------------------------

I see your war contains also source files so I could build a quickstart with 
them. A quickstart is much more helpful to spot an issue as we can see the code.

[~mgrigorov]
the problem is inside RequestHandlerStack#detach(). Every exception is caught 
and silently logged. I see you have changed the try/catch statement with this: 
https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a5954823353f20a6157156704ae91d6067a1f5c8
A possible solution for this current issue could be adding another catch block 
for RuntimeException:

{code}
try
                        {
                                detach(handler);
                        }
                        catch (RuntimeException exception)
                        {
                                throw exception;
                        }
                        catch (Exception exception)
                        {
                                log.error("Error detaching RequestHandler", 
exception);
                        }
{code} 

Could be this a problem in your opinion?

> Exception raised while refreshing a page with queued components missing in 
> the markup
> -------------------------------------------------------------------------------------
>
>                 Key: WICKET-6001
>                 URL: https://issues.apache.org/jira/browse/WICKET-6001
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Palancher aurélien
>            Assignee: Andrea Del Bene
>         Attachments: myproject.war
>
>
> An exception is raised when refreshing a page or panel containing queued 
> components which are missing in the markup.
> We can omit queued components in the markup when the page is created the 
> first time but we cannot refresh it



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to