found the problem: one of the members of the class was implementing an
interface which extended serializable, but was not public. it was package
local. once i made it public, the compiler gave me useful errors again.


2013/5/15 Dennis Haupt <d.haup...@gmail.com>

> the problem is, the server side decides that the class is simply not
> serializable. it's not in the "serializables whitelist". where is this list
> created? maybe i can see why my class is skipped.
>
>
> 2013/5/15 Dennis Haupt <d.haup...@gmail.com>
>
>> i have created dummy methods in my remote interface that use them (both
>> parameter and return type) to make sure the compiler knows they have to be
>> serialized. this helped in another case, but not here.
>>
>>
>> 2013/5/14 Boris Lenzinger <boris.lenzin...@gmail.com>
>>
>>> 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.haup...@gmail.com> a écrit :
>>>
>>> yes, they are all serializable
>>>>
>>>>
>>>> 2013/5/14 Boris Lenzinger <boris.lenzin...@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.haup...@gmail.com> a écrit :
>>>>>
>>>>> does it matter if the fields are interfaces?
>>>>>>
>>>>>>
>>>>>> 2013/5/14 Dennis Haupt <d.haup...@gmail.com>
>>>>>>
>>>>>>> yes, the compiler can access them. i use the classes in an rpc call
>>>>>>>
>>>>>>>
>>>>>>> 2013/5/14 Boris Lenzinger <boris.lenzin...@gmail.com>
>>>>>>>
>>>>>>>> Are the type of your fields available on the client side ?
>>>>>>>> Le 14 mai 2013 17:40, "Dennis Haupt" <d.haup...@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.lenzin...@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.haup...@gmail.com> a
>>>>>>>>>> écrit :
>>>>>>>>>>
>>>>>>>>>> i'm removing fields step by step now (since it has only 3)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2013/5/14 Boris Lenzinger <boris.lenzin...@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.haup...@gmail.com> a
>>>>>>>>>>>> écrit :
>>>>>>>>>>>>
>>>>>>>>>>>> can i debug *why* the class is not included?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2013/5/14 Dennis Haupt <d.haup...@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 <gardellajuanpa...@gmail.com>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> It does implement Serializable?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2013/5/14 Dennis Haupt <d.haup...@gmail.com>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> i deactivated the rpc blacklist
>>>>>>>>>>>>>>>> the class has a default contructor and no final fields
>>>>>>>>>>>>>>>> is it directly used in an rpc method
>>>>>>>>>>>>>>>> there is no error message during compilation
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> i 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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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.


Reply via email to