技术文章 - CS332944

在 ThingWorx 中,DataTable 操作失败并出现“com.thingworx.common.exceptions.DataAccessException:[1.018] 数据存储未知错误”

已修改: 22-Dec-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 8.5

说明

  • 使用AddorUpdateDataTableEntryGetDataTableEntry失败并出现错误
com.thingworx.common.exceptions.DataAccessException:[1.018] 数据存储未知错误:[访问数据提供者时发生错误。]
  • LoggingSubsystem中启用堆栈跟踪(请参阅CS239982 )在ErrorLog.log中显示以下错误
java.lang.RuntimeException:com.thingworx.common.exceptions.DataAccessException:[1.018] 数据存储未知错误:[访问数据提供者时发生错误。] org.postgresql.util.PSQLException:错误:关系“data_table”不存在
位置:13
在 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
在 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
在 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
在 org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
在 org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
在 org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143)
在 org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:106)
在 com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:431)
在 com.thingworx.persistence.common.SQLStatementUtilities.executeQuery(SQLStatementUtilities.java:90)
在 com.thingworx.persistence.postgres.dao.BasePostgresDao.executeQuery(BasePostgresDao.java:124)
... 省略了 18 个公共框架
这是文章 332944 的 PDF 版本,可能已过期。最新版本 CS332944