アーティクル - CS332944

ThingWorx で DataTable 操作が「com.thingworx.common.exceptions.DataAccessException: [1.018] Data store unknown error」で失敗する

修正日: 22-Dec-2022   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • 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 個の共通フレームを省略
最新バージョンはこちらを参照ください CS332944