Can you post the full stack trace please?  Are you getting 
this w/ just this one inner class, or all inner classes?

---- Original message ----
>Date: Wed, 21 Dec 2005 20:16:02 -0300
>From: Tonio Caputo <[EMAIL PROTECTED]>  
>Subject: Anonymous classes and restoreComponentState 
Exception  
>To: MyFaces-Users-List <users@myfaces.apache.org>
>
>Hi,
>
>  I'm having a big problem trying to use MyFaces.
>
>  I have an application running with Java reference 
implementation
>all works ok.
>
>  When I try to use it with MyFaces I'm getting this problem:
>
>javax.servlet.ServletException: 
> Could not restore StateHolder of type
>     com.avivacanada.pampa.util.jsf.BasePageBean$1 
>     (missing no-args constructor?)
>
>  Of course BasePageBean$1 is an anonymous class, no 
constructor in
>it.
>
> 
>I will describe you some characteristics of my application
>that could help (of course if you need the source no problem)
>
>  Every jsp has a java class java-page associated with it.
>  They all extend BasePageBean, all components in the
>  jsp are bound to a corresponding one in the java class.
>
>  BasePageBean has a CommandButton common to all pages
>  and it adds a listener to this command-button, this
>  is the anonymous class that gives the problem.
>
>Any help will be welcomed
>thank you in advance
>    
>-- 
>Tonio Caputo
>[EMAIL PROTECTED]
>4864-4154
>

Dennis Byrne

Reply via email to