hi Sebastian Rothbucher ,
i founded the problem in returning arrayList of object from Member
Class
i replaced this with Array one dimension of Member Class
ans this problem solved

do you have any comment about why there is not available to return
arrayList  ????

thanks for reply ..


best regards,
ahmed shoeib


On Jun 25, 8:15 pm, Sebastian Rothbucher
<sebastianrothbuc...@googlemail.com> wrote:
> Hi Ahmed,
> does your Member class contain associations to other classes? If yes,
> I guess to have to repackage the lists as well... (i.e. create a new
> Hashtable and so on). Another question could be if you can have
> annotated classes on the client or you have to copy those classes as
> well, i.e. have a plain pojo and an annotated pojo... - you could just
> try with a few samples...
> Hope this helps
>    Sebastian
>
> On Jun 14, 8:45 pm, Ahmed Shoeib <ahmedelsayed.sho...@gmail.com>
> wrote:
>
> > Exception while dispatching incoming RPC call
> > com.google.gwt.user.client.rpc.SerializationException: Type
> > 'org.datanucleus.store.appengine.query.StreamingQueryResult' 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.: instance = []
>
> > Members Class ------------- on client
> > ---------
> > package com.Users.client;
> > @PersistenceCapable
> > public class Members implements Serializable{
> > .
> > .
> > .
>
> > }
>
> > ----------------
> > Entry Point ----------- Client Class
>
> > the problem here
>
> >  // Get Persisted Member
> >                    memberService.getMembers(new 
> > AsyncCallback<List<Members>>() {
>
> >                         @Override
> >                         public void onFailure(Throwable caught) {
> >                                 // TODO Auto-generated method stub
>
> >                         }
>
> >                         @Override
> >                         public void onSuccess(List<Members> result) {
> >                                 // TODO Auto-generated method stub
> >                                 adminPanel.add(new Label("get Members "));
> >                                 adminPanel.add(new Label("size " 
> > +result.size()));
> >                                 for (Members m : result) {
> >                                         adminPanel.add(new 
> > Label(m.getMember()));
> >                                 }
> >                         }
> >                 });
>
> > --------------------
>
> > MembersServiceImpl  ------------ on Server
> > --------
>
> > package com.Users.server;
> > @SuppressWarnings("serial")
> > public class MembersServiceImpl extends RemoteServiceServlet
> > implements
> > MembersService {
>
> > @SuppressWarnings("unchecked")
> >         @Override
> >         public List<Members> getMembers() throws NotLoggedInException {
> >                 // TODO Auto-generated method stub
>
> >                 List<Members>  returnList = new ArrayList<Members>();
>
> >                 PersistenceManager pm = PMF.get().getPersistenceManager();
> >             String query = "select from " + Members.class.getName();
> >             List<Members> members = (List<Members>)
> > pm.newQuery(query).execute();
>
> >                  for(Members step: members)
> >                  {
> >                      returnList.add(step);
> >                  }
> >             return returnList;
>
> >         }
>
> > }
>
> > how to Solve this problem

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to