简体   繁体   English

具有kind和key的数据存储区实体具有名为的null属性

[英]Datastore entity with kind and key has a null property named

After adding a boolean attribute to an object, fetching that object from the datastore results in the error: 向对象添加布尔属性后,从数据存储区中提取该对象会导致错误:

Datastore entity with kind <Class> and key <Class:ID> has a 
  null property named <attribute>

Don't use primitive data-types, use their wrapper classes. 不要使用原始数据类型,使用它们的包装类。
Instead of boolean, use Boolean, etc. 而不是布尔值,使用布尔值等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM