技术文章 - CS280614

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

已修改: 25-Oct-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • 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