@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Group implements Serializable {
  @PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true")
  private String encodedKey;

  @Persistent
  private String name;

  @Persistent
  private List<Membership> members;
}


@RemoteServiceRelativePath("service")
public interface Service extends RemoteService {
  Group createGroup(final String name);
}

I get this exception when I call createGroup, what am I missing?

com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1241583692799000] javax.servlet.ServletContext log: Exception while
dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type
'org.datanucleus.sco.backed.ArrayList' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class object
could not be loaded. For security purposes, this type will not be
serialized.
at
com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize(StandardSerializationPolicy.java:83)

--~--~---------~--~----~------------~-------~--~----~
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]
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