开发者社区> 问答> 正文

表格存储报错This is supposed to be overridden by subclas

在使用表格存储,存入内容时报错,全部报错信息如下:

Exception in thread "Thread-4" java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses.

at com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:262)
at com.alicloud.openservices.tablestore.core.protocol.OtsInternalApi$Condition.getSerializedSize(OtsInternalApi.java:4509)
at com.google.protobuf.CodedOutputStream.computeMessageSizeNoTag(CodedOutputStream.java:916)
at com.google.protobuf.CodedOutputStream.computeMessageSize(CodedOutputStream.java:668)
at com.alicloud.openservices.tablestore.core.protocol.OtsInternalApi$PutRowRequest.getSerializedSize(OtsInternalApi.java:20799)
at com.google.protobuf.AbstractMessageLite.toByteArray(AbstractMessageLite.java:70)
at com.alicloud.openservices.tablestore.core.OperationLauncher.asyncInvokePost(OperationLauncher.java:117)
at com.alicloud.openservices.tablestore.core.PutRowLauncher.fire(PutRowLauncher.java:53)
at com.alicloud.openservices.tablestore.InternalClient.putRow(InternalClient.java:449)
at com.alicloud.openservices.tablestore.SyncClient.putRow(SyncClient.java:218)
at com.keeson.jdskill.backend.utils.AliIoTUtilRunnable.run(AliIoTUtilRunnable.java:208)
at java.lang.Thread.run(Thread.java:748)

展开
收起
游客lv3dejp2hkyey 2020-04-08 19:00:47 1834 0
2 条回答
写回答
取消 提交回答
  • 官网上有解决方案了。 https://help.aliyun.com/document_detail/58568.html

    2022-07-22 10:31:07
    赞同 展开评论 打赏
  • 技术架构师 阿里云开发者社区技术专家博主 CSDN签约专栏技术博主 掘金签约技术博主 云安全联盟专家 众多开源代码库Commiter

    详细看一下api,目前你的操作不被支持,需要使用子类

    2020-04-08 20:49:09
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
TableStore在社交类场景下的应用 立即下载
表格存储实时数据流Steam的技术揭秘和应用场景 立即下载
表格存储(TableStore) 立即下载