Is the user hitting the URL directly or are they visiting the page through a
link? Maybe there is a magical sequence of back / button / forward which
causes this problem for your application. Can you provide some information
as to the user access pattern that causes this, maybe look at the HTTP
access log around the time that they error occurs and try and to do the same
things. 

A somewhat more invasive approach to try and better understand the context
would be to extend from one of the classes that implements
IRequestCycleProcessor and override the resolve method and have it call
super.resolve() inside of a try/catch block then when the exception occurs
you can some logging to better understand the context then rethrow the
exception. I have never tried this but if you are deseprate to find a
sloution it migh be worth trying. 

I am just shooting in the dark but very interested in helping you fix this
problem.

Cheers
Adib


-----Original Message-----
From: Jeremy Levy [mailto:[EMAIL PROTECTED] 
Sent: August 4, 2008 11:26 AM
To: [email protected]
Subject: component x not found on page y

We have been struggling with an issue for several months now, any help would
be appreciated.  In our logs I see variations of the same error on the
following error which results in a 500 for the user:

2008-08-04 13:21:24,006 ERROR Wap [RequestCycle] : component
updateSection:theForm not found on page
com.mdate.wap.messagecenter.TypeChatPage[id = 7], listener interface =
[RequestListenerInterface name=IFormSubmitListener, method=public abstract
void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
org.apache.wicket.WicketRuntimeException: component updateSection:theForm
not found on page com.mdate.wap.messagecenter.TypeChatPage[id = 7], listener
interface = [RequestListenerInterface name=IFormSubmitListener,
method=public abstract void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInter
faceTarget(AbstractRequestCycleProcessor.java:416)

2008-07-29 00:59:18,473 ERROR Wap [RequestCycle] : component signup not
found on page com.mdate.wap.signup.RegisterStartPage[id = 2413], listener
interface = [RequestListenerInterface name=ILinkListener, method=public
abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
org.apache.wicket.WicketRuntimeException: component signup not found on page
com.mdate.wap.signup.RegisterStartPage[id = 2413], listener interface =
[RequestListenerInterface name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInter
faceTarget(AbstractRequestCycleProcessor.java:416)

2008-07-29 13:16:36,951 ERROR Wap [RequestCycle] : component browseProfiles
not found on page com.mdate.wap.help.GettingStartedPage[id = 1408], listener
interface = [Reques tListenerInterface name=ILinkListener, method=public
abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
org.apache.wicket.WicketRuntimeException: component browseProfiles not found
on page com.mdate.wap.help.GettingStartedPage[id = 1408], listener interface
= [RequestListener Interface name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInter
faceTarget(AbstractRequestCycleProcessor.java:416)

2008-07-29 13:06:11,931 ERROR Wap [RequestCycle] : component browseProfiles
not found on page com.mdate.wap.browse.NoAuthSearchPage[id = 2002], listener
interface = [Reques tListenerInterface name=ILinkListener, method=public
abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
org.apache.wicket.WicketRuntimeException: component browseProfiles not found
on page com.mdate.wap.browse.NoAuthSearchPage[id = 2002], listener interface
= [RequestListener Interface name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInter
faceTarget(AbstractRequestCycleProcessor.java:416)

2008-07-30 02:17:22,146 ERROR Wap [RequestCycle] 4797907851: component
backToMessageCenterLink not found on page
com.mdate.wap.messagecenter.MessageCenterPage[id = 28], listener interface =
[RequestListenerInterface name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
org.apache.wicket.WicketRuntimeException: component backToMessageCenterLink
not found on page com.mdate.wap.messagecenter.MessageCenterPage[id = 28],
listener interface = [RequestListenerInterface name=ILinkListener,
method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInter
faceTarget(AbstractRequestCycleProcessor.java:416)

-----------------------

We are unable to repeat the issue and the pages render correctly when we
test them.  There is no AJAX in use on this site, and I can't identify any
specific pattern.  The error happens on unauthenticated pages as well as
authenticated pages.  We are using Wicket 1.3.4.  The components that are
referenced in the error messages don't exist on pages the messages
reference.

J


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to