技术文章 - CS332944
在 ThingWorx 中,DataTable 操作失败并出现“com.thingworx.common.exceptions.DataAccessException:[1.018] 数据存储未知错误”
已修改: 22-Dec-2022
适用于
- ThingWorx Platform 8.5
说明
- 使用AddorUpdateDataTableEntry或GetDataTableEntry失败并出现错误
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 个公共框架
位置: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