Even i am facing the same issue with GWT 2.6 I have a class in shared package that implements Serializable but it has inner Enums which also has a default constructor and which implements Serializable interface but still i get Serializable Exception when i try to use the Parent class during RPC call.
On Tuesday, 10 August 2010 15:22:23 UTC+5:30, Rodrigo wrote: > > I'm running into the same problem... > > I have an inner enum inside a class in the shared package (which is > accessible to the client). > > I tried making the enum implement IsSerializable, Serializable, adding > a default constructor, to no avail... > > BTW, my code works in development mode, presumably because it actually > runs from the java code instead of from javascript (right?). But in > production mode, it fails. It actually fails silently, which made it > even harder to diagnose this problem, but that's a different story... > > Any ideas? > > On Jul 28, 10:39 am, Raphaƫl Brugier <[email protected]> > wrote: > > The serialization of innerenumworks for me, > > > > Be sure to have a default constructor in yourenum. > > Maybe also non-final fields. > > > > Does your class is on a serializable package, usually the client or > > shared ? > > > > On 28 juil, 06:35, Mike Heath <[email protected]> wrote: > > > > > > > > > Allenumextend java.lang.Enumwhich implements java.io.Serializable so > > > explicitly implementing Serializable shouldn't make a difference. > > > > > On Tue, Jul 27, 2010 at 9:15 AM, Prashant <[email protected]> > wrote: > > > > try > > > > > > publicenumStatus *implements **java.io.**Serializable* { > > > > ACTIVE, INACTIVE, NA > > > > } > > > > > > -- > > > > Prashant > > > >www.claymus.com > > > > > > -- > > > > You received this message because you are subscribed to the Google > Groups > > > > "Google Web Toolkit" group. > > > > To post to this group, send email to [email protected] > <javascript:>. > > > > To unsubscribe from this group, send email to > > > > [email protected] > > > > <javascript:><google-web-toolkit%2Bunsubs > [email protected] <javascript:>> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
