And you have already used them in rpc calls ? Sorry for those basic questions but it is to be sure that, before searching for complex things, simple one have been discarded.
Le 14 mai 2013 17:59, "Dennis Haupt" <d.haupt82@gmail.com> a écrit :
-- yes, they are all serializable--2013/5/14 Boris Lenzinger <boris.lenzinger@gmail.com>
Are they serializable ? Or is their implementation serialiazable ? Try to replace for test purpose with a string for instance to identify faulty fields.
Le 14 mai 2013 17:54, "Dennis Haupt" <d.haupt82@gmail.com> a écrit :does it matter if the fields are interfaces?--2013/5/14 Dennis Haupt <d.haupt82@gmail.com>
yes, the compiler can access them. i use the classes in an rpc call2013/5/14 Boris Lenzinger <boris.lenzinger@gmail.com>
Are the type of your fields available on the client side ?
Le 14 mai 2013 17:40, "Dennis Haupt" <d.haupt82@gmail.com> a écrit :the package the problematic class is in cannot access the gwt classes, so it must use serializable. but i have done this several times now, it always worked. removing all fields fixed the problem.why doesn't the gwt complain about the fields at all, if they are the problem?--2013/5/14 Boris Lenzinger <boris.lenzinger@gmail.com>
Consider also the interface other than serializable. It must be somerhung around those things...
Le 14 mai 2013 17:31, "Dennis Haupt" <d.haupt82@gmail.com> a écrit :i'm removing fields step by step now (since it has only 3)--2013/5/14 Boris Lenzinger <boris.lenzinger@gmail.com>
Did you try by just including step by step the class ? I mean just add an empty class and check if it is working. I know you made a lot of classes so you are skilled. So I guess this is a silly problem. Perhaps restarting from scratch may highlight the issue.
Le 14 mai 2013 17:24, "Dennis Haupt" <d.haupt82@gmail.com> a écrit :can i debug *why* the class is not included?--2013/5/14 Dennis Haupt <d.haupt82@gmail.com>
please assume that i have already checked the dumb errors. i have about 200 serializable classes here, so i know how it works (usually...)the error message is the one that says "not included in the list of serializable types". i don't see how posting the code would help without providing access to the complete project. it's just a class implementing an interface which extends serializable with fields that are all not final and all serializable.can an interface prevent the class from being serializable?2013/5/14 Juan Pablo Gardella <gardellajuanpablo@gmail.com>
It does implement Serializable?2013/5/14 Dennis Haupt <d.haupt82@gmail.com>
--i deactivated the rpc blacklistthe class has a default contructor and no final fieldsis it directly used in an rpc methodthere is no error message during compilationi have no idea what the reason could be. any ideas?You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment