SpecFlowOSS / SpecFlow.Rider

SpecFlow support for both ReSharper and Rider
MIT License
30 stars 19 forks source link

Rider 2024.2 exceptions #223

Open ArtManyak opened 4 days ago

ArtManyak commented 4 days ago

In Rider we have a lot of exceptions like that: JetBrains Rider 2024.2 Build RD-242.15523.27 Date 2024-06-08T07:26:00.000+0000

--- EXCEPTION #1/1 [LoggerException] Message = \“ReSharperPlugin.SpecflowRiderPlugin.Psi.GherkinLanguageService should be Demand cause of NoInitializationStrategy based container” ExceptionPath = Root ClassName = JetBrains.Util.LoggerException HResult = COR_E_APPLICATION=80131600

StackTraceString = “
  at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in Log.il:line IL_0003 mvid 8866
     at JetBrains.Diagnostics.LogEx.Error(ILog this, String message) in Error.il:line IL_0000 mvid A5E3
     at JetBrains.Util.Logging.Logger.LogError(String message) in LogError.il:line IL_0000 mvid 8866
     at JetBrains.Util.Logging.Logger.Fail(String messageText) in Fail.il:line IL_0000 mvid 8866 or Fail.il:line IL_001A mvid 8866
     at JetBrains.Util.Logging.Logger.Fail(String format, Object[] args) in Fail.il:line IL_0000 mvid 8866 or Fail.il:line IL_001A mvid 8866
     at JetBrains.Util.Logging.Logger.Assert(Boolean condition, String format, Object[] args) in Assert.il:line IL_0003 mvid 8866
     at JetBrains.Application.Components.NoInitializationStrategy.AssertDescriptorsInstantiation(IEnumerable`1 descriptors) in AssertDescriptorsInstantiation.il:line IL_0010 mvid 3C91
     at JetBrains.Application.Components.NoInitializationStrategy.JetBrains.Application.Components.IInitializationStrategy.Schedule(Lifetime lifetime, ICollection`1 descriptors, String containedId, IComponentContainer container)
     at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors) in ComposeDescriptors.il:line IL_004E mvid 3C91
     at JetBrains.Application.Components.ComponentStorage.Compose() in Compose.il:line IL_00C9 mvid 3C91
     at JetBrains.Application.Components.ComponentContainer.Compose() in Compose.il:line IL_0000 mvid 3C91
     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.InitializeDefinition(Lifetime lifetime, TDefinition definition, IPartCatalogSet catalogSet, IComponentContainer parentContainer) in InitializeDefinition.il:line IL_0075 mvid 3C91
     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.<>c__DisplayClass4_2.<.ctor>b__2() in SplittedComponentContainer.il:line IL_0035 mvid 3C91
     at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) in ViaFactory.il:line IL_001C mvid DE3E
     at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) in ExecutionAndPublication.il:line IL_0022 mvid DE3E
     at System.Lazy`1.CreateValue() in CreateValue.il:line IL_0074 mvid DE3E
     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.WarmUpAsync(Lifetime lifetime, IContainerThreading threading, IPartCatalogSet catalogSet) in WarmUpAsync.il:line IL_00CE mvid 3C91
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in ExecutionContextCallback.il:line IL_0000 mvid DE3E
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0040 mvid DE3E
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in MoveNext.il:line IL_0000 mvid DE3E or MoveNext.il:line IL_0040 mvid DE3E
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in MoveNext.il:line IL_0000 mvid DE3E or MoveNext.il:line IL_0040 mvid DE3E
     at JetBrains.Util.Concurrency.Threading.Tasks.SchedulerAwaiter.<>c__DisplayClass11_0.<OnCompleted>b__0(Object _) in SchedulerAwaiter.il:line IL_0000 mvid 8866
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0040 mvid DE3E
     at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in ExecuteWithThreadLocal.il:line IL_0096 mvid DE3E
     at System.Threading.Tasks.Task.ExecuteEntry() in ExecuteEntry.il:line IL_0036 mvid DE3E
     at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task) in ExecuteTask.il:line IL_0014 mvid 8866
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in EnqueueNextTask.il:line IL_0015 mvid 8866
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in ThreadPoolProc.il:line IL_0197 mvid 8866
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.StartProc() in StartProc.il:line IL_0000 mvid 8866
Socolin commented 4 days ago

The plugin is not compatible with 2024.2 yet

Socolin commented 4 days ago

Ho, and you'll need to move to Reqnroll too, I cannot update this plugin anymore https://github.com/SpecFlowOSS/SpecFlow.Rider/issues/214