找回密码
 立即注册

QQ登录

只需一步,快速开始

jacke_he 活字格认证

金牌服务用户

62

主题

222

帖子

912

积分

金牌服务用户

积分
912

时代开发者征文活动活字格高级认证活字格认证

QQ

[已处理] V8.0.4

jacke_he 活字格认证
金牌服务用户   /  发表于:2022-9-20 11:32  /   查看:2447  /  回复:10


看日志,前端还没看到有啥影响,但正面的日志一直出错, 是什么原因造成  ?


SQLite warning (28): double-quoted string literal: "街道1"
SQLite warning (284): automatic index on 用户信息视图(用户名)
Tid:18 2022/9/19 19:28:18: Assembly: Forguncy.Server2, Version=8.0.6.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.ArgumentException",
  "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at CommonUtilities.DBNameManager.b(String A_0, String A_1)
   at CommonUtilities.DBNameManager.GetDisplayColumnName(String columnName, String tableName, Action`2 refreshAction, Boolean onlyFindBuiltIn)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.a(DataBaseDefine A_0, Table A_1)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.CreateDataBaseDefineForOData(TableSet tableSet)
   at Forguncy.Server2.Controllers.ODataDataBaseDefineHelper.a()
   at Forguncy.Server2.Controllers.HomeController.a(String A_0, ODataAccessWay A_1)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024809,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null,
  "ParamName": null
}

CurrentMethodName: GetTableDataApiInternal
Tid:25 2022/9/19 19:28:18: Assembly: Forguncy.Server2, Version=8.0.6.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.ArgumentException",
  "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at CommonUtilities.DBNameManager.b(String A_0, String A_1)
   at CommonUtilities.DBNameManager.GetDisplayColumnName(String columnName, String tableName, Action`2 refreshAction, Boolean onlyFindBuiltIn)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.a(DataBaseDefine A_0, Table A_1)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.CreateDataBaseDefineForOData(TableSet tableSet)
   at Forguncy.Server2.Controllers.ODataDataBaseDefineHelper.a()
   at Forguncy.Server2.Controllers.HomeController.a(String A_0, ODataAccessWay A_1)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024809,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null,
  "ParamName": null
}

CurrentMethodName: GetTableDataApiInternal
Tid:8 2022/9/19 19:28:18: Assembly: Forguncy.Server2, Version=8.0.6.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.ArgumentException",
  "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at CommonUtilities.DBNameManager.b(String A_0, String A_1)
   at CommonUtilities.DBNameManager.GetDisplayColumnName(String columnName, String tableName, Action`2 refreshAction, Boolean onlyFindBuiltIn)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.a(DataBaseDefine A_0, Table A_1)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.CreateDataBaseDefineForOData(TableSet tableSet)
   at Forguncy.Server2.Controllers.ODataDataBaseDefineHelper.a()
   at Forguncy.Server2.Controllers.HomeController.a(String A_0, ODataAccessWay A_1)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024809,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null,
  "ParamName": null
}

CurrentMethodName: GetTableDataApiInternal
Tid:9 2022/9/19 19:28:18: Assembly: Forguncy.Server2, Version=8.0.6.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.ArgumentException",
  "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at CommonUtilities.DBNameManager.b(String A_0, String A_1)
   at CommonUtilities.DBNameManager.GetDisplayColumnName(String columnName, String tableName, Action`2 refreshAction, Boolean onlyFindBuiltIn)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.a(DataBaseDefine A_0, Table A_1)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.CreateDataBaseDefineForOData(TableSet tableSet)
   at Forguncy.Server2.Controllers.ODataDataBaseDefineHelper.a()
   at Forguncy.Server2.Controllers.HomeController.a(String A_0, ODataAccessWay A_1)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024809,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null,
  "ParamName": null
}

CurrentMethodName: GetTableDataApiInternal
Tid:23 2022/9/19 19:28:18: Assembly: Forguncy.Server2, Version=8.0.6.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  "ClassName": "System.ArgumentException",
  "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at CommonUtilities.DBNameManager.b(String A_0, String A_1)
   at CommonUtilities.DBNameManager.GetDisplayColumnName(String columnName, String tableName, Action`2 refreshAction, Boolean onlyFindBuiltIn)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.a(DataBaseDefine A_0, Table A_1)
   at Forguncy.Server2.Common.ODataDataBaseDefineHelper.CreateDataBaseDefineForOData(TableSet tableSet)
   at Forguncy.Server2.Controllers.ODataDataBaseDefineHelper.a()
   at Forguncy.Server2.Controllers.HomeController.a(String A_0, ODataAccessWay A_1)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024809,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null,
  "ParamName": null
}


10 个回复

倒序浏览
Grayson.Shang活字格认证 Wyn认证
超级版主   /  发表于:2022-9-20 12:15:27
沙发
这个帖子和另一个类似,已经在另一个帖子中回复了
V8.0.4
https://gcdn.grapecity.com.cn/fo ... 6&fromuid=69812
(出处: 葡萄城产品技术社区)
回复 使用道具 举报
jacke_he活字格认证
金牌服务用户   /  发表于:2022-9-20 14:12:10
板凳
这个帖子不一样,他的错误信息是与act_hi_comment表有关,这个应当是流程表才是
"ClassName": "System.ArgumentException",
  "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
回复 使用道具 举报
Grayson.Shang活字格认证 Wyn认证
超级版主   /  发表于:2022-9-20 16:29:56
地板
大佬您好,您说的这个问题我大概是懂了,但是单看这些描述,也看不懂这个问题是什么。
这样吧,您把这个报错的完整的文件发一下,我们下去调查一下这个问题,原因是什么
回复 使用道具 举报
Grayson.Shang活字格认证 Wyn认证
超级版主   /  发表于:2022-9-28 09:32:37
5#
大佬您好,这个问题,我们看错误日志信息,也不清楚是哪里出了问题,你了解出现错误的时候,都做了哪些操作吗?
回复 使用道具 举报
jacke_he活字格认证
金牌服务用户   /  发表于:2022-9-28 09:51:32
6#
好象也没看到啥影响,没时间去处理,先这样吧
回复 使用道具 举报
Grayson.Shang活字格认证 Wyn认证
超级版主   /  发表于:2022-9-28 11:45:25
7#
好的收到,若是有问题,可以在这个帖子上跟,也可以重新开一个帖子
回复 使用道具 举报
renho活字格认证
银牌会员   /  发表于:2022-9-29 23:07:25
8#
应该是视图写法不规范引起的,可以检查下
这种只是sqlite回调函数的一个提醒,不改也不影响使用
回复 使用道具 举报
Grayson.Shang活字格认证 Wyn认证
超级版主   /  发表于:2022-9-30 09:11:47
9#
renho 发表于 2022-9-29 23:07
应该是视图写法不规范引起的,可以检查下
这种只是sqlite回调函数的一个提醒,不改也不影响使用
大佬您好您说的视图写法不规范引起的,这的是下面这个SQLite的警告吗,
  1. SQLite warning (28): double-quoted string literal: "街道1"
  2. SQLite warning (284): automatic index on 用户信息视图(用户名)
复制代码
若是的话这个帖子主要的问题不是上面这个,而是主要问的是下面这个问题的原因。
  1. "Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",
复制代码
回复 使用道具 举报
renho活字格认证
银牌会员   /  发表于:2022-10-1 10:22:18
10#
Grayson.Shang 发表于 2022-9-30 09:11
大佬您好您说的视图写法不规范引起的,这的是下面这个SQLite的警告吗,
若是的话这个帖子主要的问题不是上 ...

这个提示的多么清晰明了  ,他自己也说没影响,那就算了。
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部