nstead found geoPt [LAT_LNG]

28 views
Skip to first unread message

hr lumiins

unread,
May 13, 2020, 4:40:48 PM5/13/20
to Google App Engine
Hi All,

   Have you faced similar error, any usggestion pls


Data:
@Entity(name = "TAXI")
@Cache
@XmlRootElement(name = "taxi")
public class Taxi implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@Index
private Long id;
@Index
private Date updatedOn;
@Index
private GeoPt geoPt;



Error:
020-05-13 22:26:49.372 CEST[e~taxidealsnl/standard-project:dev.426651735704177602].<stdout>: list Exception list Size---> ---> e Error loading Key{projectId=taxidealsnl, namespace=, path=[PathElement{kind=TAXI, id=6501807392030720, name=null}]}: Expected type ENTITY at path '%' but instead found geoPt [LAT_LNG]
2020-05-13 22:26:49.375 CEST[e~taxidealsnl/standard-project:dev.426651735704177602].<stdout>: ex ::[Ljava.lang.StackTraceElement;@26ff0233
2020-05-13 22:26:49.375 CEST[e~taxidealsnl/standard-project:dev.426651735704177602].<stdout>: 2020-05-13 20:26:49.375 INFO 1 --- [RequestB8DC7F23] c.l.m.c.ExceptionHandlerController : Error ==null
2020-05-13 22:26:49.375 CEST[e~taxidealsnl/standard-project:dev.426651735704177602].<stderr>: java.lang.IllegalStateException
2020-05-13 22:26:49.376 CEST[e~taxidealsnl/standard-project:dev.426651735704177602].<stderr>: at com.google.common.base.Preconditions.checkState(Preconditions.java:492)



.

yananc

unread,
May 14, 2020, 11:37:04 PM5/14/20
to Google App Engine

Hi, 


This is very likely an issue about the mapping between Java class and XML schema, based upon the stack trace information provided. Since this group mainly focuses on questions related to Google App Engine, support for coding issues is very limited. I suggest to seek community support such as Stackoverflow [1] or the tech support for the specific tool / software that you are using, in order to get the assistance on the issue.


[1]: https://stackoverflow.com/
Reply all
Reply to author
Forward
0 new messages