my solution: /** * do not delete this method. the gwt compiler refuses to enable deserialization of "ViewableKey" on client side * because of its generic parameter, even if it's only used with serializable ones. i don't know why it worked before. */ void hackToMakeTheGWTCompilerPutViewableKeyIntoTheWhiteList(final ViewableKey<String> key, final AsyncCallback<Void> async);
2011/8/8 Dennis Haupt <[email protected]> > i just deleted and recompiled everything. still the same error. in one of > my rpc-files, the class is "true true true true", in all others its "true > true false false". changing it manually does help in hosted mode. wtf is > this? > > > 2011/8/8 Dennis Haupt <[email protected]> > >> in the rpc-files that class is configured as "true true false false". does >> that make sense? what could cause this? >> >> 2011/8/8 Dennis Haupt <[email protected]> >> >>> the error message explicitly states that class x is not in the >>> deserializationwhitelist. >>> i've experiences this before with another class (a simple enum, not >>> fields at all) >>> >>> >>> 2011/8/8 Jeff Larsen <[email protected]> >>> >>>> Does your class contain a Collection where you could be putting an >>>> object that is not serializable? >>>> >>>> -- >>>> 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/-/EumAY_HxhGkJ. >>>> 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. >>>> >>> >>> >> > -- 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.
