Giter Club home page Giter Club logo

Comments (4)

Yukari316 avatar Yukari316 commented on June 18, 2024

暂时修复了一下这个问题(大概)
触发可能是因为GC回收了服务造成的,可能就算修复了这个bug也有可能造成外部逻辑的错误

from sora.

NepPure avatar NepPure commented on June 18, 2024
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.

NepPure avatar NepPure commented on June 18, 2024

https://github.com/DeepOceanSoft/Sora/blob/de07ac1b45d3f5ce256c389fc7d341703386ab88/Sora/EventArgs/SoraEvent/BaseMessageEventArgs.cs#L66

这个不存在,除了Dispose 有无其他可能性

from sora.

Yukari316 avatar Yukari316 commented on June 18, 2024

除了被GC Dispose,不太可能是其他的问题

如果你的代码里没有调用过Dispose,只可能是被GC回收了
感觉有可能是其他的业务代码触发了奇怪的bug,导致GC执行了回收

from sora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.