Hi,

I get a SerializationException for one of my classes that implements
java.io.Serializable and is in the .gwt.rpc file that is deployed to
tomcat. I got this after having upgraded GWT from 1.4.61 to 1.5.3. I
run the application in tomcat, not hosted mode.

With the new GWT you also get a logfile after compile, wich says:
se.company.project.common.dto.UserDTO
   Serialization status
      Instantiable
   Path
      'se.novatelligence.medipal.common.dto.CoordinatorUserDTO' is
reachable as a subtype of type 'class
se.novatelligence.medipal.common.dto.CoordinatorUserDTO'
      Started from
'se.novatelligence.medipal.common.dto.CoordinatorUserDTO'

The only thing I can think of is that there are classes in the project
that uses the older IsSerializable interface, is this a problem or can
you mix with classes that implement Serializable? (it worked before
with 1.4.61...)

the error is:
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
'se.company.project.common.dto.UserDTO' was not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' and did not have a
custom field serializer.  For security purposes, this type will not be
serialized.
        at
com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateSerialize
(LegacySerializationPolicy.java:140)
........

the .gwt.rpc file has the following:
se.company.project.common.dto.UserDTO, true

Lots of thanks to anyone who can help explain this!
/Lukas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to