Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2022 Extension not working #120

Closed
TomeSq opened this issue Sep 18, 2024 · 1 comment
Closed

Visual Studio 2022 Extension not working #120

TomeSq opened this issue Sep 18, 2024 · 1 comment

Comments

@TomeSq
Copy link

TomeSq commented Sep 18, 2024

The codeium (1.8.83) extension does not work in Visual Studio 2022 (17.11.4).
When I click on the link that appears from the source code, the extension screen does not open.
Below is the log.

System.AggregateException: 1 つ以上のエラーが発生しました。 ---> System.InvalidOperationException: Duplicate field-number detected; 6 on: CodeiumVS.Packets.GetChatMessageRequest
場所 ProtoBuf.Internal.Serializers.TypeSerializer1.Init(Int32[] fieldNumbers, IRuntimeProtoSerializerNode[] serializers, MethodInfo[] baseCtorCallbacks, Boolean isRootType, Boolean useConstructor, Boolean assertKnownType, CallbackSet callbacks, Type constructType, MethodInfo factory, SerializerFeatures features) 場所 /_/src/protobuf-net/Internal/Serializers/TypeSerializer.cs:行 222 場所 ProtoBuf.Internal.Serializers.TypeSerializer.Create(Type forType, Int32[] fieldNumbers, IRuntimeProtoSerializerNode[] serializers, MethodInfo[] baseCtorCallbacks, Boolean isRootType, Boolean useConstructor, Boolean assertKnownType, CallbackSet callbacks, Type constructType, MethodInfo factory, Type rootType, SerializerFeatures features) 場所 /_/src/protobuf-net/Internal/Serializers/TypeSerializer.cs:行 22 場所 ProtoBuf.Meta.MetaType.BuildSerializer() 場所 /_/src/protobuf-net/Meta/MetaType.cs:行 619 場所 ProtoBuf.Meta.MetaType.get_Serializer() 場所 /_/src/protobuf-net/Meta/MetaType.cs:行 460 場所 ProtoBuf.Meta.RuntimeTypeModel.<GetServicesSlow>g__GetServicesImpl|88_0(RuntimeTypeModel model, Type type, CompatibilityLevel ambient) 場所 /_/src/protobuf-net/Meta/RuntimeTypeModel.cs:行 1033 場所 ProtoBuf.Meta.RuntimeTypeModel.GetServicesSlow(Type type, CompatibilityLevel ambient) 場所 /_/src/protobuf-net/Meta/RuntimeTypeModel.cs:行 999 場所 ProtoBuf.Meta.RuntimeTypeModel.GetServices[T](CompatibilityLevel ambient) 場所 /_/src/protobuf-net/Meta/RuntimeTypeModel.cs:行 975 場所 ProtoBuf.Meta.RuntimeTypeModel.GetSerializerCore[T](CompatibilityLevel ambient) 場所 /_/src/protobuf-net/Meta/RuntimeTypeModel.cs:行 965 場所 ProtoBuf.Meta.TypeModel.GetSerializer[T](TypeModel model, CompatibilityLevel ambient) 場所 /_/src/protobuf-net.Core/Meta/TypeModel.cs:行 1439 場所 ProtoBuf.ProtoWriter.WriteMessage[T](State& state, T value, ISerializer1 serializer, PrefixStyle style, Boolean recursionCheck) 場所 //src/protobuf-net.Core/ProtoWriter.cs:行 263
場所 ProtoBuf.ProtoWriter.State.WriteMessage[T](Int32 fieldNumber, SerializerFeatures features, T value, ISerializer1 serializer) 場所 /_/src/protobuf-net.Core/ProtoWriter.State.WriteMethods.cs:行 350 場所 proto_1(State& , WebServerRequest ) 場所 ProtoBuf.ProtoWriter.State.SerializeRoot[T](T value, ISerializer1 serializer) 場所 /
/src/protobuf-net.Core/ProtoWriter.State.WriteMethods.cs:行 639
場所 ProtoBuf.Serializer.Serialize[T](Stream destination, T instance, Object userState) 場所 //src/protobuf-net/Serializer.Serialize.cs:行 33
場所 CodeiumVS.WebChatServer.Send(WebServerRequest request, WebSocket ws) 場所 C:\Users\saransh\Desktop\CodeiumVisualStudio\CodeiumVS\LanguageServer\LanguageServerController.cs:行 365
場所 CodeiumVS.LanguageServerController.d__13.MoveNext() 場所 C:\Users\saransh\Desktop\CodeiumVisualStudio\CodeiumVS\LanguageServer\LanguageServerController.cs:行 314
--- 直前に例外がスローされた場所からのスタック トレースの終わり ---
場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
場所 CodeiumVS.QuickInfo.CodeiumAsyncQuickInfoSource.<>c__DisplayClass5_0.<b__1>d.MoveNext() 場所 C:\Users\saransh\Desktop\CodeiumVisualStudio\CodeiumVS\QuickInfo\QuickInfoSource.cs:行 112
--- 内部例外スタック トレースの終わり ---
---> (内部例外 #0) System.InvalidOperationException: Duplicate field-number detected; 6 on: CodeiumVS.Packets.GetChatMessageRequest
場所 ProtoBuf.Internal.Serializers.TypeSerializer`1.Init(Int32[] fieldNumbers, IRuntimeProtoSerializerNode[] serializers, MethodInfo[] baseCtorCallbacks, Boolean isRootType, Boolean useConstructor, Boolean assertKnownType, CallbackSet callbacks, Type constructType, MethodInfo factory, SerializerFeatures features) 場所 /
/src/protobuf-net/Internal/Serializers/TypeSerializer.cs:行 222
場所 ProtoBuf.Internal.Serializers.TypeSerializer.Create(Type forType, Int32[] fieldNumbers, IRuntimeProtoSerializerNode[] serializers, MethodInfo[] baseCtorCallbacks, Boolean isRootType, Boolean useConstructor, Boolean assertKnownType, CallbackSet callbacks, Type constructType, MethodInfo factory, Type rootType, SerializerFeatures features) 場所 //src/protobuf-net/Internal/Serializers/TypeSerializer.cs:行 22
場所 ProtoBuf.Meta.MetaType.BuildSerializer() 場所 /
/src/protobuf-net/Meta/MetaType.cs:行 619
場所 ProtoBuf.Meta.MetaType.get_Serializer() 場所 //src/protobuf-net/Meta/MetaType.cs:行 460
場所 ProtoBuf.Meta.RuntimeTypeModel.g__GetServicesImpl|88_0(RuntimeTypeModel model, Type type, CompatibilityLevel ambient) 場所 /
/src/protobuf-net/Meta/RuntimeTypeModel.cs:行 1033
場所 ProtoBuf.Meta.RuntimeTypeModel.GetServicesSlow(Type type, CompatibilityLevel ambient) 場所 //src/protobuf-net/Meta/RuntimeTypeModel.cs:行 999
場所 ProtoBuf.Meta.RuntimeTypeModel.GetServices[T](CompatibilityLevel ambient) 場所 /
/src/protobuf-net/Meta/RuntimeTypeModel.cs:行 975
場所 ProtoBuf.Meta.RuntimeTypeModel.GetSerializerCore[T](CompatibilityLevel

@TomeSq
Copy link
Author

TomeSq commented Sep 18, 2024

Duplicates the following issue
#119

@TomeSq TomeSq closed this as completed Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant