技术文章 - CS280614

[1,018] 数据存储未知错误:访问模型提供程序时发生错误。在 ThingWorx 平台中创建、导入或更新实体时出现此错误

已修改: 06-Nov-2026   


适用于

  • ThingWorx Platform 8.5 to 9.7
  • PostgreSQL
  • Microsoft SQL Server

说明

  • 无法在 ThingWorx 平台中创建、更新或导入实体
  • 该实体在 ThingWorx 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.]
  • 删除 Thing 失败,错误信息位于<ThingworxStorage>/logs/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