アーティクル - CS374709
InfluxDB 永続性プロバイダーの読み取り/書き込みが失敗し、ThingWorx プラットフォームの ApplicationLog に「[1,018] データ ストアの不明なエラー: [データ プロバイダーへのアクセス中にエラーが発生しました。] java.lang.NullPointerException: null」が記録される
修正日: 11-Nov-2024
適用対象
- ThingWorx Platform 9.3 to 9.6
- InfluxDB
説明
- InfluxDB 永続プロバイダーへのデータの読み取りまたは書き込みができません
- メンテナンス作業のためThingWorx Platformを再起動しましたが、Influx Persistence Providerは再接続できませんでした。
- ThingWorx SaaS プラットフォームで InfluxDB への接続時にエラー 1018 が表示される
- InfluxDBインスタンス自体には問題はありません
- InfluxDB から値ストリーム データをクエリできませんでした
- 次のエラー メッセージが、<ThingworxStorage>\logs にある ThingWorx Platform ログ内に繰り返し記録されます。
- アプリケーションログ.log
[L: ERROR] [O: ctpiInfluxdbDataExceptionTranslator] [I: ] [U: Administrator] [S: ] [P: ] [T: TWEventProcessor-9] [1,018] Data store unknown error: [Error occurred while accessing the data provider.]
- エラーログ.log
[L: ERROR] [O: EctpiInfluxdbDataExceptionTranslator] [I: ] [U: SuperUser] [S: ] [P: ] [T: TWEventProcessor-5] null [L: ERROR] [O: EcqlcLogger] [I: ] [U: SuperUser] [S: ] [P: ] [T: TWEventProcessor-5] [1,018] Data store unknown error: [Error occurred while accessing the data provider.] java.lang.NullPointerException: null at com.thingworx.persistence.influxdb.dao.InfluxdbValueStreamDao.getEntries(InfluxdbValueStreamDao.java:226) ... 45 common frames omitted Wrapped by: com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.] at com.thingworx.persistence.influxdb.InfluxdbDataExceptionTranslator.rethrowTranslated(InfluxdbDataExceptionTranslator.java:34) at com.thingworx.persistence.influxdb.dao.InfluxdbValueStreamDao.getEntries(InfluxdbValueStreamDao.java:239) at com.thingworx.persistence.influxdb.dataprovider.InfluxdbValueStreamDataProvider.queryValueCollections(InfluxdbValueStreamDataProvider.java:204) at com.thingworx.persistence.common.ValueStreamEngine.lambda$queryEntries$11(ValueStreamEngine.java:306) at com.thingworx.persistence.TransactionFactory.supplyInTransaction(TransactionFactory.java:182) ...
- アプリケーションログ.log
最新バージョンはこちらを参照ください CS374709