技术文章 - CS280614
在 ThingWorx Platform 中创建、导入或更新实体时出现“[1,018 数据存储未知错误:[访问模型提供程序时发生错误。]”错误
已修改: 25-Oct-2024
适用于
- ThingWorx Platform 8.5 to 9.5
- PostgreSQL/MSSQL
说明
- 无法在 ThingWorx Platform 中创建、更新或导入实体
- 实体在 Composer 上无法找到,但已提交到数据库
- Composer 上显示以下错误并记录在<ThingworxStorage>logs/ApplicationLog.log中:
Unable to create thing:<name>: [1,018] Data store unknown error:[Error occurred while accessing the model provider.]
[1,018] Data store unknown error: [Error occurred while accessing the model provider.]
- 删除事物失败,ErrorLog.log 中出现以下错误:
JavaException: java.lang.Exception: Unable to delete thing: [####] Unable to dispose thing: [####] com.thingworx.common.exceptions.DataAccessException: [2,000] Error occurred while accessing the data provider
- 以下错误记录在<ThingworxStorage>logs/ErrorLog.log中:
[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <username>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-3817] Error thrown creating entity = <entity_name>: Unable to create <entity_type>: [1,018] Data store unknown error: [Error occurred while accessing the model provider.] [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <username>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-3817] Unable to process import: Unable to create <entity_type>: [1,018] Data store unknown error: [Error occurred while accessing the model provider.] [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <username>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-3817] Import Failed: Unable to create group: [1,018] Data store unknown error: [Error occurred while accessing the model provider.] java.lang.Exception: Unable to create group: [1,018] Data store unknown error: [Error occurred while accessing the model provider.] ... Wrapped by: java.lang.Exception: Import Failed: Unable to create group: [1,018] Data store unknown error: [Error occurred while accessing the model provider.] ... [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <username>] [S: ] [P: ] [T: http-nio-8080-exec-161] [1,018] Data store unknown error: [Error occurred while accessing the model provider.] org.postgresql.util.PSQLException: ERROR: permission denied for table <table> Where: SQL statement "INSERT INTO <table> ( ... ) VALUES ( ... )" Wrapped by: com.thingworx.common.exceptions.ModelAccessException: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
这是文章 280614 的 PDF 版本,可能已过期。最新版本 CS280614