I am using Google App Engine 1.9.42, Eclipse, Objectify 4.0rc2. My Class is 
as follows:


@Entity
public class LeadActivity {
@Id
private Long id;
private String subject;

Key<Job> jobKey;

//getters & setters 
}


When I try calling the google endpoint for this class thru Eclipse, I get 
the following error: *java.lang.IllegalArgumentException: Parameterized 
type com.googlecode.objectify.Key<Job> not supported.*


Any ideas what I am doing wrong?


After this i completely removed above API method and try to call other API 
methods which does not have Key<Job>  field type.

But i still get the same messaage  *java.lang.IllegalArgumentException: 
Parameterized type com.googlecode.objectify.Key<Job> not supported.*


[INFO] Mar 14, 2017 4:34:29 PM com.google.api.server.spi.SystemService 
invokeServiceMethod
[INFO] SEVERE: exception occurred while calling backend method
[INFO] java.lang.IllegalArgumentException: Parameterized type 
com.googlecode.objectify.Key<com.veersoft.gwt.shared.job.Job> not supported.
[INFO]  at 
com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToSchema(JsonConfigWriter.java:549)
[INFO]  at 
com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToNode(JsonConfigWriter.java:671)
.... more messages
[INFO]  at 
com.google.api.server.spi.SystemService.getApiConfigs(SystemService.java:411)   
 
[INFO]  at 
com.google.api.server.spi.BackendService.getApiConfigs(BackendService.java:98)  
 
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)          
            
[INFO]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
.... more messages
[INFO] Mar 14, 2017 4:34:29 PM com.google.apphosting.utils.jetty.JettyLogger 
warn
[INFO] WARNING: /_ah/api/vsloginendpoint/v2/vsLoginIonic2: java.io.IOException: 
Failed to retieve API configs with status: 400   


Is the API cached? If so, how do i clean the cache?

What is "Failed to retrieve API configs with status" means?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0d6004b3-91a6-44ff-b035-7450fcd89c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to