Comments (4)
暂时修复了一下这个问题(大概)
触发可能是因为GC回收了服务造成的,可能就算修复了这个bug也有可能造成外部逻辑的错误
from sora.
Application: FFXIV.Sora.exe
CoreCLR Version: 6.0.422.16404
.NET Version: 6.0.4
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Collections.Generic.KeyNotFoundException: The given key '10f27201-b1c0-43d3-8812-72c68bf549f4' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException(TKey key)
at Sora.EventArgs.SoraEvent.BaseMessageEventArgs..ctor(Guid serviceId, Guid connectionId, String eventName, BaseObMessageEventArgs msg, SourceFlag source)
at Sora.OnebotAdapter.EventAdapter.MessageAdapter(JObject messageJson, Guid connection)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
更新后还是寄了
from sora.
这个不存在,除了Dispose 有无其他可能性
from sora.
除了被GC Dispose,不太可能是其他的问题
如果你的代码里没有调用过Dispose,只可能是被GC回收了
感觉有可能是其他的业务代码触发了奇怪的bug,导致GC执行了回收
from sora.
Related Issues (20)
- v1.0.0-rc28及以上版本的Log工具类无法在CentOS 8上使用 HOT 5
- v1.0.0-rc26中 Sora.Net.ConnectionManager.HeartBeatUpdate() 抛出 KeyNotFoundException HOT 3
- SoraCommand设置SourceFlag.Private时提示不支持的类型 HOT 2
- 关于异常捕获 HOT 1
- [功能需求] SoraService中需要StopService方法销毁WebSocket连接,需要Pause方法暂停事件分发
- 单条信息同时匹配多个指令时,eventArgs.CommandRegex永远是最后匹配Command的正则 HOT 1
- 内部HeartBeatUpdate触发程序崩溃
- 关于SoraCommand中的MatchType HOT 1
- 收到邀请进群通知后崩溃 HOT 1
- 监听群员变动事件后被拉入新群后崩溃 HOT 1
- 依旧是关于SoraCommand中的MatchType HOT 6
- [建议]GroupMemberInfo中增加IsAdmin HOT 3
- 没有注册常规指令时,动态指令不会被执行 HOT 1
- Group.GetGroupRootFiles() 超时
- Group.GetEssenceMsgList() 精华消息获取的2个问题 HOT 7
- 接收消息时出现错误 MSG_NOT_FOUND HOT 3
- 转发消息的时候图片会变成cq码 HOT 10
- [重要] 未来的计划
- [Feature Request] 静态文件的http服务器(? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sora.