It seems that this is a common bug, there is a thread titled "Doubleclicking
on a refreshable Ajax button" which appears to be similar. I am using an
AjaxSubmitButton in my application and double clicks and fast clicks are an
issue. 
I have followed the sugggestions to use javascript to disable the button
between clicks and while this reduced the frequency it still does occur from
time to time. We cannot move to my application to prodution like this and my
manager does not want this application to have to go to a newer wicket since
we'll have to start from scratch with testing. Would it be possible to
release a patch for older releases such as wicket-1.2.6? This would be huge
for my project.

Regards


serban.balamaci wrote:
> 
> Hi. Well in my case this error apeared when the user clicked on a link
> that was directing the user to the next page, and while the user did not
> wait for the other page to load, or he thought that he did not press the
> mouse button and he clicked again. The server saw that the component(link)
> was no longer in the the new page and therefore the nullpointer. (Or
> that's how i explained it to myself). I got around this by disabling the
> link after the clicking.
> 
> 
> 
> salmas wrote:
>> 
>> Every once in awhile if I am clicking around for awhile in the UI of my
>> application I get the following error. What causes this?
>> 
>> java.lang.NullPointerException
>>      at
>> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveListenerInterfaceTarget(DefaultRequestTargetResolverStrategy.java:295)
>>      at
>> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:228)
>>      at
>> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:153)
>>      at
>> wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48)
>>      at wicket.RequestCycle.step(RequestCycle.java:992)
>>      at wicket.RequestCycle.steps(RequestCycle.java:1084)
>>      at wicket.RequestCycle.request(RequestCycle.java:454)
>>      at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
>>      at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:262)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>      at
>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
>>      at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
>>      at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
>>      at
>> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
>>      at
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>>      at
>> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>>      at
>> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
>>      at
>> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
>>      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
>>      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-dioes-this-error-occur--tf4766684.html#a13882794
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to