joe young
unread,Jun 25, 2009, 4:16:30 PM6/25/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi all,
Having problem with Parsing HashMap from RPC, here is the error
message:
Analyzing 'com.sun.dmt.admin.client.login.LoginService' for
serializable types
Analyzing methods:
public abstract
com.sun.dmt.admin.client.domain.AdminPrivilege userIsValid
(java.util.HashMap<java.lang.String, java.lang.String> loginData)
throws com.sun.dmt.admin.client.exception.LdapException,
com.sun.dmt.admin.client.exception.LDAPValidationException,
com.sun.dmt.admin.client.exception.UserAuthorityException
Return type:
com.sun.dmt.admin.client.domain.AdminPrivilege
com.sun.dmt.admin.client.domain.AdminPrivilege
[ERROR] Type
'com.sun.dmt.admin.client.domain.AdminPrivilege' was not serializable
and has no concrete serializable subtypes
Having Problem with AdminPrivilege Object that contains a HashMap --
public class BaseDomain implements IsSerializable {
public BaseDomain() {
}
}
public class AdminPrivilege extends BaseDomain {
/*
* @gwt.typeArgs <java.lang.String,
com.client.domain.TabPrivilege>
*/
private HashMap<String,TabPrivilege> tabPrivileges;
public AdminPrivilege(ArrayList<HashMap> privilegeList) {
setTabPrivileges(new HashMap<String, Integer>());
}
}
I don't know why it doesn't work, can anyone help?? It is urgent!!