jacke_he 发表于 2022-9-20 11:32:37

V8.0.4



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


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
}


Grayson.Shang 发表于 2022-9-20 12:15:27

这个帖子和另一个类似,已经在另一个帖子中回复了
V8.0.4
https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=154216&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 发表于 2022-9-20 16:29:56

大佬您好,您说的这个问题我大概是懂了,但是单看这些描述,也看不懂这个问题是什么。
这样吧,您把这个报错的完整的文件发一下,我们下去调查一下这个问题,原因是什么

Grayson.Shang 发表于 2022-9-28 09:32:37

大佬您好,这个问题,我们看错误日志信息,也不清楚是哪里出了问题,你了解出现错误的时候,都做了哪些操作吗?

jacke_he 发表于 2022-9-28 09:51:32

好象也没看到啥影响,没时间去处理,先这样吧

Grayson.Shang 发表于 2022-9-28 11:45:25

好的收到,若是有问题,可以在这个帖子上跟,也可以重新开一个帖子
{:5_110:}

renho 发表于 2022-9-29 23:07:25

应该是视图写法不规范引起的,可以检查下
这种只是sqlite回调函数的一个提醒,不改也不影响使用

Grayson.Shang 发表于 2022-9-30 09:11:47

renho 发表于 2022-9-29 23:07
应该是视图写法不规范引起的,可以检查下
这种只是sqlite回调函数的一个提醒,不改也不影响使用大佬您好您说的视图写法不规范引起的,这的是下面这个SQLite的警告吗,
SQLite warning (28): double-quoted string literal: "街道1"
SQLite warning (284): automatic index on 用户信息视图(用户名)若是的话这个帖子主要的问题不是上面这个,而是主要问的是下面这个问题的原因。
"Message": "An item with the same key has already been added. Key: ACT_HI_COMMENT_View_ID_",

renho 发表于 2022-10-1 10:22:18

Grayson.Shang 发表于 2022-9-30 09:11
大佬您好您说的视图写法不规范引起的,这的是下面这个SQLite的警告吗,
若是的话这个帖子主要的问题不是上 ...

这个提示的多么清晰明了:D,他自己也说没影响,那就算了。
页: [1] 2
查看完整版本: V8.0.4