Re: Insidious error

2013-01-24 Thread Paul Bors
>From your stack trace:

 es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fcon
component [Inicio [Component id = contenido]] threw an exception

the component with the "contenido" wicket:id must have a model object
that's cast to the wrong type.

You should use Generics more for your models to prevent those cast errors
or pay more attention to the object types :)
https://cwiki.apache.org/WICKET/generics.html

On Thu, Jan 24, 2013 at 1:56 PM, Oscar Besga Arcauz wrote:

>
> Hi Wickers
>
> I've deployed my wicket webapp in production, now it's online.
> Thanks for all your help !
>
>
> But..
>
> There's an error, that is thrown intermittent, from time to time.
> It doesn't appear to affect the main behaviour of the website
>
> I've trying to reach source and debug and fix it, but it has been
> impossible to me.
> If anyone has a hint or knows what is happening, it will be truly
> appreciated
>
> Thanks !!
>
> ERROR WebIsdefe:276 - ERROR ! >>
> Method  onRequest of interface
> org.apache.wicket.behavior.IBehaviorListener  targeted at
>  es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fc 
> on component [Inicio [Component id = contenido]] threw an exception
> org.apache.wicket.WicketRuntimeException:  Method onRequest of interface
>  org.apache.wicket.behavior.IBehaviorListener targeted at
>  es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fc 
> on component [Inicio [Component id = contenido]] threw an exception
> at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:274)
> at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
>
> Caused by: java.lang.IllegalArgumentException:
> java.lang.ClassCastException@1e275ff3
> at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
> ... 26 more
> 18:12:26,156 ERROR DefaultExceptionMapper:123 - Unexpected error occurred
> org.apache.wicket.WicketRuntimeException:  Method onRequest of interface
>  org.apache.wicket.behavior.IBehaviorListener targeted at
>  es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fc 
> on component [Inicio [Component id = contenido]] threw an exception
> at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:274)
> at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
>  at
>  
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:247)
> at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:226)
> at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:830)
> at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> [...]
> Caused by: java.lang.IllegalArgumentException:
> java.lang.ClassCastException@1e275ff3
> at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
> ... 26 more
>
>
> > > > Oscar Besga Arcauz  < < <
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Insidious error

2013-01-24 Thread Oscar Besga Arcauz
 
Hi Wickers

I've deployed my wicket webapp in production, now it's online.
Thanks for all your help !


But..

There's an error, that is thrown intermittent, from time to time.
It doesn't appear to affect the main behaviour of the website

I've trying to reach source and debug and fix it, but it has been impossible to 
me.
If anyone has a hint or knows what is happening, it will be truly appreciated 

Thanks !!

ERROR WebIsdefe:276 - ERROR ! >> 
Method  onRequest of interface org.apache.wicket.behavior.IBehaviorListener  
targeted at  
es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fc  on 
component [Inicio [Component id = contenido]] threw an exception
org.apache.wicket.WicketRuntimeException:  Method onRequest of interface  
org.apache.wicket.behavior.IBehaviorListener targeted at  
es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fc  on 
component [Inicio [Component id = contenido]] threw an exception
    at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:274)
    at 
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)

Caused by: java.lang.IllegalArgumentException: 
java.lang.ClassCastException@1e275ff3
    at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
    ... 26 more
18:12:26,156 ERROR DefaultExceptionMapper:123 - Unexpected error occurred
org.apache.wicket.WicketRuntimeException:  Method onRequest of interface  
org.apache.wicket.behavior.IBehaviorListener targeted at  
es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fc  on 
component [Inicio [Component id = contenido]] threw an exception
    at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:274)
    at 
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
     at  
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:247)
    at 
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:226)
    at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:830)
    at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
[...]
Caused by: java.lang.IllegalArgumentException: 
java.lang.ClassCastException@1e275ff3
    at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
    ... 26 more


    > > > Oscar Besga Arcauz  < < < 


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