Hi Lisandro, Perhaps you didn't understand my last line of reasoning re: is your datastore empty... I suspect that the schema for your classes has migrated - i.e. a member that was Long and is now String or vice-versa
A close read of the datastore docs says: http://code.google.com/appengine/docs/java/datastore/dataclasses.html If an entity has a property whose value is of a different type than the corresponding field in the object, JDO attempts to cast the value to the field type. If the value cannot be cast to the field type, JDO throws a ClassCastException. In the case of numbers (long integers and double-width floats), the value is converted, not cast. If the numeric property value is larger than the field type, the conversion overflows without throwing an exception. --Andy On Sat, Sep 25, 2010 at 1:40 PM, lisandrodc <lisandr...@gmail.com> wrote: > Hi! Andy I can't change the type of a member from String to Long > becasue > it is an internal error of datanucleus in google apps, I I do not find > way of solving it. > All the exception is: > > Problem accessing /Prode/JugarFecha.action. Reason: > > java.lang.Long cannot be cast to java.lang.String > > Caused by: > > java.lang.ClassCastException: java.lang.Long cannot be cast to > java.lang.String > at > > org.datanucleus.store.appengine.DatastoreRelationFieldManager.checkForParentSwitch(DatastoreRelationFieldManager.java: > 202) > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.