Issue resolved:  the URL class does not have an default constructor so
objectify is throwing the error.

I just wanted to reply to the group so the solution was on record.

On Jan 25, 11:22 am, Christopher Johnson <[email protected]> wrote:
> All -
>
> I had question about supported property types for Java, I'm working
> with GAE and Objectify and one of my embedded objects has a
> java.net.URL member, when trying to store the object I get the
> following error:
>
> java.lang.IllegalArgumentException java.net.URL is not a supported
> property type.
>
> public ObjectA{
>   @Unindexed @Embedded private ObjectB objb;
>   // getters and setters
>
> }
>
> public ObjectB {
>   private URL url;
>   // getters and setter
>
> }
>
> In my DAO I do something like ofy().put(obja) and out comes the
> error ? I'm clearly missing something simple here, just can't put my
> finger on it, can anyone throw out some quick help ?
>
> Thanks,
> ..Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to