Skip to content

System.Runtime.CompilerServices.Unsafe #7222

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

Closed
kanwardeepsimsaw opened this issue Feb 1, 2023 · 1 comment
Closed

System.Runtime.CompilerServices.Unsafe #7222

kanwardeepsimsaw opened this issue Feb 1, 2023 · 1 comment
Labels
7.x Relates to a 7.x client version

Comments

@kanwardeepsimsaw
Copy link

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'PerTypeValues1' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at System.SpanHelpers.PerTypeValues1.MeasureArrayAdjustment()
at System.SpanHelpers.PerTypeValues1..cctor() --- End of inner exception stack trace --- at System.SpanHelpers.IsReferenceOrContainsReferences[T]() at Elasticsearch.Net.Extensions.NameValueCollectionExtensions.ToQueryString(NameValueCollection nv) at Elasticsearch.Net.RequestData.CreatePathWithQueryStrings(String path, IConnectionConfigurationValues global, IRequestParameters request) at Elasticsearch.Net.RequestData..ctor(HttpMethod method, String path, PostData data, IConnectionConfigurationValues global, IRequestParameters local, IMemoryStreamFactory memoryStreamFactory) at Elasticsearch.Net.RequestPipeline.CreateRootPathRequestData(Node node) at Elasticsearch.Net.RequestPipeline.ProductCheck(Node node) at Elasticsearch.Net.RequestPipeline.FirstPoolUsage(SemaphoreSlim semaphore) at Elasticsearch.Net.Transport1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)
at Elasticsearch.Net.ElasticLowLevelClient.DoRequest[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)
at Nest.ElasticClient.DoRequest[TRequest,TResponse](TRequest p, IRequestParameters parameters, Action2 forceConfiguration) at Nest.Specification.IndicesApi.IndicesNamespace.GetAlias(Indices index, Func2 selector)
at Nest.IndicesPointingToAliasExtensions.GetIndicesPointingToAlias(IElasticClient client, Names alias)
at ThirdPartyServiceClients.ElasticSearchService.ElasticSearchApi..ctor()
at Mercury.UserControls.ElasticSearchProductCatalogSearchControl..ctor()
at Mercury.ProductCatalogSearchForm.BindElasticSearchControl(Int32 supplyChainNodeID)
at Mercury.ProductCatalogSearchForm.SetDataBinding(Int32 supplyChainNodeID)
at Mercury.ProductCatalogSearchForm..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
at Mercury.Navigate.DynamicNavigate(String formClassName, String nameValParms)
at Mercury.LeftNavTree.NavNodeData.Invoke()
at Mercury.NavControl.navBar_GroupClick(Object sender, GroupEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnGroupClick(GroupEventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.FireEvent(UltraExplorerBarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup.DoHeaderClick()
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.OnClick()
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@kanwardeepsimsaw kanwardeepsimsaw added the 7.x Relates to a 7.x client version label Feb 1, 2023
@stevejgordon
Copy link
Contributor

Duplicate of #5939

@stevejgordon stevejgordon marked this as a duplicate of #5939 Feb 3, 2023
@stevejgordon stevejgordon closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.x Relates to a 7.x client version
Projects
None yet
Development

No branches or pull requests

2 participants