Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-10 Thread Rakesh A
Hi,

After some debugging  investigation, It turned out to be a
'AjaxEventBehavior' for 'load' event [page onload event], which was added to
page was causing this lock, removing this behavior solved the page locking
issue.

Thanks,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CouldNotLockPageException-while-trying-inspect-option-of-Debug-bar-tp4667405p4667450.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-10 Thread Rakesh A
Forgot to mention, an anonymous class implementation was done for the
AjaxEventBehavior, and the #onEvent(..) method access' Page properties in
it.

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CouldNotLockPageException-while-trying-inspect-option-of-Debug-bar-tp4667405p4667451.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-09 Thread Rakesh A
Hi,

I was trying to analyze my wicket page, by adding Wicket debug bar. When I
click on the 'Inspector' option in Wicket debug bar I get a
CouldNotLockPageException. Thread dump logged is provided below, I couldn't
understand much from it, can anybody point me towards why I am getting this
exception.


Thanks,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CouldNotLockPageException-while-trying-inspect-option-of-Debug-bar-tp4667405.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-09 Thread Martin Grigorov
The Inspector tries to get a reference to the page by its id to be able to
get a list of its components.
But another thread is already acquired the lock to this page... It seems to
write the page's markup to the browser but I cannot say why it does this
for more than a minute.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


On Tue, Sep 9, 2014 at 1:27 PM, Rakesh A iamrakes...@rediffmail.com wrote:

 Hi,

 I was trying to analyze my wicket page, by adding Wicket debug bar. When I
 click on the 'Inspector' option in Wicket debug bar I get a
 CouldNotLockPageException. Thread dump logged is provided below, I couldn't
 understand much from it, can anybody point me towards why I am getting this
 exception.


 Thanks,
 Rakesh.A

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/CouldNotLockPageException-while-trying-inspect-option-of-Debug-bar-tp4667405.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-09 Thread Rakesh A
Hi,
Strange thing is, even if I increase the request timeout to 5mins using
org.apache.wicket.settings.IRequestCycleSettings.setTimeout(Duration), I
get the same exception.

I use Wicket 6.15.0, pages are unversioned  page uses
'AbstractAjaxTimerBehavior'.
Does 'AbstractAjaxTimerBehavior' cause this lock?

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CouldNotLockPageException-while-trying-inspect-option-of-Debug-bar-tp4667405p4667413.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-09 Thread Martin Grigorov
Can you reproduce this in a simple quickstart app ?

AbstractAjaxTimerBehavior will send a request on the defined timeout, but
the processing of this request should be fast enough. Check what you do in
#onTimer() callback.


On Tue, Sep 9, 2014 at 2:02 PM, Rakesh A iamrakes...@rediffmail.com wrote:

 Hi,
 Strange thing is, even if I increase the request timeout to 5mins using
 org.apache.wicket.settings.IRequestCycleSettings.setTimeout(Duration), I
 get the same exception.

 I use Wicket 6.15.0, pages are unversioned  page uses
 'AbstractAjaxTimerBehavior'.
 Does 'AbstractAjaxTimerBehavior' cause this lock?

 Regards,
 Rakesh.A

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/CouldNotLockPageException-while-trying-inspect-option-of-Debug-bar-tp4667405p4667413.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org