thanks, i fixed my problem. On Wednesday, July 2, 2008 7:50:11 AM UTC+8, Tom Davies wrote: > > I had a similar problem using 1.5RC1 and felix 1.0.4. > > My problem was that the OSGi bundle which contained my concrete > RemoteServiceServlet was not able to see the custom serialiser for > ArrayList, as it didn't import that package. > > This is not an error as far as the server is concerned -- it simply > serialises the ArrayList as it would any Java object. But because the > custom serialiser *is* available at compile time, the serialisation > ids for ArrayList differ between the client and the server. > > I fixed this by adding DynamicImport-Package: com.google.gwt.* to my > OSGI bundle's manifest. > > It would have been nice to have a better client side error message for > this eventuality (I first encountered the problem passing an ArrayList > from server to client, while the OPs occurred in the reverse direction)
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sc9mvcCnSxYJ. To post to this group, send email to google-web-toolkit@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.